蜣螂优化算法在 Canny 边缘检测算法中的应用
DOI:
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP391

基金项目:

国家重点研发计划(2019YFD1002202)、 国家自然科学基金面上项目(42275200)资助


Application of dung beetle optimization algorithm in Canny edge detection algorithm
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对传统 Canny 边缘检测需要手动选取阈值以及不能有效提取边缘轮廓的问题,提出了一种基于改进的蜣螂优化算 法(DBO) 来优化 Canny 算子的边缘检测算法。首先通过快速引导滤波代替传统高斯滤波对图像进行保边去噪;其次用4方 向的 Sobel 模板来计算图像的梯度幅值和梯度方向;最后利用蜣螂优化算法优化的二维大津法自适应获取高低阈值。针对蜣 螂优化算法种群多样性不强问题,提出用 tent 映射初始化种群;为了提高算法跳出局部最优的能力,采用精英差分变异策略 对最优蜣螂个体进行变异扰动。实验结果表明,在边缘准确度和连接性上,该算法与传统 Canny 边缘检测算法对比有一定程 度的提升,能够有效提取图像的边缘轮廓,提高了Canny 边缘检测的边缘连接性,具有一定的实用性。

    Abstract:

    To solve the problem that traditional Canny edge detection requires manual threshold selection and can not effectively extract edge contour,an improved dung beetle optimization algorithm(DBO)is proposed to optimize the edge detection algorithm of Canny operator.Firstly,the image is denoised by fast guided filtering instead of traditional Gaussian filtering.Secondly,a 4-direction Sobel template is used to calculate the gradient amplitude and gradient direction of the image.Finally,the high and low thresholds are obtained adaptively by using the two-dimensional Otsu method optimized by dung beetle optimization algorithm.Aiming at the problem that the population diversity of the dung beetle optimization algorithm is not strong,this paper proposes to initialize the population by tent mapping.In order to improve the ability of the algorithm to jump out of the local optimum,the elite differential variation strategy is used to carry out variation disturbance on the optimal dung beetle.The experimental results show that in terms of edge accuracy and connectivity,the algorithm has a certain degree of improvement compared with the traditional Canny edge detection algorithm,which can effectively extract the edge contour of the image and improve the edge connectivity of Canny edge detection,which has certain practicality.

    参考文献
    相似文献
    引证文献
引用本文

姚成敏,朱节中,杨再强.蜣螂优化算法在 Canny 边缘检测算法中的应用[J].国外电子测量技术,2024,43(4):143-151

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2024-06-20
  • 出版日期:
文章二维码
×
《国外电子测量技术》
财务封账不开票通知