Jethro Moller
30 April 2018
- Navigate to the project root directory
basic-image-processing. - Run
maketo build the executable,imageopsin thebindirectory. - Run
make run ARGS="<options> <output_file_name>"to runimageopswith the given input and output names.
NB: These files should be in theassetsdirectory, and the resulting output will be in thesaved_pgmsdirectory. - 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 cleanto delete any artifacts created when compiling & running the compression program.
- Navigate to the project root directory
basic-image-processing. - Run
make testto build and run the executable,testin thebuild/Testsdirectory. - Run
make cleanto 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.