• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science

Previous Articles     Next Articles

A nonlocal means filter for images with salt-and-pepper noise

XU Guang-yu,JIANG She-xiang   

  1. (School of Computer Science and Engineering,Anhui University of Science and Technology,Huainan 232001,China)
  • Received:2015-11-04 Revised:2016-03-29 Online:2017-06-25 Published:2017-06-25

Abstract:

According to the fact that the nonlocal means (NLM) method cannot adequately remove noise from the images corrupted by salt-and-pepper noise, we extend the NLM to remove salt-and-pepper noise by introducing the noise detection results. At the noise detection stage, we divide pixels into two categories: noisy and noise-free pixels, depending on two extreme values Lmin and Lmax. At the filtering stage, noise-free pixels remain unchanged, while for each noise pixel, if the adaptive filtering window does not contain any noise-free pixel, we regard the current noise pixel located in image uniform regions composed of noise-free pixels with the same gray value Lmin or Lmax. And then the calculated statistics is used as the restored value. Otherwise, we employ the improved NLM filter for noise removal. The joint noise detection mask in the proposed method can avoid the influence of noise pixels on calculating similar weights in the presence of noise pixels, and only noise-free pixels are used for the weighted average. In addition, the iterative filtering scheme is used to remove noise of high-density. Experimental results demonstrate the effectiveness of the proposed filter  even though  its computational complexity is still high.

Key words: image denoising, salt-and-pepper noise, nonlocal means, similarity weight, iterative filtering