BUILT-IN MATHEMATICA SYMBOL

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.

DetailsDetails

• MinFilter[image, r] finds the minimum in × blocks centered on each pixel.
• At the edges of an image, MinFilter uses smaller neighborhoods.
• MinFilter works with 3D as well as 2D images, and also with data arrays of any rank.
• MinFilter[image, {rrow, rcol}] uses range in height, and in width.
• MinFilter[image, {rslice, rrow, rcol}] uses range in height, in depth, and in width.
• For multichannel images, MinFilter[image, ...] replaces each pixel by a pixel in its neighborhood that has the minimum total intensity, averaged over all channels.

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

Use a minimum filter to dilate the darker parts of a color image:

 Out[1]=

Use minimum filtering to erode thinner objects:

 Out[1]=

Minimum filter of a vector:

 Out[1]=