首页> 中文期刊> 《计算机工程与设计》 >改进的自适应Canny边缘检测算法

改进的自适应Canny边缘检测算法

         

摘要

针对传统Canny算法需要设定滤波参数且对椒盐噪声滤波效果不佳,以及需要预先设定高、低阈值等问题,提出一种改进的自适应Canny边缘检测算法.利用分治法思想和相邻窗口排序信息相关性的原理,改进自适应中值滤波器,以此来替代高斯滤波器;增加45°和135°方向的梯度模板计算像素梯度;利用二分法查找原理改进Otsu算法计算梯度幅值的高、低阈值.Matlab仿真结果表明,该算法在椒盐噪声和高斯噪声环境下都有较好的边缘检测效果,具有自适应性强、抗噪性好、计算机耗时少等优点.%For the problem that the traditional Canny algorithm has poor effects on salt and pepper noise and needs to set the filtering parameters,high and low threshold in advance,an improved adaptive Canny edge detection algorithm was proposed.Based on the method of partition,and the adjacent windows ordering information relevance principles,the adaptive median filter was improved to replace the traditional Gaussian filter.The gradient template in the 45° and 135° directions was increased to calculate the pixel gradient.Based on the dichotomy search principle,the Otsu algorithm was improved to calculate the high and low thresholds of gradient amplitude.The Matlab simulation results show that the proposed algorithm has good edge detection eftects for the salt and pepper noise and Gaussian noise environment,and has the advantages of stronger adaptability and good anti-noise as well as less computer time.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号