Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Data Manipulation > Image Processing & Analysis > Image Filtering & Neighborhood Processing > MeanFilter >

MeanFilter

MeanFilter
filters image by replacing every value by the mean value in its range r neighborhood.
MeanFilter
applies mean filtering to an array of data.
  • MeanFilter works with arbitrary grayscale and multichannel images, as well as numerical arrays.
  • MeanFilter operates separately on each channel in an image.
  • MeanFilter computes the mean value in × blocks centered on each pixel.
  • At the edges of an image, MeanFilter uses smaller neighborhoods.
  • MeanFilter uses neighborhoods with vertical range and horizontal range .
  • In MeanFilter, data can be an array of any rank, and can contain symbolic as well as numerical entries.
Mean filtering of a color photo:
Denoise an ultrasound image with mean filtering:
Mean filter of a vector:
Mean filtering of a color photo:
In[1]:=
Click for copyable input
Out[1]=
 
Denoise an ultrasound image with mean filtering:
In[1]:=
Click for copyable input
Out[1]=
 
Mean filter of a vector:
In[1]:=
Click for copyable input
Out[1]=
Mean filter of a symbolic vector:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF