Files
tldr/pages.zh/common/pnmhisteq.md

16 lines
478 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# pnmhisteq
> 对PNM图像进行直方图均衡化。
> 更多信息:<https://netpbm.sourceforge.net/doc/pnmhisteq.html>。
- 使用直方图均衡化增加PNM图像的对比度
`pnmhisteq {{path/to/input.pnm}} > {{path/to/output.pnm}}`
- 仅修改灰色像素:
`pnmhisteq -grey {{path/to/input.pnm}} > {{path/to/output.pnm}}`
- 在直方图均衡化中不包括黑色或白色像素:
`pnmhisteq -no{{black|white}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`