Exercise 3: Image Pyramids


 

Due date: 8/12/02 

 

Submission: In Pairs


General Instructions

·         The programs should be written in MATLAB.
You can make use of any function in MATLAB.

·         Hand in a typed report which includes

o        a short theoretical description of the methods used.

o        a short discussion of the results.

o        The program code. Note that the code must be vectorized (i.e., using a minumum number of loops using built in matrix operators and functions) and properly documented.

o        Printed results (Try to print the images on as few pages as you can, using the subplot function)

·         Submit the exercise in class by the due date.

·         If you have questions or comments, send mail to Tal or Eli.



In this exercise, you are required to build the 5-level image pyramids of the pictures below.

1.      Read the article by Burt and Adelson, 1983, in pdf format.

2.      Write a program in MATLAB that displays:

a.       the Gaussian pyramid for the color images.

b.      the Laplacian pyramid for black & white images (stretch the image intensities for display purposes)

c.       the absolute value of the laplacian pyramid for black & white images (stretch the image intensities also)
 

Notes:

·         the gaussian filter is separable, hence it can be applied by 2 consecutive convolutions of the image with a 1D filter.

·         for the convolution, you may use the FILTER2 or CONV2 MATLAB function.

·         for color images, apply the pyramid construction to each band separately (R, G and B) and combine the 3 pyramid color bands to generate a single color display.

·         display the each pyramid in the following way (placing at least two pyramids in each page):

 

The images: (you can download the image files in one zip here, 354KB)