Dylan Fried dfried CSCI1430 Project 1 26 September 2011 Readme All of the matlab code lives in the code/ directory, the source files for the produced images are in the data/ directory, the web site is located in the html/ directory, the index file of the website is located at html/index.html and all of the output images are located in the html/images directory. The main code file is proj1.m, within which the images to combine, the number of levels to the pyramids, and the cutoff frequency are set. The main portion of my implementation resides in pyramids.m and hybridImage.m. pyramids.m is the function that takes as input an image and the number of levels to the pyramid and outputs both a gaussian and laplacian pyramid. It does this by applying a gaussian blur and subtracting this from the previous image to get the next element of the laplacian pyramid, and then downsampling the blurred image by a factor of 2 to get the next element of the gaussian pyramid. In constructing the laplacian pyramid, we add an extra level at the end that is the residuals, or last level of the gaussian pyramid, to make sure that we get all the lower frequencies. hybridImage.m is the function that takes the laplacian and gaussian pyramids of the two images and the cutoff frequencies and returns the hybrid image. It does this by taking the first N levels of the laplacian pyramid of one image (the second image) and the levels from N+1 to the last level of the laplacian pyramid of the other image (the first image) and adds them together.