commands.sh

pnmhistmap

all

Draw a histogram of a PNM image.

More info →

Options (3)

-dboolean

Draw the histogram as dots instead of bars

Example: pnmhistmap {{[-d|-dots]}} {{path/to/input.pnm}} > {{path/to/output.pnm}}
-lboolean

Specify the range of intensity values to include

Example: pnmhistmap {{[-l|-lval]}} {{minval}} {{[-rv|-rval]}} {{maxval}} {{path/to/input.pnm}} > {{path/to/output.pnm}}
boolean

Specify the range of intensity values to include

Example: pnmhistmap {{[-l|-lval]}} {{minval}} {{[-rv|-rval]}} {{maxval}} {{path/to/input.pnm}} > {{path/to/output.pnm}}

Examples (3)

Draw a histogram of a PNM image

pnmhistmap path/to/input.pnm > path/to/output.pnm

Draw the histogram as dots instead of bars

pnmhistmap [-d|-dots] path/to/input.pnm > path/to/output.pnm

Specify the range of intensity values to include

pnmhistmap [-l|-lval] minval [-rv|-rval] maxval path/to/input.pnm > path/to/output.pnm
made by @shridhargupta | data from tldr-pages