测控技术2025,Vol.44Issue(2):11-17,7.DOI:10.19708/j.ckjs.2025.02.301
基于连通域分析的钢管焊缝缺陷检测方法
Defect Detection Method for Steel Pipe Welds Based on Connected Domain Analysis
摘要
Abstract
Weld defect detection is an extremely important part of the industrial link,and the quality of welding directly affects the quality of the project,so the weld defect detection is very important.In view of the defects of traditional manual inspection,such as low efficiency,high misjudgment rate,low accuracy of subtle defect de-tection and high work intensity,a defect detection method for steel pipe welds based on connected domain anal-ysis is proposed.Firstly,X-ray imaging system is used to obtain the original image of the weld.Then,the com-plete weld area is extracted by Canny edge detection,Hough transform and screening conditions.After that,the complete weld defects are obtained by OTSU algorithm,gradient method and connected domain analysis.Final-ly,the average gray level of the defect location is calculated and the real weld defects are selected according to the screening conditions,and the defects in the original image of the weld are automatically detected and la-beled,which effectively reduces the missed detection rate and false positive rate of the weld defect detection.The correctness and effectiveness of the proposed algorithm are verified by testing about 1 000 original images of welds.The recognition rate of this algorithm is 95.3%,the missed detection rate is 2.1%,and the false pos-itive rate is 2.6%.Compared with other algorithms,the proposed algorithm is insensitive to defect types,has fast detection speed and high recognition rate,and has strong adaptability and universality.关键词
焊缝缺陷/图像处理/边缘检测/Hough变换/OTSU算法Key words
weld defect/image processing/edge detection/Hough transformation/OTSU algorithm分类
信息技术与安全科学引用本文复制引用
简珂,王帅,李强..基于连通域分析的钢管焊缝缺陷检测方法[J].测控技术,2025,44(2):11-17,7.基金项目
陕西省秦创原"科学家+工程师"队伍建设项目(2023KXJ-137) (2023KXJ-137)