Jethro Moller
30 April 2018
- Navigate to the project root directory
basic-image-processing
. - Run
make
to build the executable,imageops
in thebin
directory. - Run
make run ARGS="<options> <output_file_name>"
to runimageops
with the given input and output names.
NB: These files should be in theassets
directory, and the resulting output will be in thesaved_pgms
directory. - Alternatively, the executable binary can be found in the bin folder and executed from the terminal using imageops <output_file_name>, or bin/imageops <output_file_name> from the root directory.
- Run
make clean
to delete any artifacts created when compiling & running the compression program.
- Navigate to the project root directory
basic-image-processing
. - Run
make test
to build and run the executable,test
in thebuild/Tests
directory. - Run
make clean
to delete any artifacts created when running the tests.
-g is used to invoke the filter operation. eg: bin/imageops MyImage.pgm MyFilter.fir MyOutput.pgm
The filter is assumed to be found in assets/sample_filters
The filter function doesn't work but please still try to award marks for code logic and test cases.