journal article·2025-04-03

An industrial product surface anomaly detection method based on masked image modeling

Shancheng Tang, Heng Li, Fenghua Dai, Jiqing Yang, Zicheng Jin, Jianhui Lu, Ying Zhang

Publisher page

Abstract

Current unsupervised industrial product surface anomaly detection methods suffer from poor reconstructed image quality and difficulty in detecting low-contrast anomalies, resulting in low anomaly detection accuracy. To address the above problems, we propose an unsupervised masked hybrid convolutional Transformer anomaly detection model, which forces the model to predict missing or edited regions based on unmasked information by introducing a mask reconstruction strategy, and utilises convolutional blocks and Transformer self-attention mechanism to extract the local features and global context of the image at different resolutions, enhancing the model’s ability to understand the interrelationships among image parts and the overall structure. information to enhance the model’s ability to understand the interrelationships between image parts and the overall structure, and to improve the reconstruction ability of the model; then a method based on Gaussian difference significance is proposed, which is combined with gradient magnitude similarity and colour difference to compare the differences between reconstructed and original images from multiple perspectives, and to improve the anomaly localisation performance of the model. We conducted extensive experiments on the industrial datasets MVTec AD and MTD to validate the effectiveness of the proposed method.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Industrial Vision Systems and Defect Detection · Anomaly Detection Techniques and Applications · Digital Media Forensic Detection

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Xi’an University of Science and Technology

CCCC Second Highway Engineering Co. Ltd

Funding

National Key Research and Development Program of China · Shaanxi Science and Technology Plan Key Industry Innovation Chain (Group)—Project in Industrial Field · Program of Xi’an Municipal Bureau of Science and Technology

References (38)

Show source-provided references
1. 10.1080/10589759.2023.216928510.1080/10589759.2023.2169285 ↗
2. 10.1080/10589759.2024.231926310.1080/10589759.2024.2319263 ↗
3. 10.1016/j.media.2019.05.00210.1016/j.media.2019.05.002 ↗
4. 10.1007/s44196-023-00328-010.1007/s44196-023-00328-0 ↗
5. Yi J, Yoon S. Patch svdd: Patch-level svdd for anomaly detection and segmentation. In: Proceedings of the Asian conference on computer vision; Kyoto, Japan. 2020.
6. 10.1109/ICSP58490.2023.1024849510.1109/ICSP58490.2023.10248495 ↗
7. 10.1109/ACCESS.2022.316959410.1109/ACCESS.2022.3169594 ↗
8. 10.1016/j.media.2019.01.01010.1016/j.media.2019.01.010 ↗
9. 10.1142/S012906572250030710.1142/S0129065722500307 ↗
10. 10.1109/TIM.2021.310758610.1109/TIM.2021.3107586 ↗
11. 10.1177/004051751986288010.1177/0040517519862880 ↗
12. 10.3390/pr1109261510.3390/pr11092615 ↗
13. 10.1016/j.optlaseng.2023.10767410.1016/j.optlaseng.2023.107674 ↗
14. 10.1109/TIE.2021.309445210.1109/TIE.2021.3094452 ↗
15. 10.1016/j.cie.2022.10831310.1016/j.cie.2022.108313 ↗
16. Bergmann P Löwe S Fauser M Sattlegger D and Steger C. Improving unsupervised defect segmentation by applying structural similarity to autoencoders 2018 ” arXiv preprint arXiv:.02011 2018.10.5220/0007364503720380 ↗
17. 10.1007/s13042-023-01913-710.1007/s13042-023-01913-7 ↗
18. Liu T Li B Zhao Z Du X Jiang B and Geng L. Reconstruction from edge image combined with color and gradient difference for industrial surface anomaly detection ” arXiv preprint arXiv:.14485. 2022.
19. 10.1109/WACV51458.2022.0013710.1109/WACV51458.2022.00137 ↗
20. Dosovitskiy A Beyer L Kolesnikov A et al. An image is worth 16x16 words: Transformers for image recognition at scale ” arXiv preprint arXiv:.11929. 2020.
21. Xie E, Wang W, Yu Z, et al. SegFormer: Simple and efficient design for semantic segmentation with transformers. Adv Neural Inf Process Syst. 2021;34:12077–12090.
22. 10.1109/CVPR52688.2022.0155310.1109/CVPR52688.2022.01553 ↗
23. Gao P, Ma T, Li H, et al. MCMAE: Masked convolution meets masked autoencoders. Adv Neural Inf Process Syst. 2022;35:35632–35644.
24. 10.1007/s10845-022-01964-710.1007/s10845-022-01964-7 ↗
25. 10.3390/electronics1115230610.3390/electronics11152306 ↗
26. 10.1016/j.neunet.2021.12.00810.1016/j.neunet.2021.12.008 ↗
27. 10.1109/TIM.2023.325022510.1109/TIM.2023.3250225 ↗
28. 10.1016/j.engappai.2023.10667710.1016/j.engappai.2023.106677 ↗
29. 10.1109/TIP.2003.81986110.1109/TIP.2003.819861 ↗
30. 10.1109/TIP.2013.229342310.1109/TIP.2013.2293423 ↗
31. 10.1016/j.patcog.2020.10770610.1016/j.patcog.2020.107706 ↗
32. Bergmann P, Fauser M, Sattlegger D, et al. MVTec AD–A comprehensive real-world dataset for unsupervised anomaly detection. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition; Long Beach, CA, USA. 2019. p. 9592–9600.
33. 10.1007/s00371-018-1588-510.1007/s00371-018-1588-5 ↗
34. 10.1109/WACV48630.2021.0003210.1109/WACV48630.2021.00032 ↗
35. 10.1109/CVPR46437.2021.0095410.1109/CVPR46437.2021.00954 ↗
36. 10.1109/TMM.2022.317561110.1109/TMM.2022.3175611 ↗
37. 10.1007/978-3-030-68799-1_3510.1007/978-3-030-68799-1_35 ↗
38. 10.1109/ACCESS.2022.317155910.1109/ACCESS.2022.3171559 ↗