Max - Min Filter

The "Max - Min" filter blurs the image by replacing each pixel with the difference of the highest pixel and the lowest pixel (with respect to intensity) within the specified windowsize.

For example, given the grayscale 3x3 pixel neighborhood;

22 77 48
150 77 158
10 77 219

The center pixel would be changed from 77 to 209 as it is the difference between the brightest pixel 219 and the darkest pixel 10 within the current window.

It is interesting to note that at a small window size (2 or 3) this filter is an effective edge detection filter aswel.



1. Select the window size of the Max - Min filter


SourceMax - Min Filter (after greyscale applied)

See Also

Midpoint Filter
Min Filter
Max Filter

 New Post 

MaxMinusMin Related Forum PostsLast postPostsViews