On assignment 2
This precept was meant to get you started on assignment 2.
Some of the stuff mentioned:
- relevant lecture notes are from lecture 3 and 4
- data structures
Img
and ImgPixel
can be
found in img.h
PIXEL_LUMINANCE
is in img.h
, useful for
the dithering and the saturation filters
- for the ordered dither, just use the matrix given in Hearn &
Baker (paragraph 4.4, page 516)
- fun filter suggestions:
- warping/displacement
- classical filters like edge detect, emboss
xv implements a number of filters, you can use it to
check the output of your filters
Patrick Min, CS Department, Princeton University
Last modified: Mon Oct 7 15:56:34 1996