Professional Documents
Culture Documents
Automatic Structure Analysis and Objective Evaluation Woven Fabric Using Image Analysis
Automatic Structure Analysis and Objective Evaluation Woven Fabric Using Image Analysis
KYUNGW H A OH
Department of Honte Economics Ediication, Cliung-Ang University, Seoiil, Soiith Korea
ABSTRACT
An automatic fabric evaluation system has been developed to automatically analyze
the structure of woven fabric and objectively evaluate fabric quality. Fabric images
are captured by a CCD camera and preprocessed by Gaussian filtering and histogram
equalization. Fabric construction parameters such as count, cloth cover, yarn crimp,
fabric thickness, and weight per unit area are measured automatically from planar and
cross-sectional images of woven fabric with image processing and image analysis.
Results obtained with the system show good correspondence with experimental
values. In order to evaluate the quality of woven fabric, defects such as slubs or
missing picks are detected successfully from defect images, and the uniformity of yarn
spacing and orthogonality of the yarn intersecting angle are determined from normal
fabric images. The coefficients of variation of yarn spacing and the yarn intersecting
angle are measured quantitatively so that quality can be compared using these values.
Fabric count, yarn crimp, cloth cover, fabric thick- cause decisions are made by the subjective judgement
ness and weight, as well as material, weave pattern, of each expert.
and yarn count are basic construction parameters that Therefore, in this study, we attempt to develop a
characterize the structure of woven cloth and deter- system for automatic structure analysis and objective
mine its end use performance. Therefore, numerous quality evaluation for woven fabric, which allows
researchers after Peirce [S] have devoted their work to quick, precise data acquisition. For this purpose, we
understanding the relations between these parameters use image analysis techniques that permit not only
[4,6, 7, 101. However, despite recent advances in rapid and objective measurements but also easy sta-
computer technology that have brought process auto- tistical analysis of the results by managing numerical
mation to many areas of the textile industry, analyzing data [3, 91. The image analysis system consists of a
woven fabric structure to measure these parameters CCD camera as the input device, a lighting device, a PC
still mainly depends on manual work. When fabric as an image analyzing device, and software that pro-
construction parameters have to be measured manu- vides all the necessary image processing and image
ally, a longer time, a large fabric sample, and many analysis. We report on image preprocessing methods
testing tools are required. Moreover, the results may to suppress noise and enhance contrast in the images,
not be reliable due to variations in testing methods, and we perform a structure analysis using image pro-
tools, and instruments or the tester’s skill. cessing and image analysis to measure woven fabric
Quality evaluation of woven fabric is also very construction parameters.
important for determining its commercial value. Even To confirm the validity of our results, we have also
though many researchers have worked on the automa- made a manual structure analysis and compared the
tion of quality evaluation [5, 111, it is still accom- results from our system with the experimental values.
plished by human inspection and remains just at the Furthermore, for quality evaluation of woven fabric,
level of pointing out defects. Many experts are needed we have studied a method to detect defects in fabric
for quality evaluation because the speed of manual images that cause principal quality deterioration, and
inspection is very slow compared with that of fabric to evaluate criteria determining the quality of normal
production, and the results may not be the same be- fabric.
Downloaded from trj.sagepub.com at Hanyang University Central Library on September 12, 2016
262 TEXTILE JOURNAL
RESEARCH
CLOTHCOVER
FIGURE I . Image analyzer system configuration. Cloth cover is defined as the ratio of the area occupied
by yarns to the total fabric area. In a transmissively
To capture planar images of fabric, we used transmissive lighted image, yams appear to be dark and spaces appear
light to clarify the positions of warps and wefts and to to be bright. In order to calculate cloth cover, we filtered
minimize the effect of fabric color or protruding fine hairs all images and converted them to black and white binary
in images. To capture cross-sectional images, reflective images by selecting the mean gray value as the threshold.
light was positioned at a 30" angle to the perpendicular line We then obtained threshold values from the mean gray
of the fabric sample fixed vertically in a holder. To distin- value of the background image without the fabric sam-
guish the yam parallel to the cut plane from the perpendic- ple. The pixels that were the same or brighter than the
ular yam, we detected the difference in reflectance. The threshold value were converted to white and the darker
spatial resolution of captured images was 640 X 480 pixels, pixels to black. We then calculated cloth cover from the
corresponding to approximately 1.9 X 1.4-5.5 X 4.2 mm2 ratio of the number of black pixels to the total number of
in actual area. The captured images were converted to 8 bpp pixels in the image. Figure 3 is an example of cloth cover
(bits per pixel), 256 gray level, to enhance the analyzing measured using this algorithm.
speed and reduce the image file size.
During image capture and digitization, noise can be YARN CRlalP
present in the image to some extent due to external or Yam crimp c in a woven fabric, is defined as the
electrical causes [9], which may result in errors in the distance between two points on a yarn as it lies in the
image analysis. Therefore, Gaussian filtering was applied fabric If and its straightened distance 1,:
to minimize noise in the image. A histogram equalization
was performed to enhance image contrast for easier
c ( % ) = - 100 . (1)
recognition or demarcation of specific regions. If
Downloaded from trj.sagepub.com at Hanyang University Central Library on September 12, 2016
MARCH2001 263
n I
Downloaded from trj.sagepub.com at Hanyang University Central Library on September 12, 2016
264 TEXTILE
RESEARCHJOURNAL
n, = -
1 /-”f(x)cos
” Il.rdT ,
7i
b, = !
r-
J”(r:.)sni n.rcix ti = 1,2,. .. . (3)
1
2
1 ”
no= -
27i f(.r)dx , -ji-i
, i = 2, 3 , . . . , 2111 - 3
jiti
ji‘ = . (7)
-z 2
Downloaded from trj.sagepub.com at Hanyang University Central Library on September 12, 2016
MARCH2001 265
b I
I, = lab = 2 \[Xi - xi-J + [f(x;)-f(xi-,)]2
i=a+l I I
FABRIC
THICKNESS
T o measure fabric thickness from a fabric cross-
sectional image, the whole yarn image of warps and
wefts has to be segmented. For this purpose, we use
the gray value difference between the upper and lower
pixels in each column. Since there is abrupt change in
brightness at the edge of the yarn against the back-
ground, the yarn image can be segmented. We con-
verted the pixels to black when differences in the gray
value with the next pixel in a vertical line were the r- - -
(el
same or more than the predetermined threshold value,
and converted the rest to white. Figure 7 b shows the
segmented yarn image when five is taken as the thresh-
old value in this study.
After we determined the upper and lower limit lines FIGURE 6. Automatic measurement of yam crimp in satin weave: (a)
cross-sectional image of satin tveave, (b) segmented yam image, (c)
from the segmented yarn image, we measured the skeletonized image, (d) Fourier series expansion and crimp calculation,
fabric thickness from the distance between these two (e) superimposed on the original image.
lines. The limit lines were considered as the first
horizontal lines from the center of the fabric upward contained in an image, about 5 % , we took the first line
and downward, so that the average gray values of the where the average gray value exceeded 95% of 255 as
lines became 255. However, since some noise could be the limit (Figure 7c). W e then obtained the fabric
Downloaded from trj.sagepub.com at Hanyang University Central Library on September 12, 2016
The typical physical defects of a fabric are a non-
uniformity of yarn spacing, yam knot, slub caused by a
thick yarn or double yam, broken yarn, and missing yam,
etc. The existence of defects in a fabric results in prin-
cipal quality deterioration [2]. Most physical defects
exist in the warp or weft direction, so we detected these
defects by analyzing vertical and horizontal profiles. In a
transmissively lighted image, defects occupy a larger
area than normal parts and have an effect on the distri-
bution of gray values of average profiles, as shown in
Figure 9.
At first, we detected the points of average gray values
at the average profile and divided the average profile into
two parts according to its shape between every two
points. We assigned the width of the image profile be-
where 1 2 , and 1z2 are warp and weft density (threadcm), tween two points as yam parts l,., where the profile
c1 and c2 are warp and weft crimp fractions, p , and pz between them lay below the mean gray value line, and
are warp and weft linear density (tex), and the unit of those as interyarn space parts I,, where the profile lay
calculated fabric weight per unit area w is g/rn2, over the mean gray value line. Then we calculated the
average ill,. and 111, and standard deviation u,,and usof
the length of both parts to determine the criteria C, as
below. We considered the part where the length was
A fabric design plan can be drawn up with our system longer than the upper bound or shorter than the lower
from the measured woven construction parameters. Fab- bound to be the location of the defect (Figure 10):
ric material, weave pattern, and yam count can be filled
in manually, and the planar image and warp and weft
side cross-sectional images of the fabric can be shown in
the plan. Figure 8 is an example of such a fabric design
plan.
Downloaded from trj.sagepub.com at Hanyang University Central Library on September 12, 2016
MARCH2001
Downloaded from trj.sagepub.com at Hanyang University Central Library on September 12, 2016
268 TEXTILE
RESEARCH
JOURNAL
ii
tem and the experimental values are compared in Figure
minimum gray values 13. The fabric counts measured with our system are very
of average profile close to the experimental values. For cloth cover, the
results obtained with the system show close correspon-
dence with the experimental values within a 5 % discrep-
ancy, except for CPI (6.63% discrepancy). The sample
PT is a very closely woven fabric in which the warp
diameter exceeds the warp spacing so that yams cover
the whole fabric area. However, we measured the cloth
cover of CP1 as 98.07% with the system. We think the
reason is the effect of transmissive light diffraction
through the slits between the warps.
For yarn crimp, our results with the system corre-
spond with the experimental values as a rule, but there
are some discrepancies. As shown in Figure 13c, the
FIGURE 12. Schematic diagram for measuring yarn intersecting angle
by rotation of coordinate axes and comparison of gray values at samples with larger discrepancies tend to have larger
minimum points. standard deviations in the experimental values. There-
fore, we believe that an average closer to the experi-
mental values can be obtained if more images of the
same sample are captured and analyzed. The fabric
Results and Discussion thickness values measured by this system are slightly
smaller than the experimental values. Probably this is
AUTOMATIC STRUCTURE ANALYSIS
due to the effect of hairs protruding from the fabric
In order to compare the results from the automatic surface, which increase the thickness when measured
fabric evaluation system developed in this study with experimentally. The fabric weights per unit area cal-
experimental values, we made a manual analysis of the culated from the system correspond well with the
structure of selected fabric simples. Specifications of the experimental values.
samples used in this study are shown in Table I. The test
methods we used are as follows: fabric count, ASTM D QUALITY EVALUATION
3775-85; cloth cover,
d": + 2 t;)
Uniformity of yam spacing: The results of measuring
the coefficient of variation for fabric samples are shown
Cloth cover (%) = - - - - x 100 , "
in Figure 14a. The coefficients of variation of PT, PP,
and WP are relatively smaller than others, so they can be
where p l , p 2 = spacing of warp and weft and d , , d , said to be superior in the uniformity of yarn spacing. On
= diameter of warp and weft; yam crimp, ASTM D the other hand, the yam spacing of CS and CP3 can be
3883-90; fabric thickness, Kawabata system KES-FB-3; said to be irregular. The reason for the larger coefficients
and fabric weight per unit area, ASTM D 3776-85. of variation of wefts than of warps is that weft density is
smaller than warp density for most fabrics.
Orthogonality of yarn intersecting angle: The re-
TABLE I. Fabric sample specifications.
sults of measuring the deviation of yarn intersecting
Yarn linear angles from 90" are shown in Figure 14b. CPI and
density, tex CP2 seemed to be superior in the orthogonality of their
Sample
code hlaterial Pattern Warp Weft yarn intersecting angles, and WT and PT can be said to
have skewness.
CPl cotton I X 1 plain 12.8 13.7
CP2 cotton 1 X 1 plain 10.5 9.1
CP3
WP
cotton
WOO1
1 X 1 plain
1 X 1 plain
13.0
26.6
11.4
26.0
Conclusions
PP polyester 1 X 1 plain 14.5 15.5
CT cotton 2/1 twill 15.9 14.4 We have developed an ,automatic fabric evaluation
\vT \VOOl U l twill 28.0 23.9 system that enables automatic structure analysis and
PT polyester 2/1 twill 23.2 8.2 objective evaluation of woven fabrics. Fabric con-
cs cotton 5-end satin 21.3 24.6
struction parameters such as count, cloth cover, yarn
Downloaded from trj.sagepub.com at Hanyang University Central Library on September 12, 2016
MARCH2001 269
cs
-
W w( W w( Wp Ul 'tQwI UP UI Wp UI UP u( Wp wl Wp wI CP1 CPZ CP3 W PP CT WT PT
CP1 CP2 CP3 WP PP CT WT PT CS Sample code
Sample code
Ii -II-
0Expenmental
Automa:iC faSnc eva!ua:m system
0Ewenmental
CPl
n
l
lll
L
CPZ CP3 W PP
Sample code
CT
4
WT PT
ICL
cs
CPl CPZ CP3 W PP CT
Sample m d e
WT PT c!
up wt up wl np wt wp u1 W wI K? wI WP U* UP VA W
cpi CPZ C P ~ WP PP CT WT PT CS
Sample code
crimp, fabric thickness, and weight per unit area are detected by analyzing average profiles. The uniformity
measured automatically by analyzing fabric images of yarn spacing and the orthogonality of the yarn
captured by a CCD camera and preprocessed by Gauss- intersecting angle are the criteria for quality evalua-
ian filtering and histogram equalization. The results of tion of normal fabric. We expect this system can be
the automatic structure analysis correspond well with used for automating quality control on the loom or as
the experimental values. For quality evaluation, de- a supplement to the objective gradation of woven
fects such as dubs or missing picks are successfully fabrics.
Downloaded from trj.sagepub.com at Hanyang University Central Library on September 12, 2016
RESEARCHJOURNAL
TEXTILE
Literature Cited
1I
1. Booth, J. E., “Principles of Textile Testing,” 3rd ed., But-
tenvorths, London, 1983.
u
.. . cessing,” Addison-Wesley, MA, 1993.
4. Hearle, J. W.S.. Grosberg, P., and Backer, S., “Structural
Mechanics of Fibers, Yams, and Fabrics,” vol. 1, John
Wiley & Sons, NY, 1969.
5. Jasper, \V. J., and Potlapalli, H., Image Analysis of
Mispicks in Woven Fabric, Textile Res. J. 65, 683
CP1 CP2 CP3 w PP CT PT
(1995).
Sample code
6. Jeong, Y. J., On the hlechanics of Woven Fabric Defor-
g 35,
mation, Doctoral dissertation, Seoul National University,
1995.
7. Kemp, A., The Extension of Peirce’s Cloth Geometry to
L
the Treatment of Non-circular Threads, J. Textile I m t . 49,
P44 (1958).
8. Peirce, F. T., The Geometry of Cloth Structure, J. Textile
Inst. 28, P45 (1937).
9. Russ, J. C.. “The Image Processing Handbook,” 2nd ed.,
CRC Press, Boca Raton, FL, 1995.
10. Yukhim, S. S., and Yukhina, Y. A., A Theoretical Con-
sideration of the Warp and Weft Contractions in Woven
Fabrics, J. Textile Inst. 87, P532 (1996).
CPl CP2 CP3 WP PP CT WT PT CS
11. Zhang, Y. F., and Bresee, R. R., Fabric Defect Detection
and Classification Using Image Analysis, Textile Res. J.
Sample code
65, 1 (1995).
FIGURE14. Results of measuring (a) CV7o of yarn spacings and (b)
deviation of y a m intersecting angle from 90’ measured with automatic
fabric evaluation system. - .
Afaonirscrint received Ocmber 22. 1999: acceored Alarcli 6. 2000.
Downloaded from trj.sagepub.com at Hanyang University Central Library on September 12, 2016