计算机工程与应用 ›› 2009, Vol. 45 ›› Issue (35): 185-187.DOI: 10.3778/j.issn.1002-8331.2009.35.056

• 图形、图像、模式识别 • 上一篇    下一篇

一种有效的自适应加权中值滤波算法

邓秀勤1,熊 勇2,彭 宏2   

  1. 1.广东工业大学 应用数学学院,广州 510006
    2.华南理工大学 计算机科学与工程学院,广州 510640
  • 收稿日期:2008-07-28 修回日期:2008-09-25 出版日期:2009-12-11 发布日期:2009-12-11
  • 通讯作者: 邓秀勤

Effective adaptive weighted median filter algorithm

DENG Xiu-qin1,XIONG Yong2,PENG Hong2   

  1. 1.School of Applied Mathematics,Guangdong University of Technology,Guangzhou 510006,China
    2.School of Computer Science and Engineering,South China University of Technology,Guangzhou 510640,China
  • Received:2008-07-28 Revised:2008-09-25 Online:2009-12-11 Published:2009-12-11
  • Contact: DENG Xiu-qin

摘要: 针对传统中值滤波算法的优缺点,提出了一种基于相似度函数的自适应加权中值滤波算法。该算法首先通过噪声检测确定图像中的噪声点,然后根据窗口内噪声点的个数自适应地调整滤波窗口的尺寸,再根据相似度大小,巧妙地将滤波窗口内各个像素点按一定的规律自适应地分组并赋予每组像素点相应的权重,最后采用加权中值滤波算法对检测出的噪声点进行滤波处理。计算机模拟实验结果表明:该算法既能有效地滤除噪声,又能较好地保护图像细节,滤波性能比传统中值滤波算法更理想。

Abstract: According to excellence and shortcoming of conventional median filter algorithm,an algorithm called adaptive weighted median filter algorithm based on similarity function is proposed.The method works in this way:Firstly,noise detection is employed to determine noise points in image,then the size of filtering window is adaptively adjusted according to the number of noise points,and the pixels are adaptively grouped in an ingenious way based on the similarity and weight value of every pixels is calculated adaptively.Finally,a new weighted median image smoothing algorithm is used to filter noise pixels.The simulation experiment shows that this algorithm both may effectively eliminate the noise,and may protect image detail well.Therefore it has better filtering performance than the conventional median filter algorithm.

中图分类号: