LinuxCommandLibrary

pnmnlfilt

Apply non-linear smoothing filters to images

TLDR

Apply non-linear filter

$ pnmnlfilt [0.5] [0.5] [input.pnm] > [output.pnm]
copy

SYNOPSIS

pnmnlfilt alpha radius [file]

DESCRIPTION

pnmnlfilt applies non-linear filters to PNM images for noise reduction while preserving edges. The filter type is controlled by the alpha parameter: values near 0 produce an alpha-trimmed mean filter (noise reduction), values near 0.5 produce an optimal estimation filter, and values near 1 produce an edge enhancement filter.
The radius parameter controls the filter's spatial extent. Larger radii produce stronger smoothing but may blur fine details. This tool is useful for removing noise without destroying sharp edges, unlike simple convolution filters. Part of the Netpbm toolkit.

PARAMETERS

alpha

Filter type selector (0-1).
radius
Filter radius.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community