This repository contains code for Image Processing using C. Images are edited using simple matrix transformations. Inputs can be in .jpeg or .ppm formats, others have not been tested.
Requires ImageMagick installed
sudo apt install imagemagick-6.q16
make build - Compile the code.
make test_n - Setting the nth test image as input to program.
make prepare - Read input and output filenames from user.
make run_xyz - Run the transformations numbered x, y, z in succession.
- Greyscale
- Colour Inversion
- Change Saturation
eg: make run_12 will greyscale first and then colour inversion.
make run_interactive - Run the program in interactive mode.
make reset - To unset the input and output filenames
make clean - Cleanup the environment.