计算机应用 ›› 2014, Vol. 34 ›› Issue (7): 2010-2013.DOI: 10.11772/j.issn.1001-9081.2014.07.2010

• 虚拟现实与数字媒体 • 上一篇    下一篇

基于邻域信息的自适应中值滤波算法

张洁玉,王锋   

  1. 中国药科大学 理学院, 南京 211198
  • 收稿日期:2014-01-15 修回日期:2014-03-26 出版日期:2014-07-01 发布日期:2014-08-01
  • 通讯作者: 张洁玉
  • 作者简介:张洁玉(1980-),女,山西大同人,讲师,博士,主要研究方向:图像处理、模式识别及其在药学领域的应用;王锋(1975-),男,江苏南通人,副教授, 硕士,主要研究方向:网络技术、药学信息学。
  • 基金资助:

    教育部直属高校特色项目基金

Adaptive median filtering algorithm based on neighborhood correlation

ZHANG Jieyu,WANG Feng   

  1. School of Science, China Pharmaceutical University, Nanjing Jiangsu 211198, China
  • Received:2014-01-15 Revised:2014-03-26 Online:2014-07-01 Published:2014-08-01
  • Contact: ZHANG Jieyu

摘要:

针对图像中普遍存在的脉冲噪声,提出了一种自适应中值滤波算法,该算法在有效去除噪声的前提下能够保留更多的图像细节。首先,根据脉冲噪声灰度值为0或1的特点初步区分图像中的噪声点和信号点;其次,在每一个可疑噪声点周围取一定大小的邻域,通过判断该可疑噪声点与邻域内其他像素点之间相关性的大小进一步判断该点是否为真正噪声点,若为真正噪声点则利用邻域内所有可靠像素点的中值代替,否则输出原信号点。利用可见光及红外图像将所提算法与几种算法(如传统中值滤波算法、极值中值滤波算法,等)进行比较,实验结果表明该方法能够获得最高的峰值信噪比,去噪效果最佳。

Abstract:

Aiming at the impulse noise widely exiting in images, an adaptive median algorithm was proposed in this paper. The algorithm could suppress noise effectively and preserve more image details. Firstly, noise pixels and signal pixels were preliminary distinguished according to the characteristic of the impulse noise gray value of 0 or 1. Whether the pixel was noise or not depended on the correlativity of adjacent pixels in the window centered on the pixel. The gray value of contaminated pixel was reconstructed by the median of those uncontaminated pixels in the window. And the signal pointed directly output without changes. The results with visible-light images and infrared images show that the proposed method has a better performance because of the highest peak signal-to-noise ratio than other methods, such as Traditional Median (TM) and Extremal Median (EM) filtering algorithm.

中图分类号: