基于八方向卷积模板的边缘检测算法.doc

  1. 1、本文档共6页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于八方向卷积模板的边缘检测算法

基于八方向卷积模板的边缘检测算法 沈德海,张龙昌,鄂旭 渤海大学 信息科学与技术学院,辽宁 锦州 121013 摘 要:图像边缘检测存在的及边缘较粗等,提出了一种的算法。算法采用0o22.5o、 45o、67.5o、 90o、112.5o 、135o和o八个方向的卷积模板进行边缘检测,模板权值根据中心像素点到邻域像素的距离及方向夹角的大小进行设定,充分考虑到了邻域内像素对中心点方向梯度的贡献大小,能够较好地检测出图像不同的方向边缘。对梯度图像采用了改进的非极大值抑制方法进行细化,可得到单像素的图像边缘。实验结果表明,该算法获取的边缘图像边缘,边缘细,整体效果优于传统Sobel。 911.73 文献标识码:A  文章编号: Edge Detection Algorithm Based Eight Directions Convolution Templates SHEN De-hai,ZHANG Long-chang,E Xu Institute of Information Science and Technology, Bahai University, Jinzhou , Liaoning 121013, ChinaAbstract: An edge detection algorithm based on six directions convolution templates is proposed aiming at the shortcoming of traditional Sobel operator in poor location accuracy and coarse edge. The algorithm uses eight direction templates of 0o,22.5o,45o,67.5o,90o,112.5o,135o and 157.5 o to detect image edge, considering the contribution of neighborhood pixels for the center pixel in the direction gradient, the templates weights is determined according to the distances and the direction included angle of neighborhood pixel and the center pixel, the different image edge can be detected well. In order to get single pixel width edge, uses improved non-maximum suppression to refine the edge of gradient image. The results show that the new algorithm can detect the image edge relatively complete,with accuracy direction and thinner edge, the whole effects are better than traditional Sobel algorithm. Keywords: Edge detection; Eight direction convolution templates; weight; refining; Non-maximum suppression 引 言 边缘是图像中灰度变化显著的区域,是图像的基本特征,包含了图像的重要信息,是图像分割、图像识别和图像理解的重要依据[1]。边缘检测是图像处理与模式识别中的一个关键技术,是一个图像预处理过程,其结果的好坏将直接影响图像进一步处理的精度和效果。总体上来说,边缘检测算法主要分为两大类。一类是传统的基于梯度算子模板边缘检测算法,如Roberts[2]、Sobel[3]、Prewitt、Log、 Canny[4]等,它们通过卷积模板(带有权值)与图像进行卷积运算,获取图像梯度,通过阈值对边缘进行提取。这些算法形式简单、计算速度快、普适性较强,应用比较广泛。但传统的边缘检测算法存在边缘方向性不强和边缘较粗及抑噪性能差等问题。另一类是新的理论在边缘检测中的运用而产生的算法,如形态学算法[5]、小波算法[6]、模糊理论算法[7]、神经网络算法[8]、遗传算法[9]和蚁群算法[10]等,这些算法在边缘精度、抑噪性能等方面有着一定的优势,但也各自存在着诸如计算量大、适应性差、算法 复杂、实时性差等一些问题。本文以传统S

文档评论(0)

jiupshaieuk12 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:6212135231000003

1亿VIP精品文档

相关文档