1 / 15

Sviluppo di una applicazione per DIOPSIS 740: “ Rotazione e Ridimensionamento di immagini ”

Sviluppo di una applicazione per DIOPSIS 740: “ Rotazione e Ridimensionamento di immagini ”. Relatore: Prof. Fabrizio Ferrandi Correlatore: Ing. Marco Domenico Santambrogio Nicolas Tagliani Stefano Viazzi. A.A. 2004/2005. Sommario. Obbiettivi:

Download Presentation

Sviluppo di una applicazione per DIOPSIS 740: “ Rotazione e Ridimensionamento di immagini ”

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sviluppo di una applicazione per DIOPSIS 740:“Rotazione e Ridimensionamento di immagini” Relatore: Prof. Fabrizio Ferrandi Correlatore: Ing. Marco Domenico Santambrogio Nicolas Tagliani Stefano Viazzi A.A. 2004/2005

  2. Sommario • Obbiettivi: • Mostrare le migliorie del Diopsis 740 rispetto alla soluzione su singolo processore; • Introduzione: • Immagini RGB; • Rotazione di un pixel; • Ridimensionamento di un’ immagine. • Architettura: • Arm e mAgic • Implementazione: • Partizionamento tra i due processori; • Verifiche e risultati • Conclusioni. Nicolas Tagliani, Stefano Viazzi

  3. Motivazioni Nicolas Tagliani, Stefano Viazzi

  4. Immagini RGB Nicolas Tagliani, Stefano Viazzi

  5. Y Q y’ α y P Ф y’ y X Rotazione in 2D Nicolas Tagliani, Stefano Viazzi

  6. x y Rotazione di immagini Nicolas Tagliani, Stefano Viazzi

  7. Pixel Ridimensionamento Nicolas Tagliani, Stefano Viazzi

  8. RESISTOR NETWORK RESISTOR NETWORK 3.3V LED GND TP11 RESISTOR NETWORK 7-SEG DISPLAY EXT PSU CONN PIO CONN USART 0 CONN USART 1 CONN LED BUFF RST BUTTON IRQ BUTTON JP8 JP9 SSRAM MAGIC DATA L 128Kx36 RST BUFF VREG 5-3.3 POW-ON RST VREG 5-1.8 DIP SWITCH RS 232 BUFF RS 232 BUFF D-9 RS232 CONN D-9 RS232 CONN M-ICE JTAG CONN FLASH ARM PRG 1Mx16 JP5 TP3 TP2 TP1 TP9 USARTs RST PIO XMA Diopsis 740 JP4 XMD[15:0] RESISTOR NETWORK ARMD TP5 JP6 XMD[55:40] SRAM ARM DATA L 128Kx8 SSRAM MAGIC DATA H 128Kx36 25 MHz OSC PLL XMD[31:16] JP7 CLKs CNTRLs ICE TP4 ARMC EXTCLK CONN JP1 XMD[71:56] ARMA SRAM ARM DATA H 128Kx8 CLK DIV XMD[39:32] JP10 JP2 TP8 ADDA SPIs XMD[79:72] JP3 TP7 SSRAM MAGIC DATA E 128Kx36 CLK DIV 6 MHz TP6 RESISTOR NETWORK RESISTOR NETWORK SPI-1 CONN ADDA BUFF JP11 USB CNTRL USB LED RESISTOR NETWORK SPI-0 CONN USB CONN CODEC CODEC CODEC CODEC TP10 GND AUDIO IN CONN AUDIO OUT CONN AUDIO IN CONN AUDIO OUT CONN AUDIO IN CONN AUDIO OUT CONN AUDIO IN CONN AUDIO OUT CONN Funzionamento Nicolas Tagliani, Stefano Viazzi

  9. Architettura Diopsis 740 Nicolas Tagliani, Stefano Viazzi

  10. L Memory R Memory 4 5 6 7 4 5 6 7 LEFT RIGHT 0 1 2 3 0 1 2 3 Mul3 Mul4 Mul2 Mul1 Conv1 Conv2 Div1 Div2 Sh/Log1 Sh/Log2 FP/I FP/I FP/I FP/I * * * * R Memory L Memory Cadd1 Cadd2 FP/I FP/I - + Min Max1 Min Max2 Add1 Add2 FP/I FP/I - - + + Architettura mAgic Nicolas Tagliani, Stefano Viazzi

  11. Diagamma di flusso ARM PARTE Carica RGB Inizializza MAGIC INIZIA Lancia mAgic Calcola le posizioni dei pixel ruotati Aspetta mAgic Inserisce i pixel nella memoria Aspetta ARM mAgic ha calcolato tutte le coordinate? n tutte le coordinate sono state processate? y n mAgic ha finito y Ridimensiona l’immagine ARM ha finito Salva RGB Nicolas Tagliani, Stefano Viazzi

  12. Gestione parallelismo CODICE ARM CODICE MAGIC Nicolas Tagliani, Stefano Viazzi

  13. Verifiche e prestazioni ARM o mAgic ? Tempi Complessivi Ciclo mAgic Nicolas Tagliani, Stefano Viazzi

  14. Conclusione e sviluppi futuri • Conclusioni: • Corretto funzionamento applicazione • Impossibilità delle rotazioni video in tempo reale • Sviluppi futuri: • Ottimizzazione codice • Trasferimento dati migliorato • Rotazione video Nicolas Tagliani, Stefano Viazzi

  15. Fine Presentazione Fine Presentazione Nicolas Tagliani, Stefano Viazzi

More Related