Deakin Research Online
Deakin University’s institutional research repository
DDeakin Research Online
Research Online
This is the author’s final peer reviewed version of the item
published as:
Zhang, Junmin, Wang, Xungai and Palmer, Stuart 2007, Objective pilling evaluation of
wool fabrics, Textile research journal, vol. 77, no. 12, pp. 929-936.
Copyright : 2007, SAGE Publications
Objective Pilling Evaluation of Wool Fabrics
JUNMIN ZHANG*
Centre for Material and Fibre Innovation, Deakin University, Geelong, Victoria, Australia
STUART PALMER
Institute of Teaching and Learning, Deakin University, Geelong, Victoria, Australia
XUNGAI WANG
Centre for Material and Fibre Innovation, Deakin University, Geelong, Victoria, Australia
Abstract
An objective pilling evaluation method based on the multi-scale two dimensional dual-tree
complex wavelet transform and linear discriminant function of Bayes’ Rule was developed.
The surface fuzz and pills are identified from the high frequency noise, fabric textures, fabric
surface unevenness and illuminative variation of a pilled fabric image by the two-dimensional
dual-tree complex wavelet decomposition and reconstruction. The energies of the
reconstructed sub-images in six spatial orientations (±15º, ±45º, ±75º) are calculated as the
elements of the pilling feature vector, whose dimension is reduced by principal component
analysis. A linear discriminant function of Bayes’ Rule was used as a classifier to establish
classification rules among the five pilling grades. A new pilled sample with the same physical
construction can then be automatically assigned to one of the five pilling grades by the
classification rules. A general evaluation of the proposed method was conducted using the
SM50 Woven, Non-woven and SM54 Knitted standard pilling test image sets. The results
suggest that the new method can successfully establish classification rules among the five
*
Centre for Material and Fibre Innovation, Deakin University, Geelong, Victoria, Australia, 3217
Tel: +61 3 5227 3377 Fax:+61 3 5227 2539 Email:
[email protected]
pilling grade groups for each of the three standard pilling test image sets and should be
applicable to practical objective pilling evaluation.
Introduction
Fabric surface pilling is a dynamic process combining two phenomena: fuzzing---the
protruding of fibres from the fabric surface, and pills---the persistence of formed neps at the
same surface
[14]
. It spoils the fabric surface appearance and touch, thus reduces the value of
the product. A key element in the control of fabric pilling is the evaluation of fabric pilling
propensity. Normally, a fabric is treated to form pills in a process that simulates accelerated
wear, and the pilled fabric specimens are then compared with standard pilling test images to
determine the pilling grade on a scale from 1 to 5 (that is from most severe pilling to no
pilling). However the pilling evaluation procedures relying on photographic adjuncts and
human rating can be subjective and may lack reproducibility and repeatability. This has led to
the need for new objective assessment methods for fabric pilling propensity. With advances in
computer and digital image techniques, the ability to objectively evaluate the pilling intensity
has become feasible.
Many researchers have tried to identify the pills from the background texture by digital
image techniques such as pixel-based brightness (or height)-thresholding
[1-4, 6, 8, 10, 11, 19]
and
region-based template matching [22, 23].
From Figure 1, we can see that the pills exhibit fractal shapes and diverse sizes. It is
impracticable to construct a matching template for the pills.
The brightness value of single pixel actually depends upon the illuminative conditions, and
pattern of fabrics. Although three-dimensional surface profiles obtained by using a laser-beam
[19]
, stereovision systems
[8]
and projected-light
[1, 4]
can reduce those disturbances, the initial
roughness of fabrics (especially soft thick knitted fabrics), damages caused after pilling and
the presence of fuzz make the detection of the edge line (i.e. the height threshold) between
pills and fabric base complicated.
Figure 1. Standard pilling test images ---WoolMark SM50 Non-woven, Woven and SM54 Knitted
It is a common wisdom in computer vision and digital image techniques that the brightness
variation is more informative than the brightness value. Also computer vision researchers had
early realized that multi-scale transform---that is, looking at images at different scales of
resolution---is very effective for analysing the information content of images. The wavelet
transform measures the image brightness variations at different scales
[5, 12]
. It has been
applied to objective pilling grading in recent studies [9, 17, 18].
Palmer and Wang [17, 18] suggest that the pilling intensity can be classified by the standard
deviation of the horizontal detail coefficients of two-dimensional discrete wavelet transform
at one given scale. When the analysis scale closely matches the fabric texture frequency, the
discrimination is the largest. But, the single scale wavelet transform can only measure the
pilling intensity influence at that scale. In fact, for woven and knitted fabrics, most pilling
information, which has a lower frequency than the background period structure does, is
located at the higher decomposition scales (lower frequency bands).
Kim and Kang
[9]
suggest that the period background texture can be attenuated by the
undecimated discrete wavelet transform. By using a simple thresholding proposed by Otsu [15],
the pills can be separated from the background in the reconstructed smooth (approximation)
sub-image at the appropriate decomposition level. However, the approximation sub-image
comprises not only pilling information but also surface unevenness and illuminative variation,
which will influence the detection of the threshold. Also, it is a single resolution analysis of
the pills.
By using the advantage of wavelet transform---the multi-resolution and directional
selectiveness analysis, the diversity of fuzz and pills’ size and shape can be identified and
characterized more accurately and effectively.
In this study, we use multi-scale two-dimensional dual-tree complex wavelet transform
(2DDTCWT) to remove the disturbance of high frequency noise, fabric periodic texture,
surface unevenness and background illuminative variation of a pilled fabric image. The
energies of the reconstructed six spatial orientated sub-images that capture the rest of the fuzz
and pills information at given scales are proposed as elements of the pilling feature vector.
We model each of the three standard pilling test image sets (see Figure 1) into 20 pilling
feature vectors (four images for each of five grades of pilling). By using principal component
analysis (PCA) to reduce the dimension of the pilling feature vector and linear discriminant
function of Bayes’ Rule as a classifier, classification rules can be established for each of the
three sets and used to assign a similarly constructed real pilling image to one of the five
pilling grades.
Dual-tree Complex Wavelet Transform
Compared to other multi-scale analyses, the wavelet transform has advantages such as: no
redundant information because of the orthogonal wavelet basis; perfect reconstruction with
compactly supported wavelets; and fast algorithms. However the two-dimensional separable
discrete wavelet transform (2DDWT) is only oriented vertically, horizontally and diagonally,
and fails to isolate the ±45º orientations (the reason of checkerboard appearance as in Figure
2.1). It is good at catching point singularity, but, is not suitable for detecting line singularity
(edge) of the two dimensional objects
[21]
. Perfect reconstruction is accomplished only if the
detail and approximate coefficients are not changed. Also, there is substantial aliasing
(ringing artefacts in the vicinity of edges) in the one-scale reconstructed detail images (see
Figure 2.2) because of the finite impulse response filters’ approximation to ideal analytic
filters.
The dual-tree complex wavelet transform (DTCWT) [20] is an enhancement to the discrete
wavelet transform, which yields nearly perfect reconstruction, approximate analytic wavelet
basis and directional selectiveness (±15º, ±45º, ±75º) in two dimensions (see Figure 3). The
analytic wavelet is supported on only the positive one-half of the frequency axis, and that
results in no aliasing in the one-scale reconstructed detail images (see Figure 2.3). The six
directional detail sub-images in Figure 3 form an orthogonal representation of the scale 4
detail image in Figure 2.3 and represent the edge of two-dimensional object more efficiently.
Figure 2. Reconstructed scale-4 detail images (1)by 2-D DWT with wavelet DB1(length 2);(2)by 2-D
DWT with wavelet COIF5(length 30 );(3)by 2-D DTCWT with length 10 filters[20]; and Original image (4).
Figure 3. Reconstructed scale-4 detail sub-images with six orientations
Pills and fuzz identification in spatial frequency domain
A pilled fabric image consists of multi-scale brightness variation information. Figure 4
shows a pilling grade 1 (highly pilled) fabric image (Fig 4.9) and the reconstructed detail
images at scales 1-7 (Figs 4.1-7) and approximation image at scale 7 (Fig 4.8) by 2DDTCWT.
The first and second scale detail images are the highest frequency noise that is normally
produced in the image capture process (see Figs 4.1 and 4.2). The last scale detail and
approximation images usually include the lowest frequency parts, i.e. the fabric surface
unevenness and the background illuminative variation (see Figs 4.6 and 4.7). Scales 3-4 detail
images are mainly the fabric texture edges (brightness variation) at those scales (see Figs 4.3
and 4.4); while scales 5-6 detail images capture the edges of different size fuzz and pills (see
Figs 4.5 and 4.6). The reconstruction image without the first two scale detail images and last
scale detail and approximation images (see Fig 5.2) is almost identical to the original image
(see Fig 4.9), except its even background gray values. The reconstructed image from scales 56 (see Fig 5.1) shows that it includes almost all the pilling information and excludes nearly all
other disturbance information. So, the fuzz and pills are separated from the high frequency
noise, fabric texture, surface unevenness and illuminative variation of the pilled fabric images
by the scales 5 and 6 detail images.
At each of scales 5 and 6, the 2DDTCWT also measures the edges of fuzz and pills in ±15º,
±45º, ±75º directions on a fused and smoothed background. Figure 6 shows the six directional
detail sub-images that compose the scale-5 detail image in Figure 4.5.
So, the different size fuzz and pills could be identified by the 2DDTCWT decomposition
and reconstruction with six (±15º, ±45º, ±75º orientated) detail sub-images at several scales.
Figure 4. Reconstructed detail and approximation images (1-8) of WoolMark SM50 Woven pilling
grade 1 image (9) by 2DDTCWT
Figure 5. (1) Identified surface fuzz and pills at Scales 5-6 (2) Reconstructed image at scales 3-6
Figure 6. Reconstructed scale 5 detail sub-images in ±15º, ±45º, ±75º spatial orientations
Pilling feature vector extraction
Pilling is a dynamic process that starts with the formation of fuzz; then the entanglement of
fuzz forms pills. Both pills and fuzz should be considered in the pilling rating procedure. We
propose to extract the pilling features from the sub-images that capture the fuzz and pills at
different scales.
Pill density, average size and height are the main pill properties that visual observers use to
rate the pilling grade of a fabric [23]. The density, size and height have a decreasing trend when
the pilling grade increases, linear and non-linear relationships have been observed in woven
and knitted fabrics [2, 9, 13, 23].
We define the energy of a detail sub-image as:
E
jk
1
M N
M ,N
D
m ,n
k
m , n
j
2
J j 2 , k 15 , 45 , 75
(1)
Where M N is the size of the detail sub-image, Dkj ( m, n ) is the pixel grey-scale value of
detail sub-image at scale j and in direction k. Because the mean value of each detail subimage is zero, the energy is equal to the standard deviation of the detail sub-image.
Most standard photograph adjuncts are taken under lateral illumination so that pills can be
easily noticed from the pill (bright)-shadow (dark) gray value variation. This local contrast
between a pill and its surrounding region that represents the size and height of the pill is
captured in sub-images of Figure 6. The fuzz and pills introduce peak (positive) and trough
(negative) gray values into the fused and smoothed background. When the number and height
of the given fuzz and pills in the detail sub-image at scale j and in direction k increase, the
energy will also increase. The square of the gray value measures the difference between small
and large pills of the same area ratio, which frequently exists between the most severe two
pilling grade samples. That is, larger pills lead to higher energy.
Based on the above analysis of the reconstructed detail sub-images of the SM50 Woven
standard pilling images, we assume that the energy is a quantitative measurement of the pill
number and height at scales 5-6. We extract the energy of each detail sub-image at scales 5
and 6 in six directions as the element of the pilling feature vector to characterize the pilling
intensity. Using the same method, pilling feature vectors can be extracted from knitted and
non-woven standard pilling images. For the non-woven fabric pilling image, the only
difference from the woven and knitted fabrics is that there is no periodic texture as a
background.
Sample preparation
To evaluate the new method, WoolMark standard woven, knitted and non-woven pilling
test image sets were used. Figure 7 shows the original standard woven pilling test images and
the 512 512 pixel samples cropped from them. The circular pilling area is tangent to the
outside square of the sample image so that it includes all the pilling information.
For each pilling grade (1 to 5), it is desirable to have four sample images. The WoolMark
SM50 Woven and Non-woven pilling test images provide four images for each pilling grade.
The WoolMark SM54 knitted pilling test images have only one image for each pilling degree.
These standard images were cut into four samples without over-lapping, assuming that the
distribution of pills is random.
Figure 7. WoolMark SM50 Woven pilling standard test images and prepared sample images
Pilling assessment
After extracting a pilling feature vector from a pilled fabric image, we can model each
pilling test image set into 20 pilling feature vectors. The number of elements of a pilling
feature vector represents the dimension of the data set. By principal component analysis,
which is often referred to as the Karhunen-Loeve expansion in pattern recognition, new
reduced dimensions or directions can be found.
The reduced directions are principal
components that maximize the spread of the data.
Figure 8 is a plot that compares the explained variance versus the number of principal
component. We can see that the first two principal components account for 92% of the
variance of the original variables. It means that the 12 dimension data set can be projected
onto the two dimension sub-space at the cost of losing only 8% information, which is
probably nothing but random noise [7].
Figure 8. Variance explained versus the number of principal component
With the groups and the principal component scores as input, the ‘linear discriminant’
function of Bayes’ Rule was used as a classifier to separate the five pilling grade groups of 20
samples. The principal component scores are the pilling feature vectors’ projection onto the
reduced directions--- the first two principal components.
Result
Figure 9 is the plot of the first two principal component scores of the SM50 Woven pilling
test image set. It shows clear separation lines among the five pilling propensity groups and a
progressive trend between the no pilling (Grade 5) and the most severe pilling (Grade 1)
samples. The results in Table 1 show that the 20 pilling images in each standard test set are
successfully classified into five pilling grades with zero training misclassification error ratio.
The training misclassification error ratio is the percentage of observations in the training set
that are misclassified. By using one sample as an observation and the remaining 19 samples as
the training set, we also get high classification accuracy. The Woven pilling set can also be
successfully graded. The Non-woven sample 15 of grade four is assigned to grade three. The
Knitted sample 4 of grade one is classified to grade two, sample 10 of grade three to grade
four. As shown in Figure 10, the pilling propensity differences between Non-woven sample
15 and grade-3 sample, Knitted sample 4 and grade-2 sample as well as sample 10 and grade4 sample could hardly be discerned by human vision, and the influence of the different
background illuminations makes it worse. We suggest that as our method helps to remove the
disturbances, it may give a more accurate classification.
Bayes’ Rule is a conventional probabilistic classifier that, like the maximum-likelihood
classifier, allocates each observation to the class with which it has the highest posterior
probability of membership. Study
[16]
has shown that the accuracy of the Bayes’ Rule
classification increases with training set size, which is in accordance with our results above.
The results also indicate that once the classification rules have been established, they can be
saved and used as objective references for assigning similarly constructed real samples to one
of the five pilling grades.
Figure 9. Plot of principal component score 1 vs. 2 of Woven pilling images set
Figure 10. Misclassified samples: Non-woven No.15, Knitted No. 4 and No.10
Table 1. Discriminant classification results (samples No. 1-4: Grade 1, No. 5-8: Grade 2, etc.)
WoolMark
Training
Observation
Test Image
Training Set
Observation
Misclassification
Misclassification
set
Error Ratio
SM50
20 samples
0 sample
0
Non-Woven
19 samples
1 sample
0
SM54
20 samples
0 sample
0
Knitted
19 samples
1 sample
0
SM50
20 samples
0 sample
0
Woven
19 samples
1 sample
0
No.15 of Grade 4 to Grade 3
No. 4 of Grade 1 to Grade 2
No. 10 of Grade 3 to Grade 4
No misclassification
Conclusion
We provide an effective way to identify the fuzz and pills from the high frequency noise,
fabric texture, surface unevenness, and background illuminative variation of a pilled fabric
image by using two-dimensional dual-tree complex wavelet transform. Fuzz and pills of
different size are captured by the reconstructed detail sub-images with six orientations at
different scales. The energy of the sub-image is coherent with the given size and directional
pill density and height that describe the pilling intensity, and is used as the element of the
pilling feature vector. By using principal component analysis and linear discriminant function
of Bayes’ Rule, classification rules among the five grades can be established for each of the
Woven, Knitted and Non-woven pilling test image sets. Those rules can be saved for use as
objective references for objectively assigning the pilling propensity of a similarly constructed
real fabric sample into one of the five pilling grades. This forms the next stage of our research
work.
Acknowledgement
This work was carried out through a PhD scholarship awarded to the first author under the
China Australia Wool Innovation Network (CAWIN) project. Funding for this project was
provided by Australian wool producers and the Australian Government through Australian
Wool Innovation Limited.
The standard pilling test images presented in this paper are the copyright property of The
WoolMark Company and reproduced with their permission.
Reference
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
PillGrade Automated Pilling Grading System, Version 1.8, LineTech Industries Inc.,
2003.
Abril, H. C., Millan, M. S., and Torres, Y., Objective Automatic Assessment of Pilling
in Fabric Image Analysis, Optical Engineering 39(6), 1477-1488 (2000).
Abril, H. C., Millan, M. S., Torres, Y., and Navarro, R., Automatic Method Based on
Image Analysis for Pilling Evaluation in Fabrics, Optical Engineering 37(11), 29372947 (1998).
Chen, X., and Huang, X. B., Evaluating Fabric Pilling with Light-Projected Image
Analysis, Textile Research Journal 74(11), 977-981 (2004).
Daubechies, I., "Ten lectures on wavelets," Society for industry and applied
mathematics, Philadelphia, 1992, p. 357.
Hsi, C. H., Bresee, R. R., and Annis, P. A., Characterizing Fabric Pilling by Using
Image-analysis Techniques Part I: Pilling Detection and Description, Journal of the
Textile Institute Part I 89(1), 80-95 (1998).
Johnson, D. E., "Applied Multivariate Method for Data Analysis," Duxbury Press,
California 93950, 1998.
Kang, T. J., Cho, D. H., and Kim, S. M., Objective Evaluation pf Fabric Pilling Using
Stereovision, Textile Research Journal 74(11), 1013-1017 (2004).
Kim, S. C., and Kang, T. J., Image analysis of standard pilling photographs using
wavelet reconstruction, Textile Research Journal 75(12), 801-811 (2005).
Konda, A., Liang, C. X., Takadera, M., Okoshi, Y., and Toriumi, K., Evaluation of
Pilling by Computer Image Analysis, Journal of the Textile Machinery Society of
Japan 36(3), 96-107 (1988).
Latifi, M., Kim, H. S., and Pourdeyhimi, B., Characterizing Fabric Pilling Due to
Fabric-to-Fabric Abrasion, Textile Research Journal 71(7), 640-644 (2001).
Mallat, S., A Theory for Multiresolution Signal Decomposition: The Wavelet
Representation, IEEE Transactions on Pattern Analysis and Machine Intelligence
11(7), 674-693 (1989).
Millan, M. S., and Abril, H. C., Image Analysis of Standard Pilling Series, Optical
Engineering 40(7), 1281-1286 (2001).
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
Naik, A., and Lopez-Amo, F., Pilling Propensity of Blended Textiles, Melliand
Textilberichte 6, 416 (1982).
Otsu, N., A threshold selection method from gray-level histogram, IEEE Transaction
on Systems, Man and Cybernetics 9(1), 62-66 (1979).
Pal, F., and Mather, P. M., An Assessment of the Effectiveness of Decision Tree
Methods for Land Cover Classification, Remot Sens. Environ. 86, 554-565 (2003).
Palmer, S., and Wang, X., Objective Classification of Fabric Pilling Based on the
Two-Dimensional Discrete Wavelet Transform, Textile Research Journal 73(8), 713720 (2003).
Palmer, S., and Wang, X., Evaluating the Robustness of Objective Pilling
Classification with the Two-Dimensional Discrete Wavelet Transform, Textile
Research Journal 74(2), 140-145 (2004).
Ramgulam, R. B., Amirbayat, J., and Porat, I., The Objective Assessment of Fabric
Pilling Part I: Methodology, Journal of the Textile Institute 84(2), 221-401 (1993).
Selesnick, I. W., Baraniuk, R. G., and Kingsbury, N. G., The dual-tree complex
wavelet transform, IEEE Signal Processing Magazine (11), 123-151 (2005).
Vetterli, M., Wavelets, Approximation, and Compression, IEEE Signal Processing
Magazine (9), 59-73 (2001).
Xin, B., Hu, J., and Yan, H., Objective Evaluation of Fabric Pilling Using Image
Analysis Techniques, Textile Research Journal 72(12), 1057-1064 (2002).
Xu, B., Instrumental Evaluation of Fabric Pilling, Journal of the Textile Institute Part I
88(4), 488-500 (1997).