/image-correction

processing pgm images using convolution product

Primary LanguageC

Image correction

A program that applies custom kernels to a PGM image as an input file for correction or applying filters. The output image will be in the same format. Only P2 format is supported.

Build

This project uses CMake build tool. See how to build using CMake.

Usage

  • Place the file to process under images/, name it sample.pgm (or change the default name and/or path in main.c)
  • The output images will be placed under [your build folder]/output/, you can change it in savePGMImage under pgm.c.