摘要

In this letter, we propose a new adaptive weighted mean filter (AWMF) for detecting and removing high level of salt-and-pepper noise. For each pixel, we firstly determine the adaptive window size by continuously enlarging the window size until the maximum and minimum values of two successive windows are equal respectively. Then the current pixel is regarded as noise candidate if it is equal to the maximum or minimum values, otherwise, it is regarded as noise-free pixel. Finally, the noise candidate is replaced by the weighted mean of the current window, while the noise-free pixel is left unchanged. Experiments and comparisons demonstrate that our proposed filter has very low detection error rate and high restoration quality especially for high-level noise.