4_ComputerAssignment4

4_ComputerAssignment4 - EE 211A Fall Quarter, 2011...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1 EE 211A Digital Image Processing I Fall Quarter, 2011 Handout 22 Instructor: John Villasenor Computer Assignment 4 Image Coding/Compression Due: Thursday, December 1, 2011 I DCT-based Zonal Compression Write a program that takes the 8 by 8 DCT of all blocks in a 256 by 256 image. In other words, consider the image as consisting of 32 by 32 blocks, each of size 8 by 8, with each 8 by 8 block then subject to a 2D DCT. (1a) Implement zonal compression on the image F15.gray by setting to zero in the transform domain all coefficients in each transformed block having or . In other words, you should retain all the DCT coefficients in a square window of size . For each 8 by 8 transformed block , this gives you a new array satisfying Examine the image and note the normalized mean square error (NMSE) values for 1, 2, and 4. (1b) Find the variance for each of the 64 DCT coefficients for this image. Since you have a total of 32 × 32 = 1024 blocks the resulting variance matrix should exhibit a smooth falloff from DC to high frequencies. II
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/27/2011 for the course EE211A 211A taught by Professor Villasenor during the Fall '11 term at UCLA.

Page1 / 2

4_ComputerAssignment4 - EE 211A Fall Quarter, 2011...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online