计算机科学与探索 ›› 2019, Vol. 13 ›› Issue (3): 505-513.DOI: 10.3778/j.issn.1673-9418.1712017

• 人工智能与模式识别 • 上一篇    下一篇

修剪中值检测的自适应加权中值滤波算法

陈家益1,战荫伟2+,曹会英1,吴兴达1,李小飞3   

  1. 1. 广东医科大学 信息工程学院,广东 湛江 524023
    2. 广东工业大学 计算机学院,广州 510006
    3. 长江大学 信息与数学学院,湖北 荆州 434023
  • 出版日期:2019-03-01 发布日期:2019-03-11

Adaptive Weighted Median Filtering Algorithm Based on Detection with Trimmed Median

CHEN Jiayi1, ZHAN Yinwei2+, CAO Huiying1, WU Xingda1, LI Xiaofei3   

  1. 1. School of Information Engineering, Guangdong Medical University, Zhanjiang, Guangdong 524023, China
    2. School of Computer Science and Technology, Guangdong University of Technology, Guangzhou 510006, China
    3. School of Information and Mathematics, Yangtze University, Jingzhou, Hubei 434023, China
  • Online:2019-03-01 Published:2019-03-11

摘要: 针对现有算法在噪声检测与噪声滤除性能上的缺陷,提出修剪中值检测的自适应加权中值滤波算法。算法利用噪声的灰度特征,根据灰度最值0和255检测噪声,再根据邻域像素的相关性以及在灰度上的近似性,做进一步的噪声检测。根据邻域像素之间的相关性随距离的增大而减小的特性,对邻域中的信号像素分别赋予不同的加权系数,取加权中值以滤除噪声。算法去噪的邻域大小,随噪声密度和分布自适应地变化。通过去噪图像的主观视觉效果以及客观的去噪性能指标PSNR(peak signal to noise ratio)和IEF(image enhancement factor),仿真实验证明,所提出的算法相对于现有的算法具有更好的去噪性能,特别对于滤除高密度噪声,具有显著的优越性。

关键词: 加权中值滤波, 噪声检测, 修剪中值, 灰度最值, 加权系数, 相关性

Abstract: Aims at overcoming the defects of existing filters in noise detection and noise removal, this paper proposes an adaptive weighted median filtering algorithm based on detection with trimmed median. This filter first performs noise detection by using the minimum and maximum intensities, namely 0 and 255, which makes full use of the intensity characteristics of impulse noise, and then performs further noise detection based on the correlation and the approximation in intensity among neighboring pixels. And on the basis that the correlation among neighboring pixels decreases with the increasing of distance, different weighted coefficients are given to the noise free pixels at different distance in the neighborhood, the weighted median is used to remove noise. The size of neighborhood for denoising varies adaptively along with noise densities. Simulation results and analysis prove that the proposed method is capable of denoising effectively. Its denoising performance has outperformed significantly the existing distinguished filters in terms of peak signal to noise ratio, image enhancement factor and visual representation, especially for removing high density noise, it shows significant superiority over other filters.

Key words: weighted median filter, noise detection, trimmed median, minimum and maximum intensities, weighted coefficient, correlation