基于LOG和Canny算子的边缘检测算法_贺强.pdf
文本预览下载声明
第37 卷 第3 期 计 算 机 工 程 2011 年2 月
Vol.37 No.3 Computer Engineering February 2011
·图形图像处理· 文章编号:1000—3428(2011)03—0210—03 文献标识码:A 中图分类号:TP391.41
基于LOG 和Canny 算子的边缘检测算法
贺 强,晏 立
(江苏大学计算机科学与通信工程学院,江苏 镇江 212013)
摘 要:针对传统Canny 算子抑制噪声和检测低强度边缘能力不足的问题,提出一种将LOG 算子和Canny 算子相结合的边缘检测方法。
采用LOG 算子对图像进行噪声过滤,从以下3 个方面改进Canny 算子实现边缘检测:(1)设计高斯滤波核对过滤掉噪声的图像进行边缘增
强,使低强度边缘更容易被检测;(2)在M ×N 邻域中计算梯度幅值和方向;(3)将梯度方向结合梯度幅值计算,使梯度幅值在边缘检测中更
具依据性。对增加椒盐噪声的图像进行实验,结果表明,该方法在最大程度抑制噪声的同时,能检测到更多的低强度边缘。
关键词:Canny 算子;LOG 算子;高斯滤波核;梯度核;梯度幅值
Algorithm of Edge Detection Based on LOG and Canny Operator
HE Qiang, YAN Li
(School of Computer Science and Communication Engineering, Jiangsu University, Zhenjiang 212013, China)
【Abstract 】Aiming at the disability of traditional Canny operator in noise suppression and detecting low-intensity edge, this paper proposes an edge
detection method combined LOG operator and Canny operator. LOG operator is used to the picture for noise filtering and Canny operator is
improved in the flowing three aspects to execute the edge detection: (1)It designs Gaussian smoothing kernel to intense the edge of picture filtered
noise, which makes the low-intensity edge detect easily; (2)Gradient magnitude and direction are calculated by pixels within a M-by-N
neighborhood; (3)It integrates gradient direction with the calculation of gradient magnitude, which can be the ground for gradient magnitude in edge
detection. Through carrying out a lot experiment for picture increased salt and pepper noise, the method proposed in this paper can not only suppress
noise in the largest degree, but also detect more low-intensity edge.
显示全部