管道技术与设备2024,Issue(5) :37-41.

基于Halcon的金属软管断丝缺陷检测方法

Halcon Based Detection Method for Wire Breakage Defects in Metal Hoses

李鑫宇 倪洪启 裴程程
管道技术与设备2024,Issue(5) :37-41.

基于Halcon的金属软管断丝缺陷检测方法

Halcon Based Detection Method for Wire Breakage Defects in Metal Hoses

李鑫宇 1倪洪启 1裴程程2
扫码查看

作者信息

  • 1. 沈阳化工大学机械与动力工程学院
  • 2. 中华人民共和国沈阳海关
  • 折叠

摘要

针对现有的金属软管网套钢丝断丝破坏检测过程中的人工检测时肉眼难以识别、长时间工作注意力下降影响检测效率与准确度等问题,设计一种基于Halcon的金属软管外网套断丝缺陷检测系统.确定图像的光照方式,利用相机拍摄到有利于分析处理的图像效果;在Halcon中首先对图像进行预处理,然后对图像进行阈值分割并提取出表面断丝缺陷,将破损部位的形状转化为规则形状便于测量,最后对破损位置的尺寸以及软管尺寸进行测量并将数值显示在图框中.实验结果表明:该方法能够清晰地检测出金属软管的破损位置并进行尺寸测量,通过对 5 种直径不同且缺陷位置与大小均不同的金属软管断丝缺陷部分进行测量可知,采用该方法进行测量时所产生的最大误差为 0.22 mm,优于断丝检测精度(0.5 mm),符合检测需求.

Abstract

A Halcon based external wire breakage defect detection system for metal hoses was designed to address issues such as difficulty in manual detection of wire breakage in the existing metal hose mesh sleeve and the impact of decreased atten-tion during long-term work on detection efficiency and accuracy.The lighting method of the image was determined and the camera was used to capture image effects that are conducive to analysis and processing.In Halcon,the image was first preprocessed,followed by threshold segmentation and extraction of surface wire breakage defects.The shape of the damaged area was trans-formed into a regular shape for easy measurement.Finally,the size of the damaged area and the size of the hose were measured and displayed in the picture frame.Experimental results show that this method can clearly detect the damaged position of the metal hose and measure the size.Through measurements of five metal hose wire breakage defect parts with different diameters and defect positions and sizes,it is known that the maximum error generated when using this method for measurement is 0.22 mm,better than broken wire detection accuracy(0.5 mm),which meets the detection requirements.

关键词

金属软管/断丝检测/图像处理/阈值分割/形态学处理/参数测量

Key words

metal hose/broken wire detection/image processing/threshold segmentation/morphological processing/parame-ter measurement

引用本文复制引用

出版年

2024
管道技术与设备
沈阳仪表科学研究院

管道技术与设备

影响因子:0.504
ISSN:1004-9614
参考文献量6
段落导航相关论文