3D Research

, 10:5 | Cite as

Fabric Defect Detection Adopting Combined GLCM, Gabor Wavelet Features and Random Decision Forest

  • Nilesh Tejram DeotaleEmail author
  • Tanuja K. Sarode
3DR Express


In image analysis and pattern recognition activity, one of the most salient characteristics is texture. The global region of images in spatial domain has an enhanced processing effect with the help of co-occurrence matrix and in the frequency domain for the admirable performance such as multi-scale, multi-direction local information is obtained from Gabor wavelet. The consolidation of gray-level co-occurrence matrix and Gabor wavelet is utilized to fabric image feature texture eradication. In classification phase, random decision forest (RDFs) Classifier is applied to classify the input fabric image into defective or non-defective. RDFs are a novel and outfit machine learning strategy which fuses the element choice. Nevertheless, RDFs exhibit a lot of advantages when compared with other modeling approaches within the category. The main advantages are, RDFs can handle both the continuous and discrete variables, RDFs does not overfit as a classifier, and run quick and productively when taking care of expansive datasets.

Graphical Abstract

In this paper the consolidation of gray-level co-occurrence matrix (GLCM) and Gabor wavelet is utilized to fabric image feature texture eradication. In classification phase, random decision forest (RDFs) classifier is applied to classify the input fabric image into defective or non-defective.


Fabric defect detection Feature extraction GLCM Gabor wavelet Random decision forest 



Gray-level co-occurrence matrix


Random decision forest




Learning vector quantization


Generalized Gaussian density


Maximum likelihood


Artificial neural network


Markov random field


Local comprehensive patterns


Isotropic lattice segmentation


Lattice segmentation assisted by Gabor filters


Morphological component analysis


Variance of variance


Local multi-channels Gabor comprehensive patterns


Local Gabor magnitude map


Direction derivatives patterns


Direction magnitude patterns


Adaptive median filter


  1. 1.
    Bissi, L., Baruffa, G., Placidi, P., et al. (2013). Automated defect detection in uniform and structured fabrics using Gabor filters and PCA. Journal of Visual Communication and Image Representation, 24, 838–845. Scholar
  2. 2.
    Böttger, T., & Ulrich, M. (2016). Real-time texture error detection on textured surfaces with compressed sensing. Pattern Recognition and Image Analysis, 26, 88–94. Scholar
  3. 3.
    Cammett, M. (2007). Business-government relations and industrial change: The politics of upgrading in Morocco and Tunisia. World Development, 35, 1889–1903. Scholar
  4. 4.
    Clausi, D. (2012). An analysis of co-occurrence texture statistics as a function of grey level quantization. Canadian Journal of Remote Sensing, 28, 45–62. Scholar
  5. 5.
    Deepak Sonje, M., Kundu, P., & Chowdhury, A. (2017). A novel approach for multi class fault diagnosis in induction machine based on statistical time features and random forest classifier. IOP Conference Series: Materials Science and Engineering, 225, 012141. Scholar
  6. 6.
    Hanbay, K., Talu, M., & Özgüven, Ö. (2016). Fabric defect detection systems and methods—A systematic literature review. Optik: International Journal for Light and Electron Optics, 127, 11960–11973. Scholar
  7. 7.
    Hanmandlu, M., Choudhury, D., & Dash, S. (2014). Detection of defects in fabrics using topothesy fractal dimension features. Signal, Image and Video Processing, 9, 1521–1530. Scholar
  8. 8.
    Jia, L., Chen, C., Liang, J., & Hou, Z. (2017). Fabric defect inspection based on lattice segmentation and Gabor filtering. Neurocomputing, 238, 84–102. Scholar
  9. 9.
    Jia, L., & Liang, J. (2017). Fabric defect inspection based on isotropic lattice segmentation. Journal of the Franklin Institute, 354, 5694–5738. Scholar
  10. 10.
    Jiang, Q., Shao, F., Jiang, G., et al. (2015). Supervised dictionary learning for blind image quality assessment using quality-constraint sparse coding. Journal of Visual Communication and Image Representation, 33, 123–133. Scholar
  11. 11.
    Jing, J. (2015). Automatic defect detection of patterned fabric via combining the optimal Gabor filter and golden image subtraction. Journal of Fiber Bioengineering and Informatics, 8, 229–239. Scholar
  12. 12.
    Jing, J., Zhang, H., Wang, J., et al. (2013). Fabric defect detection using Gabor filters and defect classification based on LBP and Tamura method. Journal of the Textile Institute, 104, 18–27. Scholar
  13. 13.
    Kwon, B., Won, J., & Kang, D. (2015). Fast defect detection for various types of surfaces using random forest with VOV features. International Journal of Precision Engineering and Manufacturing, 16, 965–970. Scholar
  14. 14.
    Li, Y., & Zhang, C. (2016). Automated vision system for fabric defect inspection using Gabor filters and PCNN. SpringerPlus. Scholar
  15. 15.
    Li, Y., Zhao, W., & Pan, J. (2017). Deformable patterned fabric defect detection with Fisher criterion-based deep learning. IEEE Transactions on Automation Science and Engineering, 14, 1256–1264. Scholar
  16. 16.
    Liu, Z., Wang, J., Zhao, Q., & Li, C. (2014). A fabric defect detection algorithm based on improved valley-emphasis method. Research Journal of Applied Sciences, Engineering and Technology, 7, 2427–2431. Scholar
  17. 17.
    Liu, Z., Yan, L., Li, C., et al. (2017). Fabric defect detection based on sparse representation of main local binary pattern. International Journal of Clothing Science and Technology, 29, 282–293. Scholar
  18. 18.
    Kure, N. U., & Biradar, M. S. (2017). Fabric defect detection algorithm based on local neighborhood analysis. International Journal of Engineering Research and Applications.. Scholar
  19. 19.
    Padma, A., & Giridharan, N. (2016). Performance comparison of texture feature analysis methods using PNN classifier for segmentation and classification of brain CT images. International Journal of Imaging Systems and Technology, 26, 97–105. Scholar
  20. 20.
    Qu, T., Zou, L., Zhang, Q., et al. (2015). Defect detection on the fabric with complex texture via dual-scale over-complete dictionary. The Journal of The Textile Institute, 107, 743–756. Scholar
  21. 21.
    Rebhi, A., Benmhammed, I., Abid, S., & Fnaiech, F. (2015). Fabric defect detection using local homogeneity analysis and neural network. Journal of Photonics, 2015, 1–9. Scholar
  22. 22.
    Sankaran, A., Jain, A., Vashisth, T., Vatsa, M., & Singh, R. (2017). Adaptive latent fingerprint segmentation using feature selection and random decision forest classification. Information Fusion, 34, 1–15. Scholar
  23. 23.
    Susan, S., & Sharma, M. (2017). Automatic texture defect detection using Gaussian mixture entropy modeling. Neurocomputing, 239, 232–237. Scholar
  24. 24.
    Tabassian, M., Ghaderi, R., & Ebrahimpour, R. (2011). Knitted fabric defect classification for uncertain labels based on Dempster–Shafer theory of evidence. Expert Systems with Applications, 38, 5259–5267. Scholar
  25. 25.
    Tao, G., Wu, X., Tan, W., & Feng, X. (2015). A novel texture description by local multi-channels Gabor comprehensive patterns. Optik: International Journal for Light and Electron Optics, 126, 2214–2218. Scholar
  26. 26.
    Tong, L., Wong, W., & Kwong, C. (2017). Fabric defect detection for apparel industry: A nonlocal sparse representation approach. IEEE Access. Scholar
  27. 27.
    Tsai, D., Wu, S., & Chiu, W. (2013). Defect detection in solar modules using ICA basis images. IEEE Transactions on Industrial Informatics, 9, 122–131. Scholar
  28. 28.
    Tsang, C., Ngan, H., & Pang, G. (2016). Fabric inspection based on the Elo rating method. Pattern Recognition, 51, 378–394. Scholar
  29. 29.
    Wang, C., Li, J., Chen, M., et al. (2015). The obtainment and recognition of raw silk defects based on machine vision and image analysis. The Journal of The Textile Institute, 107, 316–326. Scholar
  30. 30.
    Workgroup on “Texture Analysis of DFG, “TILDA Textile Texture Database. Accessed 2 Oct 2013.
  31. 31.
    Yapi, D., Allili, M., & Baaziz, N. (2018). Automatic fabric defect detection using learning-based local textural distributions in the contourlet domain. IEEE Transactions on Automation Science and Engineering, 15, 1014–1026. Scholar
  32. 32.
    Yapi, D., Mejri, M., Allili, M., & Baaziz, N. (2015). A learning-based approach for automatic defect detection in textile images. IFAC-PapersOnLine, 48, 2423–2428. Scholar
  33. 33.
    Yildiz, K. (2016). Dimensionality reduction-based feature extraction and classification on fleece fabric images. Signal, Image and Video Processing, 11, 317–323. Scholar
  34. 34.
    Yuan, X., Wu, L., & Peng, Q. (2015). An improved Otsu method using the weighted object variance for defect detection. Applied Surface Science, 349, 472–484. Scholar
  35. 35.
    Zhang, Y., Lu, Z., & Li, J. (2010). Fabric defect classification using radial basis function network. Pattern Recognition Letters, 31, 2033–2042. Scholar
  36. 36.
    Zhou, J., & Wang, J. (2013). Fabric defect detection using adaptive dictionaries. Textile Research Journal, 83, 1846–1859. Scholar

Copyright information

© 3D Display Research Center, Kwangwoon University and Springer-Verlag GmbH Germany, part of Springer Nature 2019

Authors and Affiliations

  1. 1.Computer Engineering DepartmentThadomal Shahani College of EngineeringMumbaiIndia

Personalised recommendations