70 likes | 212 Views
This document presents an overview of the Median Image Filter developed by David Newman and Nick Govier. The filter aims to remove "salt and pepper" noise from images while preserving underlying features. It utilizes a 3x3, 5x5, or larger template to sort pixel values, replacing the central pixel with the median of the sorted values. Note that while effective for certain noise types, it does not address Gaussian noise and may result in loss of detail and border pixels. The implementation is demonstrated through a Java applet available online.
E N D
Median Image Filter David Newman Nick Govier
Overview • Purpose of Filter • Implementation • Demo • Questions ??
Purpose • Removes “Salt & Pepper” Noise • Will not remove Gaussian Noise • Use Gaussian Smoothing • Side Effects • Detail is lost • Border pixels are lost
Implementation (1) • Use a Template • Of size 3x3, 5x5, 7x7,… etc. • Sort the values in the template • We used merge sort • Middle value of sorted list replaces the template’s central pixel.
N.B. Each template takes the values its sorts from the original image 101 69 0 56 255 87 123 96 157 0 56 69 87 96 101 123 157 255 Implementation (2)
Demo • Implemented as a Java Applet • Can be viewed at “www.ecs.soton.ac.uk/~drn101/MedianFilter.html”