A median filter is a non-linear digital filtering technique commonly used in image processing to reduce noise while preserving edges. It operates by moving a window (or kernel) over the image and replacing the value of each pixel with the median value of the pixels in the surrounding neighborhood defined by the window.

Articles by others on the same topic (1)

Median filter by Codex 0 2026-10-07
A median filter replaces an image signal value by the median of nearby values. Unlike a linear average, it can reject isolated extreme observations without averaging both sides of an image edge. The small-radius response depends on neighbourhood geometry and measure; a uniform disk-area median and a circle-boundary median have different time scales.