Automatic Fabric Inspection using GLCM-based Jensen-Shannon Divergence

Asha V


Jensen-Shannon divergence is one of the powerful information-theoretic measures that can capture mutual information between two probability distributions. In this paper, a machine vision algorithm is proposed for automatic inspection on dot patterned fabric using Jensen-Shannon divergence based on gray level co-occurrence matrix (GLCM). Input defective images are split into several periodic blocks and the gray levels are quantized from 0-255 to 0-63 to keep the GLCM compact and to reduce the computation time. Symmetric Jensen-Shannon divergence metrics are calculated from the GLCMs of each periodic block with respect to itself and all other periodic blocks to get a dissimilarity matrix. This dissimilarity matrix is subjected to hierarchical clustering to automatically identify defective and defect-free blocks. Results from experiments on real fabric images with defects such as broken end, hole, thin bar, thick bar, netting multiple and knot show the effectiveness of the proposed method for fabric inspection.

Full Text:



Ngan, H.Y.T., Pang, G.H.K., 2009, Regularity Analysis for Patterned Texture Inspection. IEEE Trans. on Autom. Sci. and Eng. 6 (1), 131-144.

Ngan, H.Y.T., Pang, G.H.K., Yung, N.H.C., 2010, Performance Evaluation for Motif-Based Patterned Texture Defect Detection. IEEE Trans. on Autom. Sci. and Eng. 7 (1), 58-72.

Ngan, H.Y.T., Pang, G.H.K., 2006, Novel method for patterned fabric inspection using Bollinger bands. Opt. Eng. 45 (8), 087202-1-15.

Tajeripour, F., Kabir, E., Sheikhi, A., 2007, Fabric Defect Detection Using Modified Local Binary Patterns. In: Proc. of the Int. Conf. on Comput. Intel. and Multimed. Appl., pp. 261-267.

Ngan, H.Y.T., Pang, G.H.K., Yung, N.H.C., 2008, Motif-based defect detection for patterned fabric. Pattern Recognit. 41, 1878-1894.

Ngan, H.Y.T., Pang, G.H.K., Yung, N.H.C., 2010, Ellipsoidal decision regions for motif-based patterned fabric defect detection. Pattern Recognit. 43, 2132-2144.

Ng, M.K., Ngan, H.Y.T., Yuan, X., Zhang, W., 2014, Patterned Fabric Inspection and Visualization by the Method of Image Decomposition. IEEE Trans. on Autom. Sci. and Eng. 11 (3), 943-947.

Liang, J., Chen.C., Jiuzhen, L., Zhenjie, H., 2017, Fabric defect inspection based on lattice segmentation and Gabor filtering. Neurocomput. 238 (5), 84-102.

Mei, S., Wang, Y., Wen, G., 2018, Automatic Fabric Defect Detection with a Multi-Scale Convolutional Denoising Auto-encoder Network Model. Sensors 18 (4), 1064-1074.

Li, C., Gao, G., Liu, Z., Huang, D., Xi, J., 2019, Defect Detection for Patterned Fabric Images Based on GHOG and Low-Rank Decomposition. IEEE Access 7, 83962-83973.

Morales, R.A.L., Yanez, R.E.S., Serrato, R.B., 2016, Defect detection on patterned fabrics using texture periodicity and the coordinated clusters representation, Textile Research J., 87 (15), 1869-1882.

Endres, D.M., Schindelin, J.E., 2003, A New Metric for Probability Distributions. IEEE Trans. on Info. Theory 49 (7), 1858-1860.

Caelli, T., Julesz, B., Gilbert, E., 1978, On Perceptual Analyzers Underlying Visual Texture Discrimination, Part II. Biol. Cybern. 29 (4), 201-214.

Haralick, R.M., Shanmugam, K., Dinstein, I., 1973, Textural features for image classification. IEEE Trans. on Syst., Man and Cybern. 3 (6), 610-621.

Haralick, R.M.: Statistical and structural approaches to texture, 1979, In: Proc. of the IEEE 67 (5), pp. 786 – 804.

Amet, A.L., Ertuzun, A., Ercil, A., 2000, Texture defect detection using subband domain co-occurrence matrices. Image and Vis. Comp. 18, 543-553.

Fernandos, J.C.A., Neves, J.A.B.C, Couto, C.A.C., 1999, Defect Detection and Localization in Textiles using Co-occurrence Matrices and Morphological Operators. In: Proc. of the 6th Int. Conf. on Mechatron. Mach. Vis. In Pract. (M2VIP'99), Ankara, Turkey.

Kuo, C.F.J., Su, T.L., 2003, Gray Relational Analysis for Recognizing Fabric Defects. Textile Res. J. 73 (5), 461-465 (2003)

Soh, L.H., Tsatsoulis, C., 1999, Texture Analysis of SAR Sea Ice Imagery Using Gray Level Co-occurrence Matrices. IEEE Trans. on Geosci. and Remote Sens. 37 (2), 780-795.

Theodoridis, S., Koutroumbas, K., 2009, Pattern Recognition, Fourth Edition, Academic Press, CA.

Asha, V., Bhajantri, N.U., Nagabhushan, P., 2011, Automatic Detection of Texture Defects using Texture-Periodicity and Gabor Wavelets. In: Venugopal, K.R., and Patnaik, L.M. (Eds.): ICIP 2011, Communication and Computer Information Series (CCIS) 157, Springer-Verlag, Berlin Heidelberg, pp. 548-553.

Gonzalez, R.C., Woods, R.E., 2008, Digital Image Processing. Pearson Prentice Hall, New Delhi.

Fawcett, T., 2006, An introduction to ROC analysis, Pattern Recognit. Lett. 27, 861-874.

Brown, C.D., Davis, H.T., 2006, Receiver operating characteristics curves and related decision measures: A tutorial. Chemom. and Intell. Lab. Syst. 80, 24-38.


Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.