MeanFilter

MeanFilter[image,r]
filters image by replacing every value by the mean value in its range-r neighborhood.

MeanFilter[data,r]
applies mean filtering to an array of data.

DetailsDetails

  • MeanFilter works with arbitrary 2D and 3D images, operating separately on each channel, as well as data arrays of any rank.
  • MeanFilter[image,r] computes the mean value in blocks centered on each pixel.
  • At the edges of an image, MeanFilter uses smaller neighborhoods.
  • MeanFilter[image,{rrow,rcol}] uses range in height, and in width.
  • MeanFilter[image,{rslice,rrow,rcol}] uses range in height, in depth, and in width.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Mean filter of a list:

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

Mean filtering of a 2D image:

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

Mean filtering of a 3D volume:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2008
(7.0)
| Updated in 2014
(10.0)
Translate this page: