2024-02-06 16:43:21 +01:00
|
|
|
# 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:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pnmhistmap {{[-d|-dots]}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`
|
2024-02-06 16:43:21 +01:00
|
|
|
|
|
|
|
- Specify the range of intensity values to include:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pnmhistmap {{[-l|-lval]}} {{minval}} {{[-rv|-rval]}} {{maxval}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`
|