This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# MedianFilter

 MedianFilterfilters image by replacing every value by the median in its range r neighborhood. MedianFilterapplies median filtering to an array of data.
• MedianFilter finds the median in × blocks centered on each pixel.
• At the edges of an image, MedianFilter uses smaller neighborhoods.
• MedianFilter uses neighborhoods with vertical range and horizontal range .
• For multichannel images, MedianFilter replaces each pixel by a pixel in its neighborhood that has the median total intensity, averaged over all channels.
Use a median filter to remove smaller stars from an astronomical image:
Blur an image using median filtering:
Remove noise from an ultrasound image:
Median filter of a vector:
Use a median filter to remove smaller stars from an astronomical image:
 Out[1]=

Blur an image using median filtering:
 Out[1]=

Remove noise from an ultrasound image:
 Out[1]=

Median filter of a vector:
 Out[1]=
 Applications   (1)
Smoothen the background while preserving edge features:
Find the root median of an image:
New in 7