You will need to download the following files.
image.h
image.cc
Makefile
lab5-dither1x1.cc - Solution to 1x1 dithering part of this lab
lab5-dither4x4-skeleton.cc - Outline for the source file for the 4x4 dithering part of this lab.
lab5-errdiff-skeleton.cc - Outline for the source file for the error diffusion part of this lab.
lab5.m - Matlab script to plot the energy of error in the frequency domain.
You will also need the following images.
ca_coast.png - the image we'll be operating onUse the following instructions to get started.
lab5-dither4x4-skeleton.cc, naming it lab5-dither4x4.cc.
lab5-errdiff-skeleton.cc, naming it lab5-errdiff.cc.
To compile the parts of this lab, type one of
gmake lab5-dither1x1
gmake lab5-dither4x4
gmake lab5-errdiff
To run the parts of this lab, type one of
./lab5-dither1x1
./lab5-dither4x4
./lab5-errdiff
Just hit "F5"