Académique Documents
Professionnel Documents
Culture Documents
R y x
R y x
y x f
, , 0
, , 1
,
3.2 boundary perimeter
After follow-profile image processing, we can
mark the image border with 1, the perimeter
boundary is calculated by summing the profile
pixels marked. A recursive traversal is begun at
random outline of a defect whose pixel value is
marked with 1. We Sum up all the number of pixel
marked with 1, the perimeter boundary can be
obtained by defect pixel value. The size of actual
perimeter can be calculated by the ratio between the
actual cloth and the size of image perimeter
boundary.
3.3 Regional center coordinate of fabric defects
Defect region center coordinates is refer to the
X-axis and Y-axis coordinates of center point inside
the Defect region. Center coordinates can transform
the actual defect position by the simple calculation.
Center coordinates algorithm is as follows: Along
the chain head node we sum up each pixel
coordinates of the X-axis and Y-axis, the two
results are divided by two separately and then
coordinates on individual defects have been
obtained.
3.4 length of long and short axis
Firstly the main axis direction of defect image
is obtained, it is the direction of the greatest length
and the smallest width. Then the length and width is
measured in relation to this main axis.
(1) The long axis length D
L
. According to the
outline chain of the regional and the regional
centers X and Y coordinates the straight-line
distance that the regional center to the other side of
pixels in contour line is calculated. D
L
is
predetermined as the longest distance, each
calculated results and DL are compared, and the
maximum length is the long axis length.
(2) The short axis length D
s
. after calculating
long axis, we draw a line cross the center and
perpendicular to the long axis. The length of Ds is
the distance between the center and the cross point
of the drawn line and regional contour line.
S
3.5 perimeter of defects shape described
Fig.1 regional area
The defect region parameters include the
regional perimeter, regional area, the center
coordinates, the length of long axis and short axis
and so on. The shape characteristics of the defects
2-715
Authorized licensed use limited to: CSIR Madras Complex. Downloaded on January 12, 2010 at 02:03 from IEEE Xplore. Restrictions apply.
The Eighth International Conference on Electronic Measurement and Instruments ICEMI2007
region could not be seen only above parameters.
The shape parameter F, eccentricity E can be used
to describe the defect shape.
3.5.1 Shape parameter F
Shape parameter F is calculated based on the
regional perimeter and regional area, shown as
equation (2).
l
?
+S
2)
In equation (2), L is the perimeter of the fabric
defect. S is the regional area of the fabric defect.
When the fabric defect region is circle, the value of
F is 1.To the other shape fabric defect region, the
value of F is more than 1. When the fabric defect
region is circle, the value F reached smallest. To
digital images, it has been proved that the value F is
the minimum to positive octagon region by the four
connectivity calculation and the value F is the
minimum to positive diamond region by the eight
connectivity calculation
[2]
. But we can not
distinguish different shapes only relying on the F. If
F is close to 1, then the fabric defect is more
compact, more like a circle. Generally, such as the
cloth oil, holes and rust spots circular defect is close
to 1.
3.5.2 Eccentricity E
The eccentricity E (eccentricity) is known
elongation. It also describes the compactness of the
region in a certain extent.
[3]
Eccentricity E has a
variety of formulas to calculate. The most common
and simple method is to calculate ratio of length of
the long axis and length of the short axis. Although
this method is not good to resist noise, it is suitable
for the description of the shape of the defect and
near real-time applications because small
calculation.
Eccentricity E=D
L
/D
S
. E represents ratio of the
long axis and short axis.
The result E is closer to 1, defects have
become circular, or elliptical, the value E is greater,
defect region becomes more flat, even a straight line
with a certain width. In general, some defects such
as bamboo burl on clothes, the color line, the
missing longitude, the missing woof, and so on , the
value E is far bigger than 1.
4 Experimental and Simulation
Some experimental results of defect images are
given in Table 1.
Table 1 testing result of the first group (the feature parameter unit: pixel, time: ms)
uumt
defect
\ Y S l D DS l
Totu'
t`m T
combine leap 8 !?8 !?! 3?9 3.+ + ! . ?8
long bamboo burl 33? 8? !339 9b ?3.9 bb3 9 3.b 3?
red line !8b 0 b9b !3b ?.9 3++ + 8b +!
blue line ?0! ?9 8? +0+3 !3.+b +0+ b b.3 33
woof reduction !3 9 !+? 3 ?.!8 0 + !. !8
oil bloom ??! 8 !0? !03b 0.8 38 ?? !.3 ?9
oil point !09 !+ +b !93+ 9.b? !08 3! 3.+8 ?
The results show roughly the type of defect in
table 1. Because defects their characteristics, such
as oil bloom type defects is close to the circle, shape
parameter F is relatively small, the woof reduction
2-716
Authorized licensed use limited to: CSIR Madras Complex. Downloaded on January 12, 2010 at 02:03 from IEEE Xplore. Restrictions apply.
The Eighth International Conference on Electronic Measurement and Instruments ICEMI2007
is also small, they are tight defect types. To other
flat and long defects, the shape parameter F and
eccentricity E is larger, to linear defects such as
bamboo, the color lines, and so on, the value E is
especially larger. In general, the mean square error
of eight data is smaller, the defects shape become
more circle. Conversely, the larger is the mean
square error, the greater is the change of the defects
outline, such as linear defects bamboo.
5 Conclusion
Automatic fabric defect recognition technology
has broad applications in the textile industry
prospects, but it has not been application in reality
yet, because technology is not perfect, higher error
rate, the less accurate. The experiments proved that
the type of defect can be identified by calculating
and analyzing the defect data. However, it is
difficult distinguish similar defects such as blue line,
red line, bamboo burl ,and so on, because the color
information has been lost in gray image ,these
defects can not be identified only by the shape of
defect .
Reference
[1] Chen Junjie, Xie Chunping. Fabric Defect Detection
Technique Based on Neural Network. Journal of Textile
Research. Vol. 27,No.4.,2006
[2] Yuan Duanlei , Lu Liping ,SONG Yinmao. Recent Studies
on Automatic Fabric Defect Detection Technique. Journal
of zhengzhou university of light industry(Natural Science).
Vol. 20,No.3,2005
[3] Gao Xiaoding, Wang Chenglong , ZUO He , LIANG Jichao.
Fabric Blemish Detection Based on Attributed Relational
Histogram. Journal of Textile Research.vol.26, No.2, 2005
[4] Gao Bin, Gao Xiaoding. Fabric Blemish Detection based on
Support Vector Machine. Aeronautical Computer
Technique.vol.35, No.3, 2005
[5] Wang Chenglong, Li Jing, Gao Xiaoding. Realization of
High-efficient Identification Algorithm of Fabric Defects.
Cotton Textile Technology. vol.32, No.6,2004
Author Biography
Wang jianxia (1970-), female, is a associate professor of
Hebei University of Science and Technology. She graduated
from Hebei University of science &Technology with
specialty of Electrical Engineering in 1994, gained master
degree from Yanshan University of Technology in 2003. She
has published three books, over 20 Journal papers. Her
research interests are in network and database application.
2-717
Authorized licensed use limited to: CSIR Madras Complex. Downloaded on January 12, 2010 at 02:03 from IEEE Xplore. Restrictions apply.