mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* pnmhisteq, pnmhistmap, pnmindex, pnminvert: add pages * Update pages/common/pnmindex.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
16 lines
494 B
Markdown
16 lines
494 B
Markdown
# pnmhisteq
|
|
|
|
> Histogram-equalize a PNM image.
|
|
> More information: <https://netpbm.sourceforge.net/doc/pnmhisteq.html>.
|
|
|
|
- Increase the contrast of a PNM image using histogram equalization:
|
|
|
|
`pnmhisteq {{path/to/input.pnm}} > {{path/to/output.pnm}}`
|
|
|
|
- Only modify grey pixels:
|
|
|
|
`pnmhisteq -grey {{path/to/input.pnm}} > {{path/to/output.pnm}}`
|
|
|
|
- Do not include black or white pixels in the histogram equalization:
|
|
|
|
`pnmhisteq -no{{black|white}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`
|