1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:22:07 +02:00
tldr/pages/common/pnmnlfilt.md
Juri Dispan 95e6753d3e
pnmmargin, pnmmontage, pnmnlfilt, pnmnorm, pnmpad, pnmpaste: add pages (#12187)
* pnmmargin, pnmmontage, pnmnlfilt, pnmnorm, pnmpad, pnmpaste: add pages

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-02-09 19:23:54 +05:30

704 B

pnmnlfilt

Apply a non-linear filter onto a PNM image. More information: https://netpbm.sourceforge.net/doc/pnmnlfilt.html.

  • Apply the "alpha trimmed mean" filter with the specified alpha and radius values onto the PNM image:

pnmnlfilt {{0.0..0.5}} {{radius}} {{path/to/image.pnm}} > {{path/to/output.pnm}}

  • Apply the "optimal estimation smoothing" filter with the specified noise threshold and radius onto the PNM image:

pnmnlfilt {{1.0..2.0}} {{radius}} {{path/to/image.pnm}} > {{path/to/output.pnm}}

  • Apply the "edge enhancement" filter with the specified alpha and radius onto the PNM image:

pnmnlfilt {{-0.9..(-0.1)}} {{radius}} {{path/to/image.pnm}} > {{path/to/output.pnm}}