Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.26 KB

README.md

File metadata and controls

39 lines (22 loc) · 1.26 KB

PGMLib

PGMLib is a C Library for working with Pixel Gray Map Images (PGM files)

Build Status

Design Decisions

  • Used PGM Format for kernel files as well, that way the user can load and apply custom kernels via pgm files
  • Always allocate a new output pgm struct, this is so I can easily add layered filter support (think photoshop layers)
  • Flexible PGM Parser, so that we can also load double based kernels or pgm files

Examples

Edges example usage: ./edges src.pgm out.pgm

Median example usage: ./median src.pgm out.pgm filterSize

Blur example usage: ./blur src.pgm out.pgm

Sharpen example usage: ./sharpen src.pgm out.pgm

Disclaimer

Published under the MIT License.