Detection of Scratch Defects on Metal Surfaces Based on MSDD-UNet

被引:0
作者
Liu, Yan [1 ]
Qin, Yunbai [1 ]
Lin, Zhonglan [1 ]
Xia, Haiying [1 ]
Wang, Cong [1 ]
机构
[1] Guangxi Normal Univ, Sch Elect & Informat Engn, Guilin 541004, Peoples R China
关键词
defect detection; attention mechanism; hybrid loss; U-Net; SPD module; semantic segmentation;
D O I
10.3390/electronics13163241
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In this work, we enhanced the U-shaped network and proposed a method for detecting scratches on metal surfaces based on the Metal Surface Defect Detection U-Net (MSDD-UNet). Initially, we integrated a downsampling approach using a Space-To-Depth module and a lightweight channel attention module to address the loss of contextual information in feature maps that results from multiple convolution and pooling operations. Building on this, we developed an improved attention module that utilizes image frequency decomposition and cross-channel self-attention mechanisms, as well as the strengths of convolutional encoders and self-attention blocks. Additionally, this attention module was integrated into the skip connections between the encoder and decoder. The purpose was to capture dense contextual information, highlight small and fine target areas, and assist in localizing micro and fine scratch defects. In response to the severe foreground-background class imbalance in scratch images, a hybrid loss function combining focal loss and Dice loss was put forward to train the model for precise scratch segmentation. Finally, experiments were conducted on two surface defect datasets. The results reveal that our proposed method is more advantageous than other state-of-the-art scratch segmentation methods.
引用
收藏
页数:17
相关论文
共 38 条
  • [1] Deep learning-based concrete defects classification and detection using semantic segmentation
    Arafin, Palisa
    Billah, A. H. M. Muntasir
    Issa, Anas
    [J]. STRUCTURAL HEALTH MONITORING-AN INTERNATIONAL JOURNAL, 2024, 23 (01): : 383 - 409
  • [2] Edge devices-oriented surface defect segmentation by GhostNet Fusion Block and Global Auxiliary Layer
    Ardiyanto, Igi
    [J]. JOURNAL OF REAL-TIME IMAGE PROCESSING, 2024, 21 (01)
  • [3] Cao KD, 2019, ADV NEUR IN, V32
  • [4] Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation
    Chen, Liang-Chieh
    Zhu, Yukun
    Papandreou, George
    Schroff, Florian
    Adam, Hartwig
    [J]. COMPUTER VISION - ECCV 2018, PT VII, 2018, 11211 : 833 - 851
  • [5] DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFs
    Chen, Liang-Chieh
    Papandreou, George
    Kokkinos, Iasonas
    Murphy, Kevin
    Yuille, Alan L.
    [J]. IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2018, 40 (04) : 834 - 848
  • [6] Drop an Octave: Reducing Spatial Redundancy in Convolutional Neural Networks with Octave Convolution
    Chen, Yunpeng
    Fan, Haoqi
    Xu, Bing
    Yan, Zhicheng
    Kalantidis, Yannis
    Rohrbach, Marcus
    Yan, Shuicheng
    Feng, Jiashi
    [J]. 2019 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2019), 2019, : 3434 - 3443
  • [7] Chen ZY, 2020, AAAI CONF ARTIF INTE, V34, P10599
  • [8] Dosovitskiy A, 2021, Arxiv, DOI [arXiv:2010.11929, DOI 10.48550/ARXIV.2010.11929]
  • [9] Cross Position Aggregation Network for Few-Shot Strip Steel Surface Defect Segmentation
    Feng, Hu
    Song, Kechen
    Cui, Wenqi
    Zhang, Yiming
    Yan, Yunhui
    [J]. IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, 2023, 72
  • [10] Ghiasi G, 2018, ADV NEUR IN, V31