Improving Visual Defect Detection and Localization in Industrial Thermal Images Using Autoencoders
Open Access
- 7 July 2023
- journal article
- research article
- Published by MDPI AG in Journal of Imaging
- Vol. 9 (7) , 137
Abstract
Reliable functionality in anomaly detection in thermal image datasets is crucial for defect detection of industrial products. Nevertheless, achieving reliable functionality is challenging, especially when datasets are image sequences captured during equipment runtime with a smooth transition from healthy to defective images. This causes contamination of healthy training data with defective samples. Anomaly detection methods based on autoencoders are susceptible to a slight violation of a clean training dataset and lead to challenging threshold determination for sample classification. This paper indicates that combining anomaly scores leads to better threshold determination that effectively separates healthy and defective data. Our research results show that our approach helps to overcome these challenges. The autoencoder models in our research are trained with healthy images optimizing two loss functions: mean squared error (MSE) and structural similarity index measure (SSIM). Anomaly score outputs are used for classification. Three anomaly scores are applied: MSE, SSIM, and kernel density estimation (KDE). The proposed method is trained and tested on the 32 × 32-sized thermal images, including one contaminated dataset. The model achieved the following average accuracies across the datasets: MSE, 95.33%; SSIM, 88.37%; and KDE, 92.81%. Using a combination of anomaly scores could assist in solving a low classification accuracy. The use of KDE improves performance when healthy training data are contaminated. The MSE+ and SSIM+ methods, as well as two parameters to control quantitative anomaly localization using SSIM, are introduced.Keywords
This publication has 18 references indexed in Scilit:
- Anomaly detection of defects on concrete structures with the convolutional autoencoderAdvanced Engineering Informatics, 2020
- Robust Anomaly Detection in Images Using Adversarial Autoencoders2020
- On normalization and algorithm selection for unsupervised outlier detectionData Mining and Knowledge Discovery, 2019
- Improving Unsupervised Defect Segmentation by Applying Structural Similarity to Autoencoders2019
- Kernel density estimation and its applicationITM Web of Conferences, 2018
- Deep Feature Learning for Medical Image Analysis with Convolutional Autoencoder Neural NetworkIEEE Transactions on Big Data, 2017
- Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discovery2017
- Reducing the Dimensionality of Data with Neural NetworksScience, 2006
- Image quality assessment: from error visibility to structural similarityIEEE Transactions on Image Processing, 2004
- Learning Internal Representations by Error Propagation1985