- Open Access
- Total Downloads : 17
- Authors : Mr.P.Anand, S.Madhushalini, R.Nagapriyanka, G.Selvi
- Paper ID : IJERTCONV5IS09033
- Volume & Issue : NCIECC – 2017 (Volume 5 – Issue 09)
- Published (First Online): 24-04-2018
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
Fabric Flaw Ferreting
Mr.P.Anand1, S.MadhuShalini2, R.NagaPriyanka3, G.Selvi4
1Assistant Professor, 2, 3, 4 UG Students Department of Electronics and Communication Engineering,
Velammal College of Engineering and Technology, Madurai-625009
Abstract–The main focus in this study is to do texture segmentation for fault detection and classification of faults in textile texture images. Initially the low frequency and high frequency components of the image are separated and feature is extracted using Gabor filter. Also Statistical features can be calculated based Wavelet transformation on the grey level co- occurrence matrices (GLCM). The statistical features used in this study are Energy, Correlation, Contrast, and Homogeneity, Entropy, Inertia, Cluster shade & prominence. To post-process the image, artificial neural network (ANN), K-Nearest neighbour (K-NN) and Minimum Distance classifier (D-min) had been proposed to do classification on the extracted features from GLCM and Wavelet Transformation. ANN, D-min and KNN were trained by training data set and then used as diagnostic classifiers. The roles of the classifier techniques were studied. Comparison is also made between GLCM and Gabor filter. Performance evaluation is made from the results and it is shown that GLCM with ANN yields proficient results than GLCM with other classifiers and also Gabor Wavelet transformation with all three classifiers. The experimental results demonstrate that the proposed method can reliably separate different fault conditions in textile texture images.
KeywordsGLCM, Gabor Wavelet Transformation, KNN, ANN, and D-min
-
INTRODUCTION
In textile industry, automated visual inspection systems are highly needed owing to the very slow speed of human inspection compared to the production rate in modern manufacturing industries. Digital image processing is increasingly applied to textured sample analysis in past few years. In that way, Fabric Flaw Ferreting is a quality check process that aims at identification of regions that differ from uniform background (high degree of periodicity) in-order to prevent defects in fabric production and to change process parameters to improve product quality. This computational technique which is an attractive alternative to human vision inspection for detection, classification and segmentation of defects like missing yawn, hole, scratch, oil spot, etc in addition to defects due to change in operating conditions (temperature, humidity, etc) reduces labour cost. Besides classifying a certain appearance of the fabric, registering the exact location of the defects and their type determination are also important to prevent defects from reoccurring which adds advantage of getting a warning when a certain defect or imperfection occurs during the production and precautionary measures can be taken by the manufacturer before the product hits the market. Since a garment with textile defects usually sells with a massive discount, in harsh economic times, first quality fabric (totally free of
major defects and virtually free of minor structural defects) plays the main role to insure survival in a competitive marketplace. The various fault detection approaches for textile web material are statistical, structural and model based approach from which an idea about fabric inspection method is proposed.
In this research paper, the time and frequency information of an image is separated using Gabor wavelet transform. The potential of the Gray Level Co-occurrence Matrix (GLCM) is also investigated and we use classifiers like neural networks, K nearest neighbours and minimum distance classifiers that classify the identified textile defects. GLCM is a widely used texture descriptor whose statistical features are based on gray level intensities of the image. Such features of the GLCM are useful in texture recognition & analysis, image segmentation & retrieval, colour image analysis, object recognition etc. The neural networks are used as a classifier to detect the presence of defects in textiles fabric products. K-nearest neighbour algorithm (k-NN), a non-parametric method in statistical estimation and pattern recognition is used for classification and regression. In both cases, the input consists of the k closest training examples in the feature space, by storing all available cases and classifying new cases based on a similarity measure like distance functions. The minimum distance classifier classifies unknown image data to classes which minimize the distance (index of similarity) between the image data and the class in multi-feature space, so that the minimum distance is identical to the maximum similarity.
-
BLOCK DIAGRAM
Schematic diagram for real(a) and imaginary(b) parts of a typical Gabor Filter
IV. GREY LEVEL COOCURRENCE MATRIX
In our work, we are using GLCM for image extraction. The extracted features represent the image properties such as energy, entropy, contrast, correlation, homogeneity, Inertia, Cluster Shade and Prominence.
Entropy gives a measure of complexity of an image.
=1
Entropy=-
=1
[, ][, ]Energy provides the sum of squared elements in GLCM known as uniformity or angular second moments. And its range lies within range [0 1].
=1
Energy:
=1
(, )2
Contrast is a measure of gray level variation between reference pixel and its neighbour in an image.
-
GABOR WAVELET TRANSFORM
Kruger and Sommer proposed the concept of
Contrast: 1
2
()
=1
=1
( )2(, )
Gabor Wavelet Networks (GWN), on the basis of wavelet networks. Gabor wavelet function is used as a transfer function. The mapping form of the network can be
Correlation measures the linear dependency of grey levels of an image with those of neighbouring pixels.
governed by
Correlation: =1
=1
(,)
=1
F(x,y) =
(, ) +
Homogeneity measures how close the distribution of elements in the GLCM is to the diagonal of GLCM.
where f is introduced to eliminate the DC value of an objective function and is a network weight from
Homogeneity:
(,)
the hidden layer to the output layer. A 2-D Gabor
=1
=1 (1+||)
function can form complete but non-orthogonal basis set. It controls the radial frequency bandwidths (, ), the orientation and the central frequency.
The schematic diagram of a Gabor filter in spatial domain is shown in the fig II. The real part of the Gabor wavelet is even symmetric and imaginary part is odd symmetric. The real part is an excellent blob detector whereas the imaginary part is used to represent the imaginary part of Gabor function to simplify the explanation.
-
CLASSIFIER
K-NEAREST NEIGHBOUR ALGORITHM
K-Nearest Neighbour algorithm is most widely used in classification problems in industry. Both classification and regression predictive problems use KNN classifier. The distance d(Xi, Xj) between query points on testing image Xi and a set of training samples Xj is measured and thus a new object based on K-NN category of Y attribute of training samples is classified.
Query points Xi = X1, X2, X3……. Xn. Training samples Xj = X1, X2, X3……. Xn.
Dist(c1,c2)= (attri(c1) attri(c2))2
=1
The KNN algorithm works as follows,
Step 1: Analyse thedata. Shown in fig V(a), to classify the grey points into a class (Lime green, green, Orange)
Step 2: calculate the distance between grey point and all other points fig V(b).
Fig V (a) Fig V (b)
Fig V (c) Fig V (d)
Step 3: Find neighbours fig V(c). Nearest neighbours are ranked by increasing distance i.e. the nearest neighbours of the grey points are the ones closest in datasets.
Step 4: Vote on labels fig V(d). Vote on the predicted class labels based on the classes of the K nearest neighbours. Here K=3.
ARTIFICIAL NEURAL NETWORK
Artificial Neural Network (ANN) or Neural Network (NN) has provided an exciting alternative method for solving a variety of problems in different fields of science and engineering. It has incredible characteristics such as massive parallelism, distributed representation and computation, learning and generalization ability, adaptively, which seems simple but is really complicated.
BACK PROPAGATION MODEL
Back Propagation is a feedback network. It is done until the error rate is low and has a reference value in hidden layer for changing in weights to learn train set.
Here it follows supervised learning. It has 2 modes:
-
Pattern mode:
In the network for each iteration every node is updated to back propagate the network.
-
Batch mode:
In the network after all nodes are updated, the back propagation is done. And it has some parameters are as follows:
-
Epoch: It is a measure of the number of times all of the training vectors are used once to update the weights.
-
Iterations: It is an every single repetition of a process of Back propagation.
-
Error rate: It is done until low error as keeping the reference value in hidden.
-
The steps are to be followed:
-
Select a set of images with the faulty textile textures.
-
The input is the extracted features for those set of images.
-
Calculate the overall net trained value for these features.
-
A sample image is taken as test image.
-
Calculate the difference between trained image and the test image.
-
Set the average value as threshold value and according to the value the classify images by neural network.
-
-
RESULTS AND DISCUSSION
Fig 6.1 input
Fig 6.2 GLCM output
Fig 6.3(a) Gabor filter output
Fig 6.3(b) Gabor filter output
Fig 6.4 Gabor vs GLCM output
Fig 6.5 ANN output graph
Fig 6.6 KNN output
Fig 6.7 GLCM parameters and ANN output
Initially the test image is fed to the software, which converts the colour image into a gray scale picture as shown in Fig 6.1, following which the gray scale image is converted into matrices by the GLCM algorithm and the statistical features are extracted and the fault is identified as in Fig 6.2. Now the same gray scale image is also processed by wavelet transformation technique which uses Gabor filter to extract the same features. The gabor filter outputs are shown in Fig 6.3(a) and 6.3(b). On comparing the outputs, the features of GLCM is more desirable which is in Fig 6.4. The post-process of our work is to classify the features of the faults identified using three different classifiers as ANN, KNN and Dmin classifiers. Of the three classifiers, ANN is found more efficient than other two classifiers which is shown in Fig 6.5 and Fig 6.6. So our proposed work is to extract the features of textile images using the GLCM algorithm for fault identification and classify the fault using ANN classifier as shown in Fig 6.7 which yields 94.285% efficiency.
-
CONCLUSION
In this project, the features are extracted using wavelet transform method by Gabor filter as well as GLCM and we found that the GLCM method produces more desirable output when compared to Gabor filter. KNN and ANN were trained by training data set and then used as defect classifiers. We use the back propagation neural network for image classification and use optimum method to train it. Actually we test the performance of our proposed system with data base of different kind of objects. Variable K value and hidden neuron count (N) with a step size of 1 for KNN and ANN were used in the range of 1 to 20, to gain the best classification results. The roles of wavelet transform GLCM, KNN, ANN and Dmin techniques were studied. From the results, it is shown that the performance of ANN is better than KNN and Dmin. The results show that the KNN and ANN were able to classify the texture image with 87.5% to 94.285% accuracy respectively for the textile application. The experimental results demonstrate that the proposed method can reliably separate different fault conditions in texture images of textiles.
-
REFERENCES
-
-
Gamil Abdel Azim, Identification Of Textile Defects Based On Glcm And Neural Networks, Journal Of Computer And Communications, 2015, 3, 1-8, Published Online December 2015 In Scires, Http://Www.Scirp.Org/Journal/Jcc.
-
K.V.Naveen Kumar, U.S.Ragupathy, An Intelligent Scheme For Fault Detection In Textile Web Materials, International Journal Of Computer Applications (0975 8887), Volume 46 No.10, May 2012.
-
B. Venkatesan, U.S.Ragupathy, P.Vidhyalakshmi, B.Vinoth, Inspection Of Faults In Textile Web Materials Using Wavelets And Anfis, 978-1-4673-2322-2112/$31.00 ©2012 Ieee.
-
U. S. Ragupathy, K. V. Naveen Kumar, Fault Detection In Textile Web Materials Using Machine Vision Technique, International Journal Of Computational Intelligence And Informatics, Vol. 1 : No. 2, July – September 2011, Issn: 2349 6363.
-
Vikrant Tiwari, Gaurav Sharma, Automatic Fabric Fault Detection Using Morphological Operations On Bit Plane, Ijcsns International Journal Of Computer Science And Network Security, Vol.15 No.10, October 2015, Manuscript Received October 5, 2015 Manuscript Revised October 20, 2015.
-
Abdel Salam Malek, Online Fabric Inspection By Image Processing Technology, Https://Tel.Archives- Ouvertes.Fr/Tel-00720041, Ph.D. Thesis Submitted On 23 Jul 2012.
-
Priyanka M. Shanbhag , Manish P. Deshmukh& Shekhar R. Suralkar, Overview: Methods Of Automatic Fabric Defect Detection, G.J. E.D.T., Vol. 1(2) 2012:42-46 Issn 2319 7293.
-
M Mirmehdi, R Ma_R K, M Petrou, J Kittler, Structural Fault Detection In Random Macro Textures.
-
G.Revathy, P.Vidhyalakshmi, Defect Classification In Fabric Web Material Using Labview, International Journal Of Computer Applications (0975 8887) Volume 63 No.18, February 2013.
-
K. L. Mak, and P. Peng Detecting Defects in Textile Fabrics with Optimal Gabor Filters World Academy of Science, Engineering and Technology 13 2006.