Computer Graphics, Fall 2001

Z Sweedyk


Assignment 1: Image Processing

Due: 9/30/2001 at 11:59PM.

Overview

This assignment is adopted, with some minor modifications, from COS426 at Princeton as taught by Tom Funkhouser. In this assignment you will create a simple image processing program. The operations that you implement will be mostly filters which take an input image, process the image, and produce an output image.

Getting Started

You should use the code available at /cs/cs155/proj1/src on the graphics machines as a starting point for your assignment. We provide you with several files, but you should only change ip.cpp and ip.h .

After you copy the provided files to your directory, the first thing to do is compile the program. An executable called ip will be created. Run the executable. Right click in the display window to view menu options. At this point only the Load and Save functions are implemented. Load an image file in ppm format. (You can convert many image formats to ppm using the program xv.)

What You Have to Do

The assignment is worth 20 points. The following is a list of features that you may implement. The number in front of the feature corresponds to how many points the feature is worth. The features in bold face are required. The other ones are optional.  Refer to this web page for more details on the implementation of each filter and example output images. For any feature that involves resampling (i.e., scale, rotate, "fun," and morph), you have to provide three sampling methods: point sampling, bilinear sampling, and Gaussian sampling.

By implementing all the required features, you get 12 points. There are many ways to get more points:

For images or movies that you submit, you also have to submit the sequence of commands used to created them, otherwise they will not be considered valid.

It is possible to get more than 20 points. However, after 20 points, each point is divided by two, and after 22 points, each point is divided by four.

What to Submit

You should submit: The writeup should be a HTML document called assignment1.html which may include other documents or pictures. It should be brief, describing what you have implemented, what works and what doesn't, how you created the composite image, how you created the art contest images, and instructions on how to run the fun filters you have implemented.

Make sure the source code compiles in the graphics machines. If it doesn't, you will have to attend to a grading session with a TA, and your grade will suffer.

Policies

Hints

Announcements


Last Update: 9/17/01