Feature matching driven background generalization neural networks for surface defect segmentation

被引:3
作者
Chen, Biao [1 ]
Niu, Tongzhi [1 ]
Zhang, Ruoqi [3 ]
Zhang, Hang [1 ]
Lin, Yuchen [1 ]
Li, Bin [1 ,2 ]
机构
[1] Huazhong Univ Sci & Technol, Sch Mech Sci & Engn, Hubei 430074, Peoples R China
[2] Wuhan Intelligent Equipment Ind Inst Co Ltd, 8 Ligou South Rd, Wuhan 430074, Hubei, Peoples R China
[3] Huazhong Univ Sci & Technol, China EU Inst Clean & Renewable Energy, Wuhan, Hubei, Peoples R China
关键词
Surface defect detection; Neural networks; Feature matching; Background generalization;
D O I
10.1016/j.knosys.2024.111451
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In this paper, we address the challenge of background generalization in surface defect segmentation for surfacemounted device chips, particularly focusing on template-sample comparison algorithms. These algorithms often struggle with background features in templates and samples that exhibit spatial variations, including translation and rotation. The inherent spatial equivariance in CNN -based algorithms complicates the elimination of noise attributed to these spatial variations. To address this issue, we developed the Background Generalization Networks (BGNet). BGNet effectively reduces spatial variation noise by subtracting background features of samples and templates based on their matching relationships. It starts by extracting dense features rich in global and interactive information via a Siamese network and then applies self- and cross -attention mechanisms from Transformers. The matching score is calculated based on feature similarity, with matching relations established using the Mutual Nearest Neighbour (MNN) algorithm. These relations enable us to mitigate the noise caused by spatial variations and implement a multiscale fusion of detailed and semantic information, leading to more accurate segmentation results. Our experiments on OCDs and PCBs have shown that BGNet surpasses existing state -of -the -art methods in terms of performance. Furthermore, the code for this work is available on GitHub: https://github.com/Max-Chenb/BG-Net.
引用
收藏
页数:12
相关论文
共 53 条
[21]   SIFT Flow: Dense Correspondence across Scenes and Its Applications [J].
Liu, Ce ;
Yuen, Jenny ;
Torralba, Antonio .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2011, 33 (05) :978-994
[22]   An Adaptive Image Segmentation Network for Surface Defect Detection [J].
Liu, Taiheng ;
He, Zhaoshui ;
Lin, Zhijie ;
Cao, Guang-Zhong ;
Su, Wenqing ;
Xie, Shengli .
IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2024, 35 (06) :8510-8523
[23]  
Long J, 2015, PROC CVPR IEEE, P3431, DOI 10.1109/CVPR.2015.7298965
[24]   Distinctive image features from scale-invariant keypoints [J].
Lowe, DG .
INTERNATIONAL JOURNAL OF COMPUTER VISION, 2004, 60 (02) :91-110
[25]   Shape-Consistent One-Shot Unsupervised Domain Adaptation for Rail Surface Defect Segmentation [J].
Ma, Shuai ;
Song, Kechen ;
Niu, Menghui ;
Tian, Hongkun ;
Wang, Yanyan ;
Yan, Yunhui .
IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2023, 19 (09) :9667-9679
[26]   Scoring Bayesian Neural Networks for learning from inconsistent labels in surface defect segmentation [J].
Niu, Tongzhi ;
Chen, Biao ;
Lyu, Qianhang ;
Li, Bei ;
Luo, Wei ;
Wang, Zhenrong ;
Li, Bin .
MEASUREMENT, 2024, 225
[27]   A generalized well neural network for surface defect segmentation in Optical Communication Devices via Template-Testing comparison [J].
Niu, Tongzhi ;
Xie, Zhiyu ;
Zhang, Jie ;
Tang, Lixin ;
Li, Bin ;
Wang, Hao .
COMPUTERS IN INDUSTRY, 2023, 151
[28]   Positive-Sample-Based Surface Defect Detection Using Memory-Augmented Adversarial Autoencoders [J].
Niu, Tongzhi ;
Li, Bin ;
Li, Weifeng ;
Qiu, Yuanhong ;
Niu, Shuanlong .
IEEE-ASME TRANSACTIONS ON MECHATRONICS, 2022, 27 (01) :46-57
[29]  
Ono Y, 2018, ADV NEUR IN, V31
[30]  
Revaud J, 2019, ADV NEUR IN, V32