Digital Image Processing

Course Nos. ECE.09.452 and ECE.09.552

Laboratory Project 4: Digital Image Compression


Objective

The objective of this project is to study the use of the Discrete Fourier Transform (DFT), Discrete Cosine Transform (DCT) and the Karhunen-Loeve Transform (KLT) as tools for performing image compression. This project has three parts.

For this project, download the Mandrill (Baboon) image from the USC- SIPI Image Database, which you will use as the standard image to test your algorithms.

Note: In all of the image compression studies that you will perform, you must provide pictures of (a) the reconstructed image and (b) the squared error image. At the top of each page, also provide a picture of the original image, in order to facilitate comparison.

Part 1

In this part, you will compare the image compression capabilities of the three image transforms indicated earlier.

Hint 1: Use the blkproc function in MATLAB for computing the transform coefficients for the sub-images. Do >>help blkproc for details, or check out the MATLAB Image Processing Toolbox User's Manual.
Hint 2: You are welcome to modify and use the code given in Hotelling or Karhunen-Loeve Transform demo, for computing the KLT coefficients.

Part 2

In this part, you will investigate the effect of varying the sub-image size and type of truncation mask, while performing image compression using the Discrete Cosine Transform.

Part 3

Based on your investigations in Parts 1 and 2, implement what you decide is the "best" image compression for the given Mandrill image. What criteria (visual, mathematical, etc.) have you used to arrive at this answer? What is the compression ratio?
 

Your report should be in the usual format.


Instructor 

Schedule

Textbook 

Tutorials/Demos

Grading 

Homepage