计算机应用 ›› 2011, Vol. 31 ›› Issue (07): 1835-1837.DOI: 10.3724/SP.J.1087.2011.01835

• 图形图像技术 • 上一篇    下一篇

改进的自适应中值滤波算法

黄宝贵1,卢振泰2,马春梅3,赵景秀1   

  1. 1. 曲阜师范大学 计算机科学学院,山东 日照 276826
    2. 南方医科大学 生物医学工程学院,广州510515
    3. 曲阜师范大学 计算机科学学院,山东 日照276826
  • 收稿日期:2010-12-14 修回日期:2011-01-29 发布日期:2011-07-01 出版日期:2011-07-01
  • 通讯作者: 黄宝贵
  • 作者简介:黄宝贵(1977-),男,山东临沂人,讲师,硕士,主要研究方向:数字图像处理、模式识别;卢振泰(1981-),男,山东济宁人,副教授,博士,主要研究方向:图像配准与融合、图像分割;马春梅(1978-),女,山东威海人,讲师,硕士,主要研究方向:数字图像处理;赵景秀(1968-),男,山东泰安人,副教授,硕士,主要研究方向:数字图像处理、模式识别。
  • 基金资助:

    国家自然科学基金资助项目

Improved adaptive median filtering algorithm

Bao-gui HUANG1,Zhen-tai LU2,Chun-mei MA1,Jing-xiu ZHAO1   

  1. 1. School of Computer Science, Qufu Normal University, Rizhao Shandong 276826, China
    2. School of Biomedical Engineering, Southern Medical University, Guangzhou Guangdong 510515, China
  • Received:2010-12-14 Revised:2011-01-29 Online:2011-07-01 Published:2011-07-01
  • Contact: Bao-gui HUANG

摘要: 中值滤波窗口大小影响滤波器性能,3×3滤波窗口可以很好地保持图像细节。提出一种新的自适应中值滤波方法。将3×3窗口中心的极值点作为候选噪声点,若候选噪声点仍然是7×7窗口的极值点,则该点即是噪声点。若以噪声点为中心的3×3滤波窗口的中值不是噪声,则噪声用中值替换。重复以上过程,直到没有噪声点被替换。如果图像中仍然存在大的噪声团块,则噪声用相邻的三个信号点的灰度均值替换。实验结果表明,该方法能够有效去除脉冲噪声,并在抑制噪声的同时很好地保护图像的细节。

关键词: 脉冲噪声, 中值滤波, 噪声检测, 自适应

Abstract: The size of median filtering window influences the capability of filter and 3×3 filtering window can preserve image details. An adaptive median filtering method was proposed. The extreme value point in 3×3 filter window was taken as candidate noise. If the candidate noise is extreme value in 7×7 window, then it is a sure noise. If the median value of 3×3 filter window is not noise, then the central noise would be replaced with the median value. The steps above were repeated until there was no noise replaced. If there still existed large noise cluster, the noise would be replaced with the mean of the three signals near it. The experimental results show that the method can denoise impulse noise and protect the image details effectively.

Key words: median filtering, noise detection, self-adaptive