Median Blur

Replace each pixel with the median of its neighborhood. Excellent for removing salt-and-pepper noise while preserving edges.

← Kumgit! · Image Processing index

Loading OpenCV.js…

Input

Output