红外技术, 2014, 36 (3): 210, 网络出版: 2014-04-09   

一种基于改进 Canny的边缘检测算法

An Improved Algorithm for Edge Detection Based on Canny
作者单位
长安大学电子与控制工程学院, 陕西 西安 710064
摘要
鉴于传统 Canny边缘检测算法在高斯滤波方差和高低阈值选取上需要人工干预, 不具备自适应能力, 以及其在梯度计算上的缺陷。提出了一种改进的 Canny边缘检测算法。改进算法使用自适应平滑滤波代替高斯滤波, 在平滑图像的同时锐化了边缘;使用水平、垂直、45.和 135.四个方向梯度模板计算图像梯度, 改善了传统 Canny算法在计算梯度时对噪声的敏感性;引进 Otsu算法自适应地根据图像灰度生成高低阈值, 避免了人为设定高低阈值的难题。实验结果表明, 改进算法在检测到更多边缘细节的同时, 也具备较强的自适应性。特别地, 在噪声环境中, 改进算法比传统 Canny算法检测效果更优。
Abstract
Because the variance of gaussian filter and the high and low thresholds should be determined artificially, Canny algorithm has no adaptive capacity. What is more, it has defect in calculation of gradient amplitude. An improved edge detection algorithm was put forward based on Canny. Adaptive smooth filter was used to smooth image instead of gaussian filter, which could overcome noise influence and sharpen image edge effectively. The improved algorithm also used 4 gradient templates in x-axis direction, y-axis direction, 45° direction and 135° direction to calculate gradient amplitude. Finally, Otsu algorithm was used to get high and low thresholds adaptively based on the gray. The experimental results show that the improved algorithm can detect more edge details with strong adaptability. Particularly, it has much better effect of edge detection than traditional Canny algorithm in the noise environment.

许宏科, 秦严严, 陈会茹. 一种基于改进 Canny的边缘检测算法[J]. 红外技术, 2014, 36(3): 210. XU Hong-ke, QIN Yan-yan, CHEN Hui-ru. An Improved Algorithm for Edge Detection Based on Canny[J]. Infrared Technology, 2014, 36(3): 210.

本文已被 10 篇论文引用
被引统计数据来源于中国光学期刊网
引用该论文: TXT   |   EndNote

相关论文

加载中...

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!