pnmhisteq
Histogram-equalize a PNM image. tldr-pages
On several platforms
Several platforms
Increase the contrast of a PNM image using histogram equalization
pnmhisteq path/to/input.pnm >path/to/output.pnmIdentifyOnly modify grey pixels
pnmhisteq -grey path/to/input.pnm >path/to/output.pnmIdentifyDo not include black or white pixels in the histogram equalization
pnmhisteq -noblack path/to/input.pnm >path/to/output.pnmIdentify