Median Filter

This is a simple routine to blur an image, by averaging pixels over a window. By default, the window size is 3. This can take a while, if the window size gets over about 10 pixels or so.
Original Image
Noise Density
Image with Noise
Noised Image After Median Filter
Choose your own image

Published on 29 January 2015

Brian Hoover is a full stack software engineer with many years of experience. He's also a facilitator at the University of Phoenix