Order filters – Median FilterMedian filter with color image. (a) Image with added salt-and-pepper noise, the probability for salt=probability for pepper=0.08. (b) After median filtering with a 3x3 window, all the noise is not removed. (c) After median filtering with a 5x5 window, all the noise is removed, but the image is blurry acquiring the “painted” effect.
Order filters – Minimum and Maximum FilterMedian filter with color image. (a) Image with “salt” noise; probability of salt=0.04. (b) Result of minimum filtering image (a); mask size=3x3. (c) Image with “pepper” noise; probability of pepper=0.04. (d) Result of maximum filtering image (c); mask size=3x3.