计算机应用 ›› 2017, Vol. 37 ›› Issue (3): 849-853.DOI: 10.11772/j.issn.1001-9081.2017.03.849

• 计算机视觉与虚拟现实 • 上一篇    下一篇

基于X射线图像的厚钢管焊缝中气孔缺陷的自动检测

陈本智1, 方志宏2, 夏勇2, 张灵3, 兰守忍1, 王利生1   

  1. 1. 上海交通大学 电子信息与电气工程学院, 上海 200240;
    2. 宝山钢铁股份有限公司 研究院, 上海 201900;
    3. 宝山钢铁股份有限公司 钢管条钢事业部, 上海 201900
  • 收稿日期:2016-08-16 修回日期:2016-10-25 出版日期:2017-03-10 发布日期:2017-03-22
  • 通讯作者: 王利生
  • 作者简介:陈本智(1987-),男,湖北咸宁人,博士研究生,主要研究方向:图像处理与模式识别;方志宏(1968-),男,上海人,首席研究员,博士,主要研究方向:机器视觉在钢铁检测中的应用;夏勇(1965-),男,上海人,主任研究员,硕士,主要研究方向:图像处理与应用;张灵(1969-),男,上海人,技师,硕士,主要研究方向:钢管生产的质量检验与管理;兰守忍(1986-),男,山东菏泽人,博士研究生,主要研究方向:图像处理与可视化;王利生(1968-),男,上海人,教授,博士生导师,博士,主要研究方向:图像分析及医学可视化。
  • 基金资助:
    国家自然科学基金资助项目(61375020)。

Automatic detection of blowholes defects in X-ray images of thick steel pipes

CHEN Benzhi1, FANG Zhihong2, XIA Yong2, ZHANG Ling3, LAN Shouren1, WANG Lisheng1   

  1. 1. School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University, Shanghai 200240, China;
    2. Research Institute, Baoshan Iron & Steel Company Limited, Shanghai 201900, China;
    3. Steel Bars Division, Baoshan Iron & Steel Company Limited, Shanghai 201900, China
  • Received:2016-08-16 Revised:2016-10-25 Online:2017-03-10 Published:2017-03-22
  • Supported by:
    This work is partially supported by the National Natural Science Foundation of China (61375020).

摘要: 由于厚钢管X射线图像强度分布不均匀,对比度低、噪声大,且气孔缺陷的大小、形状、位置、对比度各异,使得自动检测各种类型的气孔较为困难。针对传统缺陷检测算法中手工标记缺陷数据工作量大,焊缝边缘难以准确提取等问题,提出一种新的无监督学习的各种气孔缺陷检测算法。首先,采用快速独立分量分析从钢管X射线图像集合中学习一组独立基底,并用该基底的线性组合来选择性重构带气孔缺陷的测试图像;随后,测试图像与其重构图像相减获得差异图像,通过全局阈值从差异图像中将各种气孔分割出来。实验的训练集有320幅,测试集有60幅图像,所提算法检测结果的平均敏感性和准确率为90.5%和99.7%。实验结果表明,该算法无需手工标记数据或提取焊缝边缘,可准确检测各种气孔缺陷。

关键词: X射线图像, 独立分量分析, 缺陷检测, 机器学习, 厚钢管

Abstract: Due to the intensity distribution of X-ray image of thick steel pipe is not uniform, the contrast is low, the noise is big, and the size, shape, position and contrast of the blowholes defects are different, it is difficult to detect various types of blowholes automatically. Aiming at the problems that the traditional defect detection algorithm has a large workload of manually marking defect data, and the edge of the weld is difficult to accurately extract and other issues, a new unsupervised learning algorithm was proposed for the detection of various blowholes defects. Firstly, fast Independent Component Analysis (ICA) was used to learn a set of independent base vectors from the steel pipe X-ray image set, and a linear combination of the base vectors was used to selectively reconstruct the test image with blowholes defect. Then, the test image was subtracted from its reconstructed image to obtain the difference image, and the various blowholes were separated from the difference image by global threshold. There were 320 images in the training set and 60 images in the test set. The average sensitivity and accuracy of the proposed algorithm were 90.5% and 99.7%. The experimental results show that the algorithm can accurately detect all kinds of blowholes defects without manual marking the data or extracting the edge of the weld.

Key words: X-ray image, Independent Component Analysis (ICA), defect detection, machine learning, thick steel pipe

中图分类号: