MinFilter

MinFilter[data,r]

filters data by replacing every value by the minimum value in its range-r neighborhood.

MinFilter[data,{r1,r2,}]

uses ri for filtering the ^(th)dimension in data.

Details

  • MinFilter is a nonlinear filter commonly used to locally smooth data and diminish salt-like noise, where the amount of smoothing is dependent on the value of r.
  • The function applied to each range-r neighborhood is Min.
  • The data can be any of the following:
  • listarbitrary-rank numerical array
    tseriestemporal data such as TimeSeries, TemporalData,
    imagearbitrary Image or Image3D object
    audioan Audio object
  • For multichannel images and audio signals, MinFilter operates separately on each channel.
  • MinFilter[data,{r1,r2,}] computes the minimum value in blocks centered on each sample.
  • MinFilter assumes the index coordinate system for lists and images.
  • At the data boundaries, MinFilter uses smaller neighborhoods.

Examples

open allclose all

Basic Examples  (3)

Minimum filter of a list:

In[1]:=
Click for copyable input
Out[1]=

Filter a TimeSeries:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Minimum filtering of a color image:

In[1]:=
Click for copyable input
Out[1]=

Scope  (12)

Applications  (3)

Properties & Relations  (2)

See Also

Min  MaxFilter  MeanFilter  MedianFilter  Erosion  RangeFilter  ImageFilter

Tutorials

Introduced in 2008
(7.0)
| Updated in 2015
(10.2)