CPAM: Cross Patch Attention Module for Complex Texture Tile Block Defect Detection

被引:4
作者
Zhu, Wenbo [1 ]
Wang, Quan [1 ]
Luo, Lufeng [1 ]
Zhang, Yunzhi [1 ]
Lu, Qinghua [1 ]
Yeh, Wei-Chang [2 ]
Liang, Jiancheng [1 ]
机构
[1] Foshan Univ, Sch Mechatron Engn & Automat, Foshan 528225, Peoples R China
[2] Natl Tsing Hua Univ, Dept Ind Engn & Engn Management, Hsinchu 30013, Taiwan
来源
APPLIED SCIENCES-BASEL | 2022年 / 12卷 / 23期
基金
中国国家自然科学基金;
关键词
attention mechanism; deep learning; tile; defect detection; NETWORK;
D O I
10.3390/app122311959
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
Due to the little variation in defect points, tile block defect detection typically detects subtle defects in large-format images, allowing defective characteristics to be displayed regionally. Traditional convolutional neural network architectures that extract regional features take into account the connection between regional features simply, resulting in the presence of region-specific bias, which makes tile block defect detection still a challenging task. To address this challenge, this paper divides feature information into patches that can represent different regional features. Additionally, the relationship between different patches and tile block defects is studied; as a result, this paper proposes a new attention mechanism called the Cross Patch Attention Module (CPAM). Since the regional performance of patches is consistent with the tile block defect characteristics, CPAM can distinguish various regional features by patches. Then, in order to create reliable one-dimensional patch information, CPAM provides a method to connect patches linearly in two spatial directions. This takes into account the correlation of adjacent patches in various spatial directions. Finally, by extracting the regional characteristics of patches, CPAM can successfully assist the model in distinguishing the importance of different patches. The experimental results demonstrate that CPAM has excellent performance for tile block defect detection, and plugging CPAM into different end-to-end models can have a good gain effect, which can effectively and stably help the model to complete the task of tile block defect detection.
引用
收藏
页数:14
相关论文
共 30 条
  • [1] Bochkovskiy A., 2020, ARXIV 200410934
  • [2] Chaiyasarn K, 2021, J ENG SCI TECHNOL, V16, P3057
  • [3] RetinaNet With Difference Channel Attention and Adaptively Spatial Feature Fusion for Steel Surface Defect Detection
    Cheng, Xun
    Yu, Jianbo
    [J]. IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, 2021, 70 (70)
  • [4] Cordonnier J-B, 2019, ARXIV
  • [5] Dosovitskiy A., 2020, INT C LEARN REPR
  • [6] Ge Z., 2021, YOLOX: Exceeding YOLO series in 2021., DOI 10.48550/ARXIV.2107.08430
  • [7] Skin Lesion Classification Using CNNs With Patch-Based Attention and Diagnosis-Guided Loss Weighting
    Gessert, Nils
    Sentker, Thilo
    Madesta, Frederic
    Schmitz, Ruediger
    Kniep, Helge
    Baltruschat, Ivo
    Werner, Rene
    Schlaefer, Alexander
    [J]. IEEE TRANSACTIONS ON BIOMEDICAL ENGINEERING, 2020, 67 (02) : 495 - 503
  • [8] Improved YOLOV4-CSP Algorithm for Detection of Bamboo Surface Sliver Defects With Extreme Aspect Ratio
    Guo, Yijing
    Zeng, Yixin
    Gao, Fengqiang
    Qiu, Yi
    Zhou, Xuqiang
    Zhong, Linwei
    Zhan, Choujun
    [J]. IEEE ACCESS, 2022, 10 : 29810 - 29820
  • [9] Han K., 2021, Advances in Neural Information Processing Systems, DOI 10.48550/arXiv.2103.00112
  • [10] Automatic detection and classification of the ceramic tiles' surface defects
    Hanzaei, Saeed Hosseinzadeh
    Afshar, Ahmad
    Barazandeh, Farshad
    [J]. PATTERN RECOGNITION, 2017, 66 : 174 - 189