Options (1)
-gbooleanOnly modify grey pixels
Example:
pnmhisteq {{[-g|-grey]}} {{path/to/input.pnm}} > {{path/to/output.pnm}}Examples (3)
Increase the contrast of a PNM image using histogram equalization
pnmhisteq path/to/input.pnm > path/to/output.pnmOnly modify grey pixels
pnmhisteq [-g|-grey] path/to/input.pnm > path/to/output.pnmDo not include black or white pixels in the histogram equalization
pnmhisteq -noblack|white path/to/input.pnm > path/to/output.pnmmade by @shridhargupta | data from tldr-pages