首页> 中文期刊> 《计算机技术与发展》 >基于改进的Sobel算子边缘检测算法

基于改进的Sobel算子边缘检测算法

         

摘要

为了解决传统的Sobel算子算法存在的斜向方向不敏感问题,提出了一种改进的Sobel算法。该算法在Sobel 算子的基础上,增加了45º和135º2个方向模板,并且以斜向边缘为主重新分配了算子模板的权重。算法先将图像转换为灰度图像,然后用改进的Sobel算子得到梯度图像,再采用局部梯度阈值对梯度图像进行细化处理,最后结合斜向边缘方向域值进行二值化,得到边缘图像。仿真实验表明,与传统Sobel算法相比,该算法提高了检测精度,使得边缘细节更丰富、更连续。%An improved Sobel algorithm is proposed to overcome the disadvantage,which the traditional Sobel operator algorithm is insen-sitive for the diagonal directions. The algorithm increases two templates in both directions of 45 o and 135 o ,and reallocates operator tem-plate weight according to diagonal edge. The algorithm first converts the image to grayscale image,and then obtains the gradient image with the improved Sobel operator,then refines the gradient image with local gradient threshold values,finally the algorithm binaries the image according to the direction toward combining selected threshold. Simulation result shows that the algorithm has a higher detection accuracy,achieves more rich and more continuous edge than traditional Sobel algorithm.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号