COMP 1671 , Fall 2009

Assignment 3

Due October 15, 2009

The assignment has two parts. In part 1 you are to create a set of image filters. Each filter should be a function that has an input paramter holding the image you want modified and each should return a modified image. The filter functions may take additional parameters. At least one of the filters must have at least one additional parameter. You should create 4 or more filter functions. Your program should load the original image and display it. Then, every time you click the mouse in the processing window, the next image filter should be called and the result displayed. The filters should be called cyclily. For example, say you have 4 filters. When you click the first time filter1 is called. The second time: filter2 is called. Third time: filter3. Fourth time filter4. Fifth time: filter 1. Sixth: filter2, and so on.

In part 2 you are two write two or more functions that manipulate two or more images to make mosaics. Again, clicking on the images should result in changes.

Both of these parts are rather open-ended, but you should so something more than just change colors. Consider a blender filter, or a spiral filter, a cut-n-shlash filter, or a blur filter, etc. Be creative and have fun.