20105ee211A_1_ComputerAssignment4

20105ee211A_1_ComputerAssignment4 - EE 211A Fall Quarter,...

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, 2010 Handout 22 Instructor: John Villasenor Computer Assignment 4 Image Coding/Compression Due: Thursday, 2 December 2010 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 ( , ) v k l having k T or l T . In other words, you should retain all the DCT coefficients in a square window of size T T × . For each 8 by 8 transformed block ( , ) v k l , this gives you a new array '( , ) v k l satisfying ( , ), 0 1 and 0 1 '( , ) 0, otherwise v k l k T l T v k l - ≤ ≤ - = Examine the image and note the normalized mean square error (NMSE) values for T = 1, 2, and 4. (1b) Find the variance for each of the 64 DCT coefficients for this image. Since you
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.

Page1 / 2

20105ee211A_1_ComputerAssignment4 - EE 211A Fall Quarter,...

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