Abstract
Fabric defect detection is an important part of the fabric production process. To realize the automatic detection of fabric defects, many algorithms based on machine vision technology have been proposed. However, the defect detection algorithms for patterned fabrics are still not mature enough. This paper proposes a fabric defect detection method based on low-rank decomposition with structural constraints. This method extracts the energy features and then constructs a fusion image of the original image and the energy image to highlight the defective regions. By considering the spatial connection of defective pixels, a new low-rank decomposition model is constructed by introducing the structured sparsity-inducing norm. After the low-rank decomposition, we can get the sparse part containing the defective pixels with high spatial continuity. Finally, we obtain the defect detection result by thresholding the sparse part. Experimental comparisons show that our method is superior to several state-of-the-art fabric defect detection methods.
Similar content being viewed by others
References
Hanbay, K., Talu, M.F., Ozguven, O.F.: Fabric defect detection systems and methods: a systematic literature review. Optik Int. J. Light Electron Opt. 127(24), 11960–11973 (2016)
Ngan, H.Y.T., Pang, G.K.H., Yung, S.P.: Automated fabric defect detection: a review. Image Vis. Comput. 29(7), 442–458 (2011)
Gui, Y., Ma, L.: Periodic pattern of texture analysis and synthesis based on texels distribution. Vis. Comput. 26(6–8), 951–964 (2010)
Mak, K.L., Peng, P.: An automated inspection system for textile fabrics based on Gabor filters. Robot. Comput. Integr. Manuf. 24(3), 359–369 (2008)
Zhu, D., Pan, R., Gao, W., Zhang, J.: Yarn-dyed fabric defect detection based on autocorrelation function and GLCM. Autex Res. J. 15(3), 226–232 (2015)
Shi, M., Fu, R., Guo, Y., Bai, S., Xu, B.: Fabric defect detection using local contrast deviations. Multimedia Tools Appl. 52(1), 147–157 (2011)
Mak, K.L., Peng, P., Yiu, K.F.C.: Fabric defect detection using morphological filters. Image Vis. Comput. 27(10), 1585–1592 (2009)
Chan, C.H., Pang, G.K.H.: Fabric defect detection by Fourier analysis. IEEE Trans. Ind. Appl. 36(5), 1267–1276 (2000)
Bissi, L., Giuseppe, B., Placidi, P., Ricci, E., Scorzoni, A., Valigi, P.: Automated defect detection in uniform and structured fabrics using Gabor filters and PCA. J. Vis. Commun. Image Represent. 24(7), 838–845 (2013)
Yang, X., Pang, G., Yung, N.: Robust fabric defect detection and classification using multiple adaptive wavelets. IEEE Proc. Vis. Image Signal Process. 152(6), 715–723 (2005)
Li, M., Cui, S., Xie, Z.: Application of Gaussian mixture model on defect detection of print fabric. J. Text. Res. 36(8), 94–98 (2015)
Cohen, F.S., Fan, Z., Attali, S.: Automated inspection of textile fabrics using textural models. IEEE Trans. Pattern Anal. Mach. Intell. 13(8), 803–808 (1991)
Guan, S., Shi, H.: Fabric defect detection based on the saliency map construction of target-driven feature. J. Text. Inst. 109(9), 1133–1142 (2018)
Ngan, H.Y.T., Pang, G.K.H., Yung, S.P., Ng, M.K.: Wavelet based methods on patterned fabric defect detection. Pattern Recognit. 38(4), 559–576 (2005)
Tsang, C.S.C., Ngan, H.Y.T., Pang, G.K.H.: Fabric inspection based on the ELO rating method. Pattern Recognit. 51(4), 378–394 (2016)
Bi, L., Kim, J., Kumar, A., Fulham, M., Feng, D.: Stacked fully convolutional networks with multi-channel learning: application to medical image segmentation. Vis. Comput. 33(6–8), 1061–1071 (2017)
Lin, J., Yao, Y., Ma, L., Wang, Y.: Detection of a casting defect tracked by deep convolution neural network. Int. J. Adv. Manuf. Technol. 97(4), 1–9 (2018)
Sun, J., Xiao, Z., Xie, Y.: Automatic multi-fault recognition in TFDS based on convolutional neural network. Neurocomputing 222, 127–136 (2017)
Wei, X., Jiang, S., Li, Y., et al.: Defect detection of pantograph slide based on deep learning and image processing technology. IEEE Trans. Intell. Transp. Syst. 21(3), 947–958 (2020)
Huang, H., Hu, C., Wang, T.: Surface defects detection for mobilephone panel workpieces based on machine vision and machine learning. In: IEEE International Conference on Information and Automation (ICIA), pp. 370–375 (2017)
Krummenacher, G., Ong, C.S., Koller, S., Kobayashi, S., Buhmann, J.M.: Wheel defect detection with machine learning. IEEE Trans. Intell. Transp. Syst. 19(4), 1176–1187 (2018)
Seker, A., Peker, K.A., Yuksek, A.G., Delibas, E.: Fabric defect detection using deep learning. In: 24th Signal Processing and Communication Application Conference (SIU), pp. 1437–1440 (2016)
Li, Y., Zhao, W., Pan, J.: Deformable patterned fabric defect detection with fisher criterion-based deep learning. IEEE Trans. Autom. Sci. Eng. 14(2), 1256–1264 (2017)
Candès, E.J., Li, X.D., Ma, Y., Wright, J.: Robust principal component analysis. J. ACM 58(3), 11 (2011)
Gao, G., Zhang, D., Li, C., Liu, Z., Liu, Q.: A novel patterned fabric defect detection algorithm based on GHOG and low-rank recovery. In: IEEE 13th International Conference on Signal Processing (ICSP), pp. 1118–1123 (2016)
Cao, J., Wang, N., Zhang, J., Wen, Z., Li, B., Liu, X.: Detection of varied defects in diverse fabric images via modified RPCA with noise term and defect prior. Int. J. Cloth. Sci. Technol. 28(4), 516–529 (2016)
Stark, J.A.: Adaptive image contrast enhancement using generalizations of histogram equalization. IEEE Trans. Image Process. 9(5), 889–896 (2000)
Doyle, L., Mould, D.: Augmenting photographs with textures using the Laplacian pyramid. Vis Comput. 35(10), 1489–1500 (2019)
Otsu, N.: A threshold selection method from gray-level histogram. IEEE Trans. Syst. Man Cybern. Syst. 9(1), 62–66 (1979)
Dong, R., Li, B., Xu, C.: Fast fabric defect detection algorithm based on integral image. J. Text. Res. 37(11), 141–147 (2016)
Zhu, S.C., Guo, C.E., Wang, Y.Z., Xu, Z.J.: What are textons? Int. J. Comput. Vis. 62(1–2), 121–143 (2005)
Mairal, J., Jenatton, R., Obozinski, G., Bach, F.: Network flow algorithms for structured sparsity. In: Proc. Adv. Neural Inf. Process. Syst., pp. 1558–1566 (2010)
Lin, Z., Liu, R., Su, Z.: Linearized alternating direction method with adaptive penalty for low-rank representation. In: Proc. Adv. Neural Inf. Process. Syst., pp. 612–620 (2011)
Cai, J.F., Candès, E.J., Shen, Z.: A singular value thresholding algorithm for matrix completion. SIAM J. Optim. 20(4), 1956–1982 (2010)
Ng, M.K., Ngan, H.Y.T., Yuan, X., Zhang, W.: Patterned fabric inspection and visualization by the method of image decomposition. IEEE Trans. Autom. Sci. Eng. 11(3), 943–947 (2014)
Acknowledgments
This research was supported by Tianjin Science and Technology Plan Project (Grant No. 18JCTPJC62700). And the database employed in this research is provided by Industrial Automation Research Laboratory from Department of Electrical and Electronic Engineering of Hong Kong University. Link address of the dataset: https://ytngan.wordpress.com/codes.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
Guohua Liu declares that he has no conflict of interest. Fei Li declares that he has no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Liu, G., Li, F. Fabric defect detection based on low-rank decomposition with structural constraints. Vis Comput 38, 639–653 (2022). https://doi.org/10.1007/s00371-020-02040-y
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00371-020-02040-y