计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (25): 170-172.DOI: 10.3778/j.issn.1002-8331.2008.25.051

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

一种改进的基于Canny算子的图像边缘提取算法

黄剑玲1,郑雪梅2   

  1. 1.上饶师范学院 数学与计算机系,江西 上饶 334000
    2.上饶师范学院 物理系,江西 上饶 334000
  • 收稿日期:2008-04-01 修回日期:2008-06-25 出版日期:2008-09-01 发布日期:2008-09-01
  • 通讯作者: 黄剑玲

Improved image edge detection algorithm based on Canny operator

HUANG Jian-ling1,ZHENG Xue-mei2   

  1. 1.Mathematics and Computer Department,Shangrao Teacher’s College,Shangrao,Jiangxi 334000,China
    2.Physics Department,Shangrao Teacher’s College,Shangrao,Jiangxi 334000,China
  • Received:2008-04-01 Revised:2008-06-25 Online:2008-09-01 Published:2008-09-01
  • Contact: HUANG Jian-ling

摘要: 针对Canny边缘检测算子用高斯函数作为滤波器会造成缓变边缘丢失及假边缘现象,提出用GCV阈值的小波滤波方法代替高斯滤波器来平滑图像,以有效地去除图像中的噪声,然后计算梯度算子的幅值和方向,最后用极大值抑制和高低阈值的方法检测及连接图像的边缘。实验结果表明,改进的算法提高了边缘检测准确性,获得比较理想的边缘检测效果。

关键词: 广义交叉确认, Canny, 边缘检测, 非极大值抑制

Abstract: In order to solve the problem of missing edge and feigned edge using Gauss filter with the canny operator,an improved edge detection algorithm is proposed.It replaces Gauss filter with the wavelet threshold filter whose threshold obtained by the GCV theory to wipe off the image noise effectively,computes the magnitude and the direction,and detects and connects edges of the image in use of non-maxima suppression and hysteresis threshold.The experiment shows that the improved algorithm can increase veracity effectively and obtain better edge detection result.

Key words: Generalized Cross-Validation(GCV), Canny, edge detection, non-maxima suppression