You will need to download the following source files.
image.h
image.cc
Makefile
lab10-part1-skeleton.cc - Skeleton code for part 1.
lab10-part2-skeleton.cc - Skeleton code for part 2.
lab10-part4-skeleton.cc - Skeleton code for part 4.
lab10-bitplanes.cc - Code to perform bitplane decomposition.
You will need the following image files.
Use the following instructions to get started.
lab10-part1-skeleton.cc, naming it lab10-part1.cc.
lab10-part2-skeleton.cc, naming it lab10-part2.cc.
lab10-part4-skeleton.cc, naming it lab10-part4.cc.
To compile the parts of this lab, type one of
gmake lab10-part1
gmake lab10-part2
gmake lab10-part4
To run the parts of this lab, type one of
./lab10-part1 input.png histogram.txt
./lab10-part2 input.png histogram.txt
./lab10-part4 input.png histogram.txt