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

16 lines
646 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.

# pnmnlfilt
> 对PNM图像应用非线性滤波器。
> 更多信息:<https://netpbm.sourceforge.net/doc/pnmnlfilt.html>。
- 对PNM图像应用带有指定alpha和半径值的“alpha修剪均值”滤波器
`pnmnlfilt {{0.0..0.5}} {{radius}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`
- 对PNM图像应用带有指定噪声阈值和半径的“最佳估计平滑”滤波器
`pnmnlfilt {{1.0..2.0}} {{radius}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`
- 对PNM图像应用带有指定alpha和半径的“边缘增强”滤波器
`pnmnlfilt {{-0.9..(-0.1)}} {{radius}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`