Skip to content

Non Linear Smoothing Spatial Filter

Jeet edited this page Jul 29, 2022 · 1 revision

Command Line

Original image:

Original Image

Median order:

$loomis -command nonlinear_smooth_spatial -i testdata/green-bee-eater-grayscale.jpg

Only the median order mask and window size 5 is supported by the command line at the moment

Median order

Max order:

Max order:

Min order:

Min order:

Library Usage

newImage := pkg.NonlinearSmoothingSpatialFilter(image, 5, pkg.MedianOrder)

image is of type image.Image
second argument is a window size.
third argument is a mask with 'order' algorithms like Median, MinOrder, MaxOrder

Clone this wiki locally