Journal of South China University of Technology(Natural Science Edition) ›› 2021, Vol. 49 ›› Issue (7): 76-85,124.doi: 10.12141/j.issn.1000-565X.200749

Special Issue: 2021年计算机科学与技术

• Computer Science & Technology • Previous Articles     Next Articles

Unsupervised Surface Defect Detection Method Based on Image Inpainting

HU Guanghua WANG Ning HE Wenliang TANG Huixiong   

  1. School of Mechanical and Automotive Engineering,South China University of Technology,Guangzhou 510640,Guangdong,China
  • Received:2020-12-07 Revised:2021-02-15 Online:2021-07-25 Published:2021-07-01
  • Contact: 胡广华 ( 1980-) ,男,博士,副教授,主要从事机器视觉和图像处理研究。 E-mail:ghhu@scut.edu.cn
  • About author:胡广华 ( 1980-) ,男,博士,副教授,主要从事机器视觉和图像处理研究。
  • Supported by:
    Supported by the National Natural Science Foundation of China for Youth ( 51505155) and the Natural Science Foundation of Guangdong Province ( 2020A1515010698)

Abstract: For the detection of non-uniform and non-periodic irregular texture surface defects,it is difficult to achieve conventional image reconstruction as the background texture is a non-stationary signal. It is also difficult to obtain sufficient information about the defects such as shape,gray scale and other image features in advance. And the visual features of similar defects can present great dispersion. The existing detection methods based on target features are inapplicable. Therefore,this paper proposed an unsupervised learning surface defect detection method based on image inpainting. Firstly,the method used a small number of normal texture samples as training set to train the network model. Then,the missing area was set artificially in the sample image and the network model was used to predict the content of the missing areas during the testing stage. By combining the structural similarity evaluation and residual error of the reconstructed image and the image to be tested,the defect detection and separation were realized. The experimental results show that the proposed method can not only effectively detect the defects on the regular texture surface but also detect the defects of irregular texture surfaces effectively,showing good practicability and adaptability.

Key words: irregular texture, defect detection, image inpainting, unsupervised learning

CLC Number: