This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

MinFilter

MinFilter[image, r]
filters image by replacing every value by the minimum in its range r neighborhood.
MinFilter[data, r]
applies min filtering to an array of data.
  • MinFilter[image, r] finds the minimum in (2r+1)×(2r+1) blocks centered on each pixel.
  • At the edges of an image, MinFilter uses smaller neighborhoods.
  • MinFilter[image, {r1, r2}] uses neighborhoods with vertical range r1 and horizontal range r2.
  • For multichannel images, MinFilter[image, ...] replaces each pixel by a pixel in its neighborhood that has the minimum total intensity, averaged over all channels.
  • In MinFilter[data, ...], data can be an array of any rank.
Use a minimum filter to dilate the darker parts of a color image:
Use minimum filtering to erode thinner objects:
Minimum filter of a vector:
Use a minimum filter to dilate the darker parts of a color image:
In[1]:=
Click for copyable input
Out[1]=
 
Use minimum filtering to erode thinner objects:
In[1]:=
Click for copyable input
Out[1]=
 
Minimum filter of a vector:
In[1]:=
Click for copyable input
Out[1]=
New in 7