基于改进 Canny算法的3D金属打印件表面缺陷检测
DOI:
CSTR:
作者:
作者单位:

1.广西高校先进制造与自动化技术重点实验室 桂林 541006; 2.桂林理工大学机械与控制工程学院 桂林 541006

作者简介:

通讯作者:

中图分类号:

TB487;TP391.41;TN911.73

基金项目:

国家自然科学基金(52467022)、广西自然科学基金(2021GXNSFAA220038)项目资助


Surface defect detection of 3D metal prints based on improved Canny algorithm
Author:
Affiliation:

1.Key Laboratory of Advanced Manufacturing and Automation Technology in Guangxi Universities,Guilin 541006, China; 2.College of Mechanical and Control Engineering, Guilin University of Technology,Guilin 541006, China

Fund Project:

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

    针对3D金属打印件表面因技术和材料而出现缺陷的问题,提出了一种基于改进Canny算法的3D金属打印件表面缺陷检测方法,通过采用改进算法对3D金属打印件缺陷图像进行处理。首先,采用一种改进的双边滤波器替代高斯滤波,处理椒盐噪声下的金属打印件表面缺陷图像;然后采用动态加权的四方向Scharr算子计算梯度幅值及确定梯度方向来更好地突出3D金属打印件的边缘信息;再采用改进的非极大值抑制算法进一步处理图像;最后采用动态阈值与滞后边缘追踪算法实现高低阈值的选择和提高边缘的连续性。通过比对不同算法对3D金属打印件表面的缺陷检测,实验结果显示,改进的Canny算法对比传统算法在平滑噪声和边缘连续性方面表现更好,其中峰值信噪比(PSNR)值相较于传统高斯滤波器提升46.70%,结构相似性(SSIM)值提升39.93%,处理后的图像效果相比于传统Canny算法的普拉特品质因数(PFOM)值提升36.46%。能够有效检测3D金属打印件表面的缺陷,具有较强的实用性。

    Abstract:

    Aiming at the problem of defects occurring on the surface of 3D metal printed parts due to technology and materials, a surface defect detection method for 3D metal printed parts based on an improved Canny algorithm is proposed, which processes the defect images of 3D metal printed parts by using the improved algorithm. First, an improved bilateral filter is used to replace Gaussian filtering to handle the surface defect images of metal printed parts under salt- and-pepper noise. Then, a dynamically weighted four-direction Scharr operator is adopted to calculate the gradient amplitude and determine the gradient direction, so as to better highlight the edge information of 3D metal printed parts. Next, an improved non-maximum suppression algorithm is employed to further process the image. Finally, the dynamic threshold and hysteresis edge tracking algorithm are utilized to realize the selection of high and low thresholds and enhance the continuity of edges. By comparing the defect detection results of different algorithms on the surface of 3D metal printed parts, the experimental results show that the improved Canny algorithm performs better in noise smoothing and edge continuity than the traditional algorithm. Specifically, the peak signal-to-noise ratio (PSNR) value is increased by 46.70% compared with the traditional Gaussian filter, the structural similarity index (SSIM) value is improved by 39-93%, and the probability of figure of merit (PFOM) value of the processed image is enhanced by 36.46% compared with that of the traditional Canny algorithm. This method can effectively detect the defects on the surface of 3D metal printed parts and has strong practicability.

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

许仕林,王文成,陆孝杰,余智科,郑诗翰.基于改进 Canny算法的3D金属打印件表面缺陷检测[J].电子测量技术,2026,49(10):206-214

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2026-08-25
  • 出版日期:
文章二维码

重要通知公告

①《电子测量技术》期刊收款账户变更公告