Elsevier

Optik

Volume 124, Issue 23, December 2013, Pages 6469-6474
Optik

Fabric defect detection based on GLCM and Gabor filter: A comparison

https://doi.org/10.1016/j.ijleo.2013.05.004Get rights and content

Abstract

Fabric defect detection has been an active area of research since a long time and still a robust system is needed which can fulfill industrial requirements. A robust automatic fabric defect detection system (FDDS) would results in quality products and more revenues. Many different approaches and method have been tried to implement FDDS. Most of them are based on two approaches, one is statistical like gray level co-occurrence (GLCM) and other is transform based like Gabor filter. This paper presents a new scheme for automated FDDS implementation using GLCM and also compare it with Gabor filter approach. GLCM texture statistics are extracted and plotted against the inter-pixel distance of GLCM as signal graph. The non-defective fabric image information is compared with the test fabric image. In Gabor filter based approach, a bank of Gabor filter with different scales and orientations is generated and fabric images are filtered with convolution mask. The generated magnitude responses are compared for defect decision. In our implementation of both approaches in same environment, the GLCM approach produces higher defect detection accuracies than Gabor filter approach and more computationally efficient.

Introduction

In general, an image of woven fabric sample can be regarded as a typical textured image. The detection of local fabric defects is one of the most captivating problems in computer vision and has received much attention over the years. In the textile industry, careful inspections for woven fabrics have to be carried out because fabric defects may reduce the profit of a company by 45% or 65% [1]. Real time automated fabric defect detection plays a crucial role in the textile manufacturing industry to ensure that the industry meets its high quality standards. Indeed. The production of good quality products is a key issue for increasing profitability and customer satisfaction and thus improving the industry's competitive edge in the global market. If defects in the fabrics are not discovered prior to the garment manufacturing process, significant financial losses can incur.

Typically web textile fabric is 1–3 m wide and is driven with speed ranging from 20 to 200 m/min. At present, the quality inspection process is manually preformed by experts. However they cannot detect more than 60% of the overall defects for the fabric if it is moving faster than 30 m/min. To increase the quality and homogeneity of fabrics, an automated visual inspection system is needed for better productivity [2]. One way to reduce the total manufacturing cost and to provide a more reliable, objective, and consistent quality control process is to use an automated visual inspection system to detect possible defects in textile fabrics. However, automated visual inspection becomes a significant challenge due to some specific features pertaining to textile fabrics, for example:

  • (a)

    Large variety of fabric surfaces has to be examined.

  • (b)

    Defects may take different forms that are usually difficult to classify.

  • (c)

    New classes of defects arising from possible changes or aging of machineries in the production process.

This paper proposes a new GLCM based technique to address the above discussed problem and compares it with the existing Gabor filter based approach. A sample of different kind of texture defects is shown in Fig. 1. The paper is organized as follows: Section 2 discusses few related works while Sections 3 GLCM, 4 Gabor filter describe basics of GLCM and Gabor filter respectively. Section 5 presents implementation of FDDS using both approaches and performance of the system is evaluated in Section 6. Finally, Section 7 draws the conclusion of the research.

Section snippets

Related work

In the literature, there are mainly two fabric defect detection approaches, one is based on transform domain based features like Gabor filters while other is statistical texture analysis like GLCM. However few other version of these models and different models are also available. Karayiannis [3] presented multiresolution decomposition based real time FDDS. Cohen [4] has characterized the fabric texture using the Gauss Markov random field (GMRF) model and the fabric inspection process is treated

GLCM

The co-occurrence probabilities provide a second order method for generating texture features. A brief presentation of the GLCM method follows but a more complete explanation is provided by Haralick [22], [23]. The matrix contains the conditional joint probabilities of all pair wise combinations of gray levels given two parameters: interpixel distance (d) and interpixel orientation (θ). Following Barber [24], the probability measure can be defined as:Pr(x)={Cij|(d,θ)}where Cij (the GLCM) is

Gabor filter

Gabor filters can also decompose the image into components corresponding to different scales and orientations. Gabor filters achieve optimal joint localization in spatial and spatial frequency domain [25]. In the spatial domain, the Gabor function is a complex exponential, modulated by a Gaussian function. Its impulse response in the two-dimensional (2D) plane has the following general form [26], [27]:h(x,y)=12πσxσyexp0.5x2σx2+y2σy2exp{j2πFx}where F denotes the radial frequency of the Gabor

Defect detection system implementation

This section discusses FDDS implementation with GLCM and Gabor filter respectively. The system architecture was designed on the principle of components [29].

Results and discussion

In this section, results from both approaches are shown and their analysis has been done.

Gabor filter method

Each of the filters in the filter bank are implemented as four mask sizes; 8 × 8, 16 × 16, 32 × 32 and 64 × 64 and three different combination of scale and orientation is taken; (6,5), (8,5), (9,6). Best results came with 16 × 16 and 32 × 32 masks as 8 × 8 mask does not give best defect information and 64 × 64 is very much computationally expensive. So, results are shown for 32 × 32 mask with scale 6 and orientation 9. Table 3 shows the efficiency of detection.

Bank of 54 even and odd symmetric Gabor filters are

Conclusion

In general, defect detection approaches can be classified into two categories: supervised and unsupervised detection approach. Practically a conventional supervised approach based on the knowledge of some particular defect types may not be suitable. On the other hand, the design of an unsupervised approach is rather complicated. In this paper, two unsupervised defect detection methods have been implemented and compared. Advanced image processing techniques, including image segmentation and

Acknowledgments

Authors would like to thank the Director of Central Electronic Engineering Research Institute/Council of Scientific and Industrial Research (CEERI/CSIR), Pilani, for providing research facilities and for his active encouragement and support.

References (34)

  • K. Srinivasan et al.

    FDAS: A knowledge-based framework for analysis of defects in woven textile structures

    J. Textile Inst.

    (1992)
  • C. Cho et al.

    Development of Real-Time Vision-Based Fabric Inspection System

    IEEE Trans. Ind. Electron.

    (2005)
  • Y.A. Karayiannis et al.

    Defect detection and classification on web textile fabric using multiresolution decomposition and neural networks

  • F.S. Cohen et al.

    Automated inspection of textile fabrics using textural models

    IEEE Trans. Pattern Anal. Mach. Intell.

    (1991)
  • H. Zuo et al.

    Fabric defect detection based on texture enhancement

  • L.H. Siew et al.

    Texture measures for carpet wear assessment

    IEEE Trans. Pattern Anal. Mach. Intell.

    (1988)
  • I. Tsai et al.

    Applying an artificial neural network to pattern recognition in fabric defects

    Text. Res. J.

    (1995)
  • R.W. Conners et al.

    A theoretical comparison of texture algorithms

    IEEE Trans. Pattern Anal. Mach. Intell.

    (1980)
  • J.L. Raheja et al.

    Real time fabric defect detection system on an embedded DSP platform

    Optik

    (2013)
  • Y. Shu et al.

    Fabric defects automatic detection using Gabor filters

  • A. Kumar et al.

    Defect detection in textured materials using Gabor filters

  • H. Alimohamadi et al.

    Defect Detection in Textiles Using Morphological Analysis of Optimal Gabor Wavelet Filter Response,

  • A. Bovik et al.

    Multichannel texture analysis using localised spatial filters

    IEEE Trans. Pattern Anal. Mach. Intell.

    (1990)
  • D. Dunn et al.

    Optimal Gabor filters for texture segmentation

    IEEE Trans. Image Process.

    (1995)
  • A. Teuner et al.

    Unsupervised texture segmentation of images using tuned matched Gabor filters

    IEEE Trans. Image Process.

    (1995)
  • T. Weldon et al.

    Efficient Gabor filter design for texture segmentation

    Pattern Rec. Soc.

    (1996)
  • Hao Liu et al.

    Defect detection in textiles using optimal Gabor wavelet filter

  • Cited by (0)

    View full text