Advertisement

A Fast Surface Defect Detection Method Based on Background Reconstruction

  • Chengkan Lv
  • Zhengtao Zhang
  • Fei ShenEmail author
  • Feng Zhang
  • Hu Su
Regular Paper
  • 23 Downloads

Abstract

In this paper, we propose an unsupervised background reconstruction method to detect defects on surfaces with unevenly distributed textures. An improved deep convolutional autoencoder is utilized to reconstruct the textured background of the original image as a defect-free reference. Specifically, a weighted loss function based on structural similarity (SSIM) is utilized to adapt to the unevenly distributed texture background and improve the reconstruction accuracy. Furthermore, combined with the reconstructed defect-free reference, a novel difference analysis method based on the discrete cosine transform (DCT) is given to accurately segment the defect regions from the original image. A series of experiments for the defect detection on mobile phone cover glass (MPCG) are conducted. The processing time for an image of 512 × 512 pixels is only 20 ms, which satisfies the requirement of online detection. The experimental results verify the effectiveness of the proposed method.

Keywords

Defect detection Unsupervised learning Background reconstruction 

Notes

Acknowledgements

This research is supported by National Natural Science Foundation of China under Grant 61503378 and Youth Innovation Promotion Association, CAS (2013097).

References

  1. 1.
    Yun, J., Jeon, Y., Choi, D., & Kim, S. (2012). Real-time defect detection of steel wire rods using wavelet filters optimized by univariate dynamic encoding algorithm for searches. Journal of Optical Society of America A,29(5), 797–807.CrossRefGoogle Scholar
  2. 2.
    Malge, P., & Nadaf, R. (2014). PCB defect detection, classification and localization using mathematical morphology and image processing tools. International Journal of Computer Applications,87(9), 40–45.CrossRefGoogle Scholar
  3. 3.
    Ngan, H., Pang, G., & Yung, N. (2011). Automated fabric defect detection—a review. Image and Vision Computing,29(7), 442–458.CrossRefGoogle Scholar
  4. 4.
    Kumar, A. (2008). Computer-vision-based fabric defect detection: A survey. IEEE Transactions on Industrial Electronics,55(1), 348–363.CrossRefGoogle Scholar
  5. 5.
    Xie, X. (2008). A review of recent advances in surface defect detection using texture analysis techniques. Electronic Letters on Computer Vision and Image Analysis,7(3), 1–22.CrossRefGoogle Scholar
  6. 6.
    Cha, Y., Choi, W., Suh, G., Mahmoudkhani, S., & Büyüköztürk, O. (2018). Autonomous structural visual inspection using region-based deep learning for detecting multiple damage types. Computer-Aided Civil and Infrastructure Engineering,33(9), 731–747.CrossRefGoogle Scholar
  7. 7.
    Chen, J., Liu, Z., Wang, H., Núñez, A., & Han, Z. (2017). Automatic defect detection of fasteners on the catenary support device using deep convolutional neural network. IEEE Transactions on Instrumentation and Measurement,67(2), 257–269.CrossRefGoogle Scholar
  8. 8.
    Yuan, Z., Zhang, Z., Su, H., Zhang, L., Shen, F., & Zhang, F. (2018). Vision-based defect detection for mobile phone cover glass using deep neural networks. International Journal of Precision Engineering and Manufacturing,19(6), 801–810.CrossRefGoogle Scholar
  9. 9.
    Tsai, D., Chiang, I., & Tsai, Y. (2011). A shift-tolerant dissimilarity measure for surface defect detection. IEEE Transactions on Industrial Informatics,8(1), 128–137.MathSciNetCrossRefGoogle Scholar
  10. 10.
    Kong, H., Yang, J., & Chen, Z. (2017). Accurate and efficient inspection of speckle and scratch defects on surfaces of planar products. IEEE Transactions on Industrial Informatics,13(4), 1855–1865.CrossRefGoogle Scholar
  11. 11.
    Annaby, M., Fouda, Y., & Rushdi, M. (2019). Improved normalized cross-correlation for defect detection in printed-circuit boards. IEEE Transactions on Semiconductor Manufacturing,32(2), 199–211.CrossRefGoogle Scholar
  12. 12.
    Tsai, D., & Huang, T. (2003). Automated surface inspection for statistical textures. Image and Vision Computing,21(4), 307–323.CrossRefGoogle Scholar
  13. 13.
    Aiger D., Talbot H. (2010). The phase only transform for unsupervised surface defect detection. In: IEEE Conference on computer vision and pattern recognition (pp. 295–302). San Francisco, CA, USA: IEEE.Google Scholar
  14. 14.
    Tsai, D., & Kuo, C. (2007). Defect detection in inhomogeneously textured sputtered surfaces using 3D Fourier image reconstruction. Machine Vision and Applications,18(6), 383–400.CrossRefGoogle Scholar
  15. 15.
    Carrera D., Boracchi G., Foi A., Wohlberg B. (2016). Scale-invariant anomaly detection with multiscale group-sparse models. In IEEE international conference on image processing (pp. 3892–3896). Phoenix, AZ, USA: IEEE.Google Scholar
  16. 16.
    Carrera, D., Manganini, F., Boracchi, G., & Lanzarone, E. (2016). Defect detection in SEM images of nanofibrous materials. IEEE Transactions on Industrial Informatics,13(2), 551–561.CrossRefGoogle Scholar
  17. 17.
    Liang, L., Li, D., Fu, X., & Zhang, W. (2016). Touch screen defect inspection based on sparse representation in low resolution images. Multimedia Tools and Applications,75(5), 2655–2666.CrossRefGoogle Scholar
  18. 18.
    Chalapathy R., Menon A., Chawla S. (2017). Robust, deep and inductive anomaly detection. In Joint European conference on machine learning and knowledge discovery in databases (pp. 36–51). Skopje, Macedonia: Springer.CrossRefGoogle Scholar
  19. 19.
    Zhao Z., Li B., Dong R., Zhao P. (2018). A surface defect detection method based on positive samples. In Pacific Rim international conference on artificial intelligence (pp. 473–481) Nanjing: Springer.Google Scholar
  20. 20.
    Mei, S., Yang, H., & Yin, Z. (2018). An unsupervised-learning-based approach for automated defect inspection on textured surfaces. IEEE Transactions on Instrumentation and Measurement,67(6), 1266–1277.CrossRefGoogle Scholar
  21. 21.
    Yang H., Chen Y., Song K., Yin Z. (2019). Multiscale feature-clustering-based fully convolutional autoencoder for fast accurate visual inspection of texture surface defects. IEEE Transactions on Automation Science and Engineering.Google Scholar
  22. 22.
    Liou, C., Cheng, W., Liou, J., & Liou, D. (2014). Autoencoder for words. Neurocomputing,139, 84–96.CrossRefGoogle Scholar
  23. 23.
    Wang, Z., Bovik, A., Sheikh, H., & Simoncelli, E. (2004). Image quality assessment: from error visibility to structural similarity. IEEE Transactions on Image Processing,13(4), 600–612.CrossRefGoogle Scholar
  24. 24.
    Baur C., Wiestler B., Albarqouni S., Navab N. (2018). Deep autoencoding models for unsupervised anomaly segmentation in brain MR images. In International MICCAI Brainlesion Workshop (pp. 161–169). Granada: Springer.CrossRefGoogle Scholar
  25. 25.
    Ke M., Lin C., Huang Q. (2017). Anomaly detection of Logo images in the mobile phone using convolutional autoencoder. In International conference on systems and informatics (pp. 1163–1168). Hangzhou: IEEE.Google Scholar

Copyright information

© Korean Society for Precision Engineering 2019

Authors and Affiliations

  1. 1.Research Center of Precision Sensing and Control, Institute of Automation, Chinese Academy of SciencesBeijingPeople’s Republic of China
  2. 2.University of Chinese Academy of SciencesBeijingPeople’s Republic of China
  3. 3.CASI Vision Technology CO., LTDLuoyangPeople’s Republic of China

Personalised recommendations