Professional Documents
Culture Documents
Image Acquisition
Preprocessing
Wavelet Transform
Classifcation
First images are captured using the CCD cameras. The
second step involves that the RGB color image into gray
conversion and the histogram equalization. The third step
involves the wavelet transform of the preprocessed image. The
fourth is the formulation of GLCM and feature extractions,
and the ffh step is fault classifcation using Adaptive Neuro
Fuzzy Inference System (ANFIS).
There are two common types of scanning techniques
employed for the fabric inspection cameras: line scanning and
area scanning. The disadvantage with the line scan cameras is
that they do not generate complete image at once and requires
exteral hardware to build up images fom multiple line scans.
For area scan cameras, the usage of transport encoders is
optional and the inspection resolution in both directions is
independent of web speed. In this project, the camera having
high resolution of659x498 (HxV Pixels) with Charge Coupled
Device (CCD) sensor technology, which is capable of 71
fames/second is used. The pixel data coming fom the camera
is converted into a digitized image by the fame grabber. All
web inspection systems used for fabric inspection, have to
cope with the mUltiple camera inputs. Some systems do this
by using some kind of video multiplexer unit between the
camera and the fame grabber. A rather expensive way to cope
with multiple cameras is to use one fame grabber unit per
camera. IEEE 1 394 FireWire cable is used for communication
between camera and Vision system, and Etheret cable is used
for communication between the Vision system and working
station (PC). Web material images are captured through the
camera using vision system with the help of Vision Assistant
toolkit, and then processed with the help of MA TLAB
sofware.
190
In the proposed scheme, the image obtained fom image
grabber or digital cameras are preprocessed and analyzed for
fault detection and classifcation. During preprocessing, the
fabric color image is converted into gray scale image. The
converted gray scale image is then histogram equalized and
wavelet transform is performed, so that the resultant image
will have the fault in an enhanced form. Thus the resultant
image will be more suitable with distinct fault for detection.
Five co-occurrence matrices are calculated fom the
resultant image, four matrices in different orientations
8
k
:
' (k 1,2,3,4) and the ffh matrix is constructed as
the mean of the preceding four matrices calculated at diferent
angles. Four independent statistical features are extracted fom
the GLCM [1 1 ] and given as inputs to adaptive neuro-fzzy
network. The adaptive neuro-fzzy system is used to classif
the diferent type of faults. The block diagram of the proposed
method of fault detection is illustrated in the Fig. 1 .
Image Result
!
t
Preprocessing
Classifcation
t
Adaptive Neuro-
Wavelet
Fuzzy Inference
Transform
System
! f
GLCM
Feature
formulation
Extraction
Figure 1 . Block diagram of proposed method
III. WAVELET TRANSFORM
The information that is not readily seen in the time domain
can be seen in the fequency domain. To separate the low and
high fequency components of the image, scaling and wavelet
flter function coefcients are used respectively. By using
these fnctions, the information contents of the image are
separated corresponding to low and high fequencies.
The wavelet is constructed by scaling function satisfing
the two-scale difference equations giving in (1 ) and (2) [1 2].
c(x) L
k
h(k)c (2x - k) (1 )
t(x) vL
k
g(k)c (2x - k) (2)
Where,
g(k) (_l)
k
h
(l- k) (3)
The wavelet bases obtained through the above (1 ) and (2)
procedure be unique, orthononal and have desired regularity
[1 3].Multiresolution decomposition using gabor flter results
in redundant features at different scales. This is due to non
orthogonality. Orthogonal wavelets are not redundant and are
suitable for image denoising and compressing.
Biorthogonalwavelet usually has a linear phase property and is
suitable for image feature extraction. The multiresolution
decomposition using orthogonal and compact supported
wavelet bases can be used to avoid the correlation of features
between the scales. Fig. 2. shows the result of Wavelet
decomposed images of web material.
0'
m
%
H
O'0m
Figure 2. Two levels of wavelet decomposition
IV. FEATURE EXTRACTIONTHROUGH GLCM
Image analysis consists of two steps: Feature
Extraction and Recognition (Classifcation). Various
techniques are presented like Markov Random Field (MRF),
Gabor Filter, Spatial Gray Level Dependence Matrix
(SGLDM), Gray Level Run Length Matrix (GLRLM), and
Gray level Dependence Matrix (GLOM) in [1 4]. At
present, research for texture feature extraction is focused
through GLCM.
A. Gra Level Co-occurrence Matri (GLCM)
Features are extracted by computing GLCM, which is used to
describe the texture as a matrix of 'pair gray level
probabilities'. This helps to fnd gray-level pairs, which are all
more dominant and which are all less dominant, and in some
cases, It IS applicable forstochastic textures by randomly
deciding pixel according to pair gray level probabilities. From
the GLCM, four features have been extracted. The extracted
features are Contrast,Correlation, Energy and Homogeneity.
C Class ication
The ANFlS is used for defect classifcation. The extracted
four features are considered as an input to the ANFIS and it
classifes the given input as either Not faulty image or Hole or
Oil Spot or Hole with Oil Spot. ANFlS parameter details are
shown in table I.
TABLE 1.ANFIS NETWORK PARAMETER
Parameters Values
No. of Inputs 4
No. of Output 1
No. of Nodes 1 93
No. of Linear Parameter 405
No. of Non-linear Parameter 24
No. of rules 81
Learing method Hybrid
MSE 0.0952
~~~
.------
Figure 3. Architecture of the ANFIS used for training and
testing
V. RESULTS AND DISCUSSION
In this paper, 40 images have been considered with 30 faulty
images, and results are compared with the existing systems for
the validation. The experiment is conducted in two phases:
Training and Testing. Te existing microcontroller based
fabric inspection is compared with the ANFIS based
inspection system. Results obtained through the proposed
scheme are compared with the existing scheme and the results
191
are shown in table 2.Figure 4 gives the resultant images and
Figure 4 gives the comparison of classifcation result.
(a) (b) (c)
Figure 4. Results of sample images with Various Defects (a)
Hole (b) Oil Spot (c) Hole with Oil Spot
TABLE 2. CLASSIFICATION RESULTS
.
]
0
.
No. of
No. of
Inspection Fabric
Faulty
Method Image
Image
Samples
Manual
40 30
Inspection
Micro
controller
based 40 30
automatic
Inspection
Proposed
Inspection 40 30
System
J5
J0
Z5
0
15
10
Manual Microcontroller Proposed
Method
No. of No. of
Images Fault
Identifed Classif-
as Faulty ed
29 28
21 18
30 29
Images Identificated as faulty
Fault Eactly clasSified
Figure 5. Comparison of classifcation results between the
existing and proposed method
192
VI. CONCLUSION
In this paper computer aided fabric fault detection is
implemented. Wavelet transform is performed and
theFeaturesare extracted by formulation of GLCM for
improved fault classifcation. Proposed method performing
likes manual inspection and provides more effciency than the
existing method as well as the manual inspection method.
ACKNOWLEDGEMENT
We sincerely acknowledge the Department of Science
and Technology for their fnancial support and encouragement
in carrying out this project.
REFERENCES
[I]. Henry Y,T.Ngan, Grantham K.H.Pang, and Nelson
H.C.Yung,"Automated Fabric Defect Detection-A Review",Image
and Vision Computing, Vol. 29, pp. 442-458, 2011.
[2]. Che-Seung Cho, Byeong-Mook Chung and Moo-lin Park,
"Development of Real-Time Vision-Based Fabric Inspection
System",IEEE Transactions on Industrial Electronics, vol. 52, no. 4,
pp. 1073-1079,2005.
[3]. ElhamHoseini, FamoushFarhadi and Farshad Tajeripour, "Fabric
Defect Detection Using Auto-Correlation Function", The 3rd
Interational Conference on Machine Vision (IEEE Trans.), pp. 557-
561, 2010.
[4). Liu Shuguag ad QuPingge, "Fabric Defects Automatic Inspection
Based on Computer Vision", 2n
d
Int. Con! on Image and Sigal
Processing (CISP '09), at Tianjin,pp. 1-5, 17-19 October 2009.
[5). Sabeenian R.S., Paramasivam M.E. and Dinesh P.M., "Computer
Vision based Defect Detection and Identifcation in Handloom Silk
Fabrics", Interational Joural of Computer Applications, vol. 42, no.
17, pp. 41-47, 2012.
[6). Y. Han and P. Shi, "An Adaptive Level-selecting Wavelet Transform
for Texture Defect Detection", Image and Vision Computing, Vol. 25,
pp. 1239-1248,2007.
[7]. Sungshin Kim, Man Hung Lee and Kwang-Bang Woo, "Wavelet
analysis to Fabric Defects Detection in Weaving Processes", Proc.
IEEE Int. Symp. Ind Electron, vol. 3, pp.1406-1409, 1999.
[8]. A. Kumar, "Neural network based detection of local textile defects",
Patter Recognition, Vol. 36, pp. 1645-1659,2003.
[9]. A. Kumar ad H. C. Shen, 'Texture inspection for defects using neural
networks and support vector machines",Proc. IntI. Conference on
Image Processing, ICIP-2002, pp. 353-356, Rochester, New York, Sep.
2002.
[10]. Tamnun E Mursalin, Fajrana Zebin Eishita, Ahmed Ridwanul Islam
and Dr. Md laangir Alam, "Real Time Automated Fabric Defect
Detection System using Microcontroller", Journal of Convergence
Information Technolog, Vol. 3, No. I, March 2008 .
[II]. Robert M. Haralick, Shanmuga K. and Its'HakDinsten, "Textural
Features for Image Classifcation", IEEE Trans. on systems, Man and
Cyberetics,VoI.SMC-3,No.6,pp.61 0-621, 1973.
[12]. A Latif-Amet, A Ertuzun and a. Ercil, "An Efcient Method for
Texture Defect Detection: Sub-band domain co-occurrence matrices",
Image and Vision Computing, Vol. 18, Issue 6-7, pp. 543-553,2000.
[13]. AN. Akansu, R.A. Haddad, "Multiresolution Signal Decomposition",
Academic Press, Boston, MA, 1992.
[14]. Chung-Ming Wu, Yung-Chang Chen "Statistical Feature matrix for
texture Analysis",CVGIP: Graphical Models and Image Processing,
Vol. 54, Issue 10, pp. 407-419, September 1992.