Skip to main content
Log in

Defect detection on button surfaces with the weighted least-squares model

  • Research Article
  • Published:
Frontiers of Optoelectronics Aims and scope Submit manuscript

Abstract

Defect detection is important in quality assurance on production lines. This paper presents a fast machine-vision-based surface defect detection method using the weighted least-squares model. We assume that an inspection image can be regarded as a combination of a defect-free template image and a residual image. The defect-free template image is generated from training samples adaptively, and the residual image is the result of the subtraction between each inspection image and corresponding defect-free template image. In the weighted least-squares model, the residual error near the edge is suppressed to reduce the false alarms caused by spatial misalignment. Experiment results on different types of buttons show that the proposed method is robust to illumination vibration and rotation deviation and produces results that are better than those of two other methods.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Li W B, Lu C H, Zhang J C. A lower envelope Weber contrast detection algorithm for steel bar surface pit defects. Optics & Laser Technology, 2013, 45(1): 654–659

    Article  Google Scholar 

  2. Crispin A J, Rankov V. Automated inspection of PCB components using a genetic algorithm template-matching approach. International Journal of Advanced Manufacturing Technology, 2007, 35(3): 293–300

    Article  Google Scholar 

  3. Arivazhagan S, Ganesan L, Bama S. Fault segmentation in fabric images using Gabor wavelet transform. Machine Vision and Applications, 2006, 16(6): 356–363

    Article  Google Scholar 

  4. Li W C, Tsai D M. Wavelet-based defect detection in solar wafer images with inhomogeneous texture. Pattern Recognition, 2012, 45(2): 742–756

    Google Scholar 

  5. Tsai D M, Wu S C, Chiu W Y. Defect detection in solar modules using ICA basis images. IEEE Transactions on Industrial Informatics, 2013, 9(1): 122–131

    Article  Google Scholar 

  6. Cen Y G, Zhao R Z, Cen L H, Cui L H, Miao Z J, Wei Z. Defect inspection for TFT-LCD images based on the low-rank matrix reconstruction. Neurocomputing, 2015, 149: 1206–1215

    Article  Google Scholar 

  7. Zhou W, Fei M, Zhou H, Li K. A sparse representation based fast detection method for surface defect detection of bottle caps. Neurocomputing, 2014, 123: 406–414

    Article  Google Scholar 

  8. Bai X, Fang Y, Lin W, Wang L, Ju B F. Saliency-based defect detection in industrial images by using phase spectrum. IEEE Transactions on Industrial Informatics, 2014, 10(4): 2135–2145

    Article  Google Scholar 

  9. Tsai D M, Chiang I Y, Tsai Y H. A shift-tolerant dissimilarity measure for surface defect detection. IEEE Transactions on Industrial Informatics, 2012, 8(1): 128–137

    Article  Google Scholar 

  10. Chan C H, Pang G K. Fabric defect detection by Fourier analysis. IEEE Transactions on Industry Applications, 2000, 36(5): 1267–1276

    Article  Google Scholar 

  11. Ngan H Y T, Pang G K H, Yung S P, Ng M K. Wavelet based methods on patterned fabric defect detection. Pattern Recognition, 2005, 38(4): 559–576

    Article  Google Scholar 

  12. Yang X, Pang G, Yung N. Robust fabric defect detection and classification using multiple adaptive wavelets. IEE Proceedings–Vision Image and Signal Processing, 2005, 152(6): 715

    Article  Google Scholar 

  13. Ralló M, Millán M S, Escofet J. Unsupervised novelty detection using Gabor filters for defect segmentation in textures. Journal of the Optical Society of America A, Optics, Image Science, and Vision, 2009, 26(9): 1967–1976

    Article  Google Scholar 

  14. Kumar A, Pang G K. Defect detection in textured materials using Gabor filters. IEEE Transactions on Industry Applications, 2002, 38(2): 425–440

    Article  Google Scholar 

  15. Wang C C, Jiang B C, Lin J Y, Chu C C. Machine vision-based defect detection in IC images using the partial information correlation coefficient. IEEE Transactions on Semiconductor Manufacturing, 2013, 26(3): 378–384

    Article  Google Scholar 

  16. Zontak M, Cohen I. Defect detection in patterned wafers using anisotropic kernels. Machine Vision and Applications, 2010, 21(2): 129–141

    Article  MATH  Google Scholar 

  17. Stauffer C, Grimson W E L. Adaptive background mixture models for real-time tracking. In: Proceedings of IEEE Computer Society Conference on Computer Vision and Pattern Recognition. 1999, 2: 246–252

    Google Scholar 

  18. Kaewtrakulpong P, Bowden R. An improved adaptive background mixture model for real-time tracking with shadow detection.Springer US, 2002: 135–144

    Google Scholar 

  19. Zivkovic Z. Improved adaptive Gaussian mixture model for background subtraction. In: Proceedings of International Conference on Pattern Recognition, 2004

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Danhua Cao.

Additional information

Yu Han received his B.E. degree in the School of Optical and Electronic Information, Huazhong University of Science and Technology, in 2014. He is currently pursuing his M.E. degree in the School of Optical and Electronic Information, Huazhong University of Science and Technology. His research interests include machine vision and image processing.

Yubin Wu is an associate professor in the School of Optical and Electronic Information, Huazhong University of Science and Technology. He received his M.E. degree in optical engineering from Institute of Optics and Electronics of the Chinese Academy of Sciences in 1987. He received his B.E. degree in optical instruments from Huazhong University of Science and Technology in 1984. His research interests include optoelectronic sensing and signal processing, machine vision, and development of high-tech products.

Danhua Cao is a professor in the School of Optical and Electronic Information, Huazhong University of Science and Technology. She received her Ph.D. degree in electronic physics and devices from Huazhong University of Science and Technology in 1993. She received her B.E. degree in measuring and control technology and instrumentations from Huazhong University of Science and Technology in 1987. She is a permanent member of the Professional Committee of Opto-electronic Technology in the Chinese Optical Society. Her research interests include optoelectronic sensing and signal processing as well as machine vision algorithms and systems.

Peng Yun is a senior student in the School of Optical and Electronic Information, Huazhong University of Science and Technology. During his undergraduate study, he was active in the field of machine vision and machine learning. He has joined Robotics and Multiperception Laboratory, where he conducts research on cloud-based simultaneous localization and mapping algorithms. His research interests include machine vision, machine learning, and SLAM.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Han, Y., Wu, Y., Cao, D. et al. Defect detection on button surfaces with the weighted least-squares model. Front. Optoelectron. 10, 151–159 (2017). https://doi.org/10.1007/s12200-017-0687-7

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12200-017-0687-7

Keywords

Navigation