计算机工程与应用 ›› 2013, Vol. 49 ›› Issue (20): 141-144.

• 图形图像处理 • 上一篇    下一篇

一种异性扩散的自适应平滑滤波算法

连仁包1,王卫星2   

  1. 1.福建江夏学院 电子信息科学学院,福州 350108
    2.福州大学 物理与信息工程学院,福州 350108
  • 出版日期:2013-10-15 发布日期:2013-10-30

Anisotropic diffusion and adaptive smoothing algorithm

LIAN Renbao1, WANG Weixing2   

  1. 1.College of Electronics and Information Science, Fujian Jiangxia University, Fuzhou 350108, China
    2.School of Physics and Information Engineering, Fuzhou University, Fuzhou 350108, China
  • Online:2013-10-15 Published:2013-10-30

摘要: 固定尺度的高斯滤波器对图像中的所有像素使用相同的加权系数,在平滑噪声的同时也模糊了边缘信息,影响了后期的边缘定位和提取,为此提出了一种异性扩散的自适应仿高斯滤波器,通过计算当前像素与周围像素的灰度梯度,预判该像素类型(噪声点或是边缘点),并根据像素点类型和梯度生成自适应的、各向异性的加权系数,通过多次平滑迭代实现权重的异性扩散。实验结果表明,该滤波算法具有平滑噪声的同时保留并锐化边缘效果。

关键词: 异性扩散, 自适应滤波, 图像平滑, 高斯滤波

Abstract: Gaussian filter with fixed scale-parameter uses the fixed coefficients for every pixel to smooth image. The noise is smoothed out while the edge is distorted. The defect will influence the edge detection and extraction later. Therefore a kind of anisotropic diffusion smooth algorithm is proposed in this paper. In the algorithm, the type(noise or edge) of current pixel is predicted by calculating the gray-gradients of the pixels around the pixel, and according to the pixel type and gradients, the unique and anisotropic coefficients for the pixel are generated. The coefficients anisotropic diffusion is achieved by some times iteration. The experimental results show that, the algorithm can smooth noise while preserving and sharpening the edge.

Key words: anisotropic diffusion, adaptive filtering, image smoothing, Gaussian filter