A Median Filter in a Small Neighborhood
A median filter replaces a position with the median of its neighborhood. One extreme value can have limited influence on that statistic.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace three values
For values 4, 100, and 5, the median is five. The mean is \(109/3\), much larger. Sample median gives the ordering rule.
Check boundaries and repeated fine features
An actual small bright feature can also disappear when it is locally outnumbered. Compare against a known pattern and disclose the neighborhood choice. See local averaging for another filter.[1][2]