Mode FilterThe Mode filter is used to remove noise from an image by replacing pixels with the most frequently occurring pixel value selected from a certain window size.
For example, given the grayscale 3x3 pixel window;
Pixels based on frequency:
1 - 0
1 - 22
1 - 48
3 - 77
1 - 150
1 - 158
1 - 219
Thus the center pixel would be left at 77 since 77 is the most frequently occuring value in the list of pixels.
The mode filter (like the median filter) is very effective at removing noise while not destroying sharp edges in an image.
1. Select the window size of the mode filter
| New Post
|Mode Related Forum Posts||Last post||Posts||Views|