pre-selection was thereby done using the Shannon-
entropy value. The accuracy indicates the success-
ful differentiation between the 4 classes (True Posi-
tive Rate). It was tested against a data set of 537 im-
ages. The images were equally distributed over five
subsets. For each training of a classifier four subsets
were used for training and one for testing. The results
in identification show that the approach using patches
resulted in a weaker performance compared to the one
using the full image. The SURF interest point fea-
tures in a Bag of Words (BOW) approach showed a
better performance than LBP feature. This may rea-
soned in their scale and rotation invariant character-
istic. In the verification scenario the same data set
was used as for the identification scenario. As SVM
and SURF outerperformed the AdaBoost classifier by
an average of 3.67% accuracy, the verification results
are only shown for the SVM classifier and SURF fea-
tures. The results show clearly better accuracy for all
textile types and a difference of only 2.89% accuracy
between the patch based approach and the approach
using the full image was obtained. A possible rea-
son for the poor performance of the approach with
pre-selection of pieces of cloth is caused by the kind
of information excluded by the algorithm. It can be
seen that discriminative information is stored in even
patches with lower entropy. The speed of the algo-
rithm using SURF features on image patches on an
Intel Core i7 4770 is 503ms. The approach using the
full image instead of patches is 923ms.
Table 3: Classification accuracy in identification scenario.
Image Size Feature Classifier Accuracy
Full Image LBP/PCA SVM 65.52%
Full Image SURF(BOW)SVM 86.43%
Patches LBP/PCA SVM 59.9%
Patches SURF(BOW)SVM 85.41%
Full Image LBP/PCA AdaBoost 63.96%
Full Image SURF
(BOW)
AdaBoost 82.10%
Patches LBP/PCA AdaBoost 59.72%
Patches SURF
(BOW)
AdaBoost 80.33%
5 CONCLUSION
In this work, fabric patterns were classified using a
database of textiles in a pile-like arrangement. There
are multiple steps for classifying the fabrics: one in-
volves extracting the features of woven fabric im-
ages, the other involves recognizing the class of wo-
Table 4: Classification accuracy in verification scenario us-
ing SVM.
Image Size Type Feature Accuracy
Full Image 1 SURF (BOW) 94.68%
Full Image 2 SURF (BOW) 89.91%
Full Image 3 SURF (BOW) 96.56%
Full Image 4 SURF (BOW) 94.96%
Patches 1 SURF (BOW) 90.01%
Patches 2 SURF (BOW) 89.26%
Patches 3 SURF (BOW) 92.14%
Patches 4 SURF (BOW) 94.95%
ven fabrics. In order to find a solution which takes
into account speed and accuracy, an approach which
used patches instead of the full image was decided
upon. Interest points as well as texture analysis based
features were deployed and evaluated using different
classifiers. For both identification and verification, the
interest point based descriptor, SURF (in combination
with bag of words and the SVM classifier), demon-
strated the best performance. The patch-based ap-
proach reduced the calculation costs needed for pre-
diction by 46% while showing reduced 3.67% less ac-
curacy the verification. With the development of fur-
ther methods, the image automatic identification and
classification of woven fabrics could promote the de-
velopment of the textile industry.
REFERENCES
A. Srikaew, K. Attakitmongcol, P. K. and Kidsang, W.
(2011). Detection of defect in textile fabrics using
optimal gabor wavelet network and two-dimensional
pca. In Advances in Visual Computing, pages 436–
445. Springer.
Abou-Taleb, H. A. and Sallam, A. T. M. (2008). On-line
fabric defect detection and full control in a circular
knitting machine. AUTEX Research Journal, 8(1).
Bay, H., Tuytelaars, T., and Van Gool, L. (2006). Surf:
Speeded up robust features. In Computer vision–
ECCV 2006, pages 404–417. Springer.
Chang, C.-C. and Lin, C.-J. (2011). Libsvm: a library for
support vector machines. ACM Transactions on Intel-
ligent Systems and Technology (TIST), 2(3):27.
Council, H. K. P. (2000). Textile Handbook 2000. The Hong
Kong Cotton Spinners Association.
F.H. She, L.X. Kong, S. and Kouzani, A. (2002). Intel-
ligent animal fiber classification with artificial neural
networks. Textile research journal, 72(7):594–600.
Friedman, J., Hastie, T., Tibshirani, R., et al. (2000). Addi-
tive logistic regression: a statistical view of boosting
(with discussion and a rejoinder by the authors). The
annals of statistics, 28(2):337–407.
SIGMAP 2016 - International Conference on Signal Processing and Multimedia Applications
104