20105ee211A_1_ComputerAssignment4

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

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

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

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 04/18/2011 for the course EE 211A taught by Professor Villasenor during the Fall '10 term at UCLA.

### 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
Ask a homework question - tutors are online