Intraclass Image Augmentation for Defect Detection Using Generative Adversarial Neural Networks

Surface defect identification based on computer vision algorithms often leads to inadequate generalization ability due to large intraclass variation. Diversity in lighting conditions, noise components, defect size, shape, and position make the problem challenging. To solve the problem, this paper de...

Full description

Bibliographic Details
Main Authors: Vignesh Sampath, Iñaki Maurtua, Juan José Aguilar Martín, Ander Iriondo, Iker Lluvia, Gotzone Aizpurua
Format: Article
Language:English
Published: MDPI AG 2023-02-01
Series:Sensors
Subjects:
Online Access:https://www.mdpi.com/1424-8220/23/4/1861
_version_ 1827755668710359040
author Vignesh Sampath
Iñaki Maurtua
Juan José Aguilar Martín
Ander Iriondo
Iker Lluvia
Gotzone Aizpurua
author_facet Vignesh Sampath
Iñaki Maurtua
Juan José Aguilar Martín
Ander Iriondo
Iker Lluvia
Gotzone Aizpurua
author_sort Vignesh Sampath
collection DOAJ
description Surface defect identification based on computer vision algorithms often leads to inadequate generalization ability due to large intraclass variation. Diversity in lighting conditions, noise components, defect size, shape, and position make the problem challenging. To solve the problem, this paper develops a pixel-level image augmentation method that is based on image-to-image translation with generative adversarial neural networks (GANs) conditioned on fine-grained labels. The GAN model proposed in this work, referred to as Magna-Defect-GAN, is capable of taking control of the image generation process and producing image samples that are highly realistic in terms of variations. Firstly, the surface defect dataset based on the magnetic particle inspection (MPI) method is acquired in a controlled environment. Then, the Magna-Defect-GAN model is trained, and new synthetic image samples with large intraclass variations are generated. These synthetic image samples artificially inflate the training dataset size in terms of intraclass diversity. Finally, the enlarged dataset is used to train a defect identification model. Experimental results demonstrate that the Magna-Defect-GAN model can generate realistic and high-resolution surface defect images up to the resolution of 512 × 512 in a controlled manner. We also show that this augmentation method can boost accuracy and be easily adapted to any other surface defect identification models.
first_indexed 2024-03-11T08:12:15Z
format Article
id doaj.art-d85a003af2424cda865df1500af2cd5b
institution Directory Open Access Journal
issn 1424-8220
language English
last_indexed 2024-03-11T08:12:15Z
publishDate 2023-02-01
publisher MDPI AG
record_format Article
series Sensors
spelling doaj.art-d85a003af2424cda865df1500af2cd5b2023-11-16T23:07:09ZengMDPI AGSensors1424-82202023-02-01234186110.3390/s23041861Intraclass Image Augmentation for Defect Detection Using Generative Adversarial Neural NetworksVignesh Sampath0Iñaki Maurtua1Juan José Aguilar Martín2Ander Iriondo3Iker Lluvia4Gotzone Aizpurua5Smart and Autonomous System Unit, Tekniker, Member of Basque Research & Technology Alliance, 20600 Eibar, SpainSmart and Autonomous System Unit, Tekniker, Member of Basque Research & Technology Alliance, 20600 Eibar, SpainDepartment of Design and Manufacturing Engineering, School of Engineering and Architecture, University of Zaragoza, 50009 Zaragoza, SpainSmart and Autonomous System Unit, Tekniker, Member of Basque Research & Technology Alliance, 20600 Eibar, SpainSmart and Autonomous System Unit, Tekniker, Member of Basque Research & Technology Alliance, 20600 Eibar, SpainSmart and Autonomous System Unit, Tekniker, Member of Basque Research & Technology Alliance, 20600 Eibar, SpainSurface defect identification based on computer vision algorithms often leads to inadequate generalization ability due to large intraclass variation. Diversity in lighting conditions, noise components, defect size, shape, and position make the problem challenging. To solve the problem, this paper develops a pixel-level image augmentation method that is based on image-to-image translation with generative adversarial neural networks (GANs) conditioned on fine-grained labels. The GAN model proposed in this work, referred to as Magna-Defect-GAN, is capable of taking control of the image generation process and producing image samples that are highly realistic in terms of variations. Firstly, the surface defect dataset based on the magnetic particle inspection (MPI) method is acquired in a controlled environment. Then, the Magna-Defect-GAN model is trained, and new synthetic image samples with large intraclass variations are generated. These synthetic image samples artificially inflate the training dataset size in terms of intraclass diversity. Finally, the enlarged dataset is used to train a defect identification model. Experimental results demonstrate that the Magna-Defect-GAN model can generate realistic and high-resolution surface defect images up to the resolution of 512 × 512 in a controlled manner. We also show that this augmentation method can boost accuracy and be easily adapted to any other surface defect identification models.https://www.mdpi.com/1424-8220/23/4/1861class imbalanceconvolutional neural networkdefect detectionGANimage augmentationlimited data
spellingShingle Vignesh Sampath
Iñaki Maurtua
Juan José Aguilar Martín
Ander Iriondo
Iker Lluvia
Gotzone Aizpurua
Intraclass Image Augmentation for Defect Detection Using Generative Adversarial Neural Networks
Sensors
class imbalance
convolutional neural network
defect detection
GAN
image augmentation
limited data
title Intraclass Image Augmentation for Defect Detection Using Generative Adversarial Neural Networks
title_full Intraclass Image Augmentation for Defect Detection Using Generative Adversarial Neural Networks
title_fullStr Intraclass Image Augmentation for Defect Detection Using Generative Adversarial Neural Networks
title_full_unstemmed Intraclass Image Augmentation for Defect Detection Using Generative Adversarial Neural Networks
title_short Intraclass Image Augmentation for Defect Detection Using Generative Adversarial Neural Networks
title_sort intraclass image augmentation for defect detection using generative adversarial neural networks
topic class imbalance
convolutional neural network
defect detection
GAN
image augmentation
limited data
url https://www.mdpi.com/1424-8220/23/4/1861
work_keys_str_mv AT vigneshsampath intraclassimageaugmentationfordefectdetectionusinggenerativeadversarialneuralnetworks
AT inakimaurtua intraclassimageaugmentationfordefectdetectionusinggenerativeadversarialneuralnetworks
AT juanjoseaguilarmartin intraclassimageaugmentationfordefectdetectionusinggenerativeadversarialneuralnetworks
AT andeririondo intraclassimageaugmentationfordefectdetectionusinggenerativeadversarialneuralnetworks
AT ikerlluvia intraclassimageaugmentationfordefectdetectionusinggenerativeadversarialneuralnetworks
AT gotzoneaizpurua intraclassimageaugmentationfordefectdetectionusinggenerativeadversarialneuralnetworks