Computer Vision Demonstration Website

Electronics and Computer Science
University of Southampton

Median Filtering

Median filtering is used to remove "salt and pepper" noise. The template size slider defines how much filtering takes place. Median filtering will not remove gaussian noise.

How it works

A template of size 3x3, 5x5, 7x7,… etc is applies to each pixel. The values within this template are sorted and the middle of the sorted list is used to replace the templates central pixel:

Code

Image processing classes:

Noise generation classes:

Demo framework:

The pages were designed and developed for educational purposes only, to demonstrate how computer vision techniques work. They are designed for no other purpose and neither the authors nor their institutions accept any liability concerning use of these pages.

Links

Mark Nixon & Alberto Aguado, 2002, Feature Extraction & Image Processing, Newnes

 

 

 

 


ECS | Feature Extraction & Image Processing | © 2005 University of Southampton

University of Southampton