120 likes | 288 Views
Snapshot. Mike Huhs Sanjay Jhaveri. Project. Digital Camera User Interface Compression and Storage. Display. Live Video. Shoot Button. Capture. Camera Video. Cursor. Last Picture. Display. Capture. Click!. Camera Video. Display. Capture. Display. Capture. Live Video. Storage.
E N D
Snapshot Mike Huhs Sanjay Jhaveri
Project • Digital Camera • User Interface • Compression and Storage
Display Live Video Shoot Button Capture Camera Video Cursor Last Picture
Display Capture Click! Camera Video
Display Capture
Display Capture Live Video
Storage ZBT Ram 1 ZBT Ram 2 Click! Compression Your Picture Row, Column = Address
Block Diagram Xvga signals XVGA line, column Data, Address NTSC NTSC Decode Address YCrCb Write Control Read Control RAM A/D RGB Data YCrCb Compressed Image Controls Image RGB Convert Image Compression Control Controls User Inputs Mouse
Image Compression • 2D Discrete Cosine Transform: decomposes image into frequency components • Apply 1D transform to rows and then to columns • Separately transform 8 x 8 blocks of image • Eye acts as natural low pass filter • Only store low frequency components of image • 180 150 23 12 5 2 1 2 • 130 125 54 22 8 3 5 4 • 77 45 19 4 2 0 3 • 33 21 15 8 4 3 1 • 9 12 5 1 2 5 0 • 13 7 10 8 6 2 2 • 3 4 6 2 1 3 0 • 5 2 8 3 1 2 5 0 8 x 8 pixels 8x8 Input Matrix 8x8 Transform Matrix 1D DCT Transpose 1D DCT
Image Compression data_in From read module • ZBT Ram can store ~ 5-6 pictures DCT & Memory Control data_in valid get picture From control delete picture To read module data_out data_out valid ZBT RAM idct idct idct dct dct dct
Possible Additions • Visual effects such as zoom, rotate, and blur • Watermarked symbol that appears after processing the image