commands.sh

pnmhisteq

all

Histogram-equalize a PNM image.

More info →

Options (1)

-gboolean

Only 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.pnm

Only modify grey pixels

pnmhisteq [-g|-grey] path/to/input.pnm > path/to/output.pnm

Do not include black or white pixels in the histogram equalization

pnmhisteq -noblack|white path/to/input.pnm > path/to/output.pnm
made by @shridhargupta | data from tldr-pages