snippetbashTip
pnmhistmap — Draw a histogram of a PNM image. More information: <https://netpbm.sourceforge.net/doc/pnmhistmap.ht
Viewed 0 times
commandclidrawimagehistogrammorepnmpnmhistmap
Problem
How to use the
pnmhistmap command: Draw a histogram of a PNM image. More information: <https://netpbm.sourceforge.net/doc/pnmhistmap.html>.Solution
pnmhistmap — Draw a histogram of a PNM image. More information: <https://netpbm.sourceforge.net/doc/pnmhistmap.html>.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}}Code Snippets
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}}Context
tldr-pages: common/pnmhistmap
Revisions (0)
No revisions yet.