Median Filter

The Median filter is used to remove noise from an image by replacing pixels with the middle pixel value selected from a certain window size.

For example, given the grayscale 3x3 pixel window;

22 77 48
150 77 158
0 77 219

Pixels sorted based on intensity: 0, 22, 48, 77, [77], 77, 150, 158, 219

The center pixel would be left at 77 since 77 is the middle value of the sorted list of pixels.

The median filter is very effective at removing noise while not destroying sharp edges in an image.



1. Select the window size of the median filter



See Also

Mean Filter
Mode Filter

 New Post 

Median Related Forum PostsLast postPostsViews