计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (28): 41-43.

• 学术探讨 • 上一篇    下一篇

一种基于极值和方向的滤波算法

窦 燕,孔令富   

  1. 燕山大学 信息科学与工程学院,河北 秦皇岛 066004
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-10-01 发布日期:2007-10-01
  • 通讯作者: 窦 燕

New filter algorithm based on extreme value and orientation

DOU Yan,KONG Ling-fu   

  1. College of Information Science and Engineering,Yanshan University,Qinhuangdao,Hebei 066004,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-10-01 Published:2007-10-01
  • Contact: DOU Yan

摘要: 提出了一种有效的椒盐噪声图像滤波算法。该算法首先对含有噪声的图像取3×3邻域,判断某点是否为邻域极值将全部像素点分为可疑噪声与信号点集合;其次对每一个可疑噪声点在其3×3邻域内构造八个方向的梯度算子模板,通过比较8个方向梯度的大小,进一步确定其是否为噪声点;最后对噪声点进行邻域的中值滤波。实验结果表明该算法在滤除噪声的同时,很好地保存了图像的原始信息且有较好的信噪比。

关键词: 椒盐噪声, 方向梯度, 极值, 中值滤波

Abstract: An efficient kind of filtering algorithm is given to restore images corrupted by salt-pepper impulse noise.First it selects a 3×3 neighborhood.According to whether gray value of arbitrary pixel is its neighborhood’s extremum,all pixels are divided into doubtful noises pixels and signal pixels.Then it constructs 8 templets of orientation gradient for each doubtful noise,makes the sure of the noises sets according to the magnitude of 8 values of orientation gradient.The results of experiment prove that the new method not only saves the original image information and has a good Signal-to-Noise Ratio,but also removes noises simultaneously.

Key words: salt-pepper noise, orientation gradient, extreme value, median filter