선정목록으로
Identification of Defects in Textiles Based on Statistical Analysis of DCT Coefficients of Textile Images
패션 · (24) 패션(코오롱FnC)
기본 정보
- 저자
- DOI
- 10.5281/zenodo.6865984
- 저널
- Zenodo (CERN European Organization for Nuclear Research)
- 발행년도
- 2022
- 발행기관
- European Organization for Nuclear Research
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.5281/zenodo.6865984
- 토픽
- Surface Roughness and Optical Measurements
- OpenAlex ID
- W6912717870
평가 내용
- 관련도
- 사업분야
- 패션 · (24) 패션(코오롱FnC)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '패션 > 패션(코오롱FnC)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
This paper presents a novel approach to the fast detection and extraction of fabric defects from the images of textile fabric based on statistical analysis of the dct coefficients of the textile pattern images. Most defects arising in the production process of a textile material are still detected by human inspection. The work of inspectors is very tedious and time consuming. They have to detect small details that can be located in a wide area that is moving through their visual field. The identification rate is about 70%. In addition, the effectiveness of visual inspection decreases quickly with fatigue. However, the inspection process could be automated with machine vision techniques supported by defect identification algorithm. An image processing based machine vision system for visual inspection of fabric quality determination is proposed in the p[resented thesis work.
본문 15,167자
본문 펼치기
# (Bi-monthly) Peer-Reviewed Journal Volume No 1 Issues II ISSN 2278-5655 2012
IDENTIFICATION OF DEFECTS IN TEXTILES BASED ON STATISTICAL
ANALYSIS OF DCT COEFFICIENTS OF TEXTILE IMAGES
Rishav Dewan
ECE Deptt., Bhai Gurdas Institute of Engg. & Tech. Sangrur.
Monika Aggarwal
ECE Deptt., Bhai Gurdas Institute of Engg. & Tech. Sangrur.
Abstract
This paper presents a novel approach to the fast detection and extraction of fabric
defects from the images of textile fabric based on statistical analysis of the dct coefficients of
the textile pattern images. Most defects arising in the production process of a textile material
are still detected by human inspection. The work of inspectors is very tedious and time
consuming. They have to detect small details that can be located in a wide area that is moving
through their visual field. The identification rate is about 70%. In addition, the effectiveness
of visual inspection decreases quickly with fatigue. However, the inspection process could be
automated with machine vision techniques supported by defect identification algorithm. An
image processing based machine vision system for visual inspection of fabric quality
determination is proposed in the p[resented thesis work.
Keywords: _Textile,_
I. INTRODUCTION
Automated visual inspection systems are much needed in the textile industry,
especially when the quality control of products in textile industry is a significant problem. In
the manual fault detection systems with trained inspectors, very less percentage of the defects
are being detected while a real time automatic system can increase this to a maximum
number .Thus, automated visual inspection systems play a great role in assessing the quality
of textile fabrics. Texture analysis refers to the characterization of regions in an image by
their texture content. Texture analysis attempts to quantify intuitive qualities described by
terms such as rough, smooth, silky, or bumpy as a function of the spatial variation in pixel
w w w . a a r h a t . c o m J u n e - J u l y Page 70
# (Bi-monthly) Peer-Reviewed Journal Volume No 1 Issues II ISSN 2278-5655 2012
intensities. In this sense, the roughness or bumpiness refers to variations in the intensity
values, or gray levels.
II. BRIEF LITERATURE SURVEY
In general, fabric analysis is performed on the basis of digital images of the fabric.
Alternatively, there are some works (Ciamberlini et al. [1]) based on the optical Fourier
transform directly obtained from the fabric with optical devices and a laser beam. Digital
image processing techniques have been increasingly applied to textured samples analysis
over the last ten years. Several authors have considered defect detection on textile materials.
Kang et al. [5, 6] analyzed fabric samples from the images obtained from transmission and
reflection of light to determine its interlacing pattern. Tsai and Hu [3] used Fourier
transforms of solid plane fabric images as the inputs to an artificial neural network for fabric
defect detection. They trained the neural network to identify four types of defects: missing
pick, missing end, oil fabric stains and broken fabric. In a recent paper, Hu and Tsai [9] have
also used wavelet packet bases and an artificial neural network for the stated goals. Wavelets
had been previously applied to fabric analysis by Jasper et al. [1,5]. Escofet et al. [3, 4] have
applied Gabor filters (wavelets) to the automatic segmentation of defects on non solid fabric
images for a wide variety of interlacing patterns. In the following sections we revise part of
this work. Defects can be classified as local or global. Global defects cause an overall
distortion of the basic structure of the fabric and can be detected by means of Fourier
analysis. Local defects only affect a small area of the image of the fabric under inspection.
The performance of the Fourier transform based techniques for defect detection is illustrated
by two examples, one corresponding to a global defect, the second representing a local
defect.
III. METHODOLOGY
In DCT based approach for textile defect identification, it is proposed to determine the
dct coefficients of the textile images. For a MxN textile image, we get a MxN dct coefficients
matrix. The lower half of the DCT coefficients matrix contains the frequency variation of the
background image i.e. the background, while the upper half of the DCT coefficients matrix
contains the high frequency part i.e. noise. The diagonal elements of the DCT coefficients
matrix contains the maximum information of the textile pattern or design. The diagonal DCT
coefficient of the matrix are rearranged in a single column matrix to find out the mean
w w w . a a r h a t . c o m J u n e - J u l y Page 71
# (Bi-monthly) Peer-Reviewed Journal Volume No 1 Issues II ISSN 2278-5655 2012
deviation, standard deviation and covariance. By analysis of the standard deviation of the dct
coefficients, the variations in textile images are computed.
The system of digital image processing may be presented schematically as shown in
below Figure. The following operations are carried out during image quality improvement:
1. Image Acquisition
2. RGB to Gray Color Conversion
3. Image Enhancement (Thresholding)
4. Defect Identification
Block Diagram of the proposed System:
Computation
of Diagonal
DCT
Coefficients
Computation
of Mean
Deviation
Computation
of DCT
Coefficients
Computation of
Standard
Deviation
Image
Acquisition
Result
Computation
IV. IMAGE ACQUISITION
Image
Enhancement
Repeat the
Step for Test
Image
Textile/fabric surface image is acquired by using the CCD camera from top of the
surface from a distance adjusted so as to get the best possible view of the surface. Below
figures show the quality of the acquired fabric images. The textile images under test are of
size 256x256 (64KB). For proper imaging, uniform lighting system is to be maintained to
avoid any illusive defect by virtue of light reflection properties falling on surface.
Fig. 1 Fig. 2 Fig. 3
w w w . a a r h a t . c o m J u n e - J u l y Page 72
# (Bi-monthly) Peer-Reviewed Journal Volume No 1 Issues II ISSN 2278-5655 2012
Different Fabric/Textile Images Originally, the images are acquired at RGB color scale. The
images then are converted to gray scale using rgb2gray function in matlab.
V. IMAGE THRESHOLDING
The image after noise removal is brought under image thresholding algorithm. Here, a
threshold level is selected which divides the image into two color. i.e. we get a binary image
with white as back ground and black as the object of interest. In the presented work,
Histogram equalization method is adopted to enhance the contrast of the fabric surface.
Histogram Equalisation algorithm works good in this case as the fabric texture. Below figures
show the result after Histogram equalization algorithm for thresholding.
The general histogram equalization formula is:
where cdfmin is the minimum value of the cumulative distribution function, M x N are the
image’s number of columns and rows, and L is the number of gray levels used (in most cases
256).
VI. ALGORITHM
The algorithm has been implemented by using Matlab version 7.5 (Release 2009 b)
and is found to be reasonably fast and accurate than the existing computationally intensive
methods. The results are promising even when it is applied to localize defects on images with
varying lighting or exposure levels.
The proposed algorithm is dived into no. of steps discussed below :
Image Acquisition: The high definition camera is used for capturing the images
from the fabric. The grabbed image of size (256x256 in jpg format) is made input to the
developed matlab code here.
Gray Scale Image : The acquired rgb image is converted to gray scale image by using the
rgb2gray command in matlab. A gray scale image (0 – 255gray shades) is obtained.
w w w . a a r h a t . c o m J u n e - J u l y Page 73
# (Bi-monthly) Peer-Reviewed Journal Volume No 1 Issues II ISSN 2278-5655 2012
Image Enhancement :
The gray level image is enhanced by using the histogram equalization method. A
sharp contrasted image is obtained. Salt and pepper type noise are removed by the noise
removal program as discussed in previous section.
Histogram: A histogram of the enhanced image is obtained by using the imhist command in
matlab.
Image Thresholding :
Otsu algorithm is used for thresholding of the gray image. It has been observed that
Otsu algorithm works good in case of fabric image and fairly bnarized image is obtained.
Segmentation :
Segmentation algorithm is applied over the binarized image to get the segmented
patterns. Bwlabel command is used to segment the fabric image
Defects Identification :
Segmented patterns are identified based on the data base of the regular pattern design.
Say, a segmented pattern is matching from the regular [pattern data base, then it is assumed
that it is part of the design.
However, if the pattern parameters are not matching with any of the stored pattern
data base parameters, then it is assumed that the segmented pattern is a defect and should be
analysed for its type of defect.
DCT Coefficients :
In many cases, fabric have regular patterns of design. And discontinuity in regular
pattern can be identified by analysing DCT coefficients. For, the image is spitted into 8x8
blocks and DCT coefficients of each block is stored in single column a matrix. For a 8x8
block matrix, we get 8x8matrix of DCT coefficients. However, the maximum information is
available in the diagonal elements of 8x8 dct coefficients matrix. This is because, only
diagonal elements of dct coefficients matrix have the maximum frequency variation
components and they are design or patterns in the fabric image. Therefore, by making the
statistical analysis of the diagonal elements of the dct coeff. Matrices of test and reference
fabric image, variation in fabric may be checked.
w w w . a a r h a t . c o m J u n e - J u l y Page 74
# (Bi-monthly) Peer-Reviewed Journal Volume No 1 Issues II ISSN 2278-5655 2012
The discrete cosine transform (DCT) represents an image as a sum of sinusoids of varying
[magnitudes and frequencies. The dct2 function computes the two-dimensional discrete cosine](http://www.mathworks.in/help/toolbox/images/ref/dct2.html)
transform (DCT) of an image. The DCT has the property that, for a typical image, most of the
visually significant information about the image is concentrated in just a few coefficients of
the DCT. For this reason, the DCT is often used in image compression applications. For
example, the DCT is at the heart of the international standard lossy image compression
algorithm known as JPEG. (The name comes from the working group that developed the
standard: the Joint Photographic Experts Group.) The two-dimensional DCT of an M-by-N
matrix A is defined as follows.
The values Bpq are called the DCT coefficients of A.
VII. RESULTS
Irregularity in the fabric design pattern can be determined by analysing the DCT
coefficients of the test and referenced image. DCT coefficients are discussed in the previous
chapter of the report. DCT coefficients are extracted from the 8x8 block of the images and
aligned in a single column matrix vector for both test and reference images. The two matrices
are now analysed statistically to get the variations in the design pattern.
Standard deviation is computed for the variation in the dct coefficients of both the
fabric images. It is understood that if both the ref. and test images are same, then the standard
deviation should be zero. However, if the design pattern varies, then the standard deviation
will be a non-zero quantity. The range of the non-zero standard deviation depends upon the
variability in the design pattern.
Following two images show the variation in the design pattern. The dct coefficient analysis is
given below:
Fig.4
Fig. 5 Fig. 6
w w w . a a r h a t . c o m J u n e - J u l y Page 75
# (Bi-monthly) Peer-Reviewed Journal Volume No 1 Issues II ISSN 2278-5655 2012
In fig. 11.5 and 11.6, there are offset defects in the design pattern. One of the check print is
shifted in fig. 11.5 from that of the fig. 11.4. The standard deviation of dct coefficients of
above images are given below:
Std. Dev. Fig. 11.4 and Fig. 11.5 1.30
Std. Dev. Fig. 11.20 and Fig. 11.6 1.21
Low value of std. dev. In case-2 is due to the fact that offset print defect is less visible in
case-2 as compared with the case-1.
Standard Deviation is given by:
Where is the mean deviation and xi is ith dct coefficient. And N is the total no. of dct
coefficients.
Conclusion
We, human beings, have a unique capability to easily fmd imperfections in spatial
structures. This visual mechanism works even when we do not know what the ideal pattern is
and what the possible types of defects are. Just looking at a relatively regular structure
containing an imperfection, we can usually tell what is wrong there. But human inspector
based defect detection is subject to errors for many reasons. There are large influences of
human errors and subjectivity on the results of inspection. One of the most important
advantages of the method is that it is multipurpose without requiring any adjustment.
Furthermore, it can be applied to composite patterns with elements of different brightness
without any particular adaptation. The versatility of the method has been demonstrated not
only by its applicability to different regular textures but also, for a given texture, the method
allows to detect a variety of defects. The method does not need human supervision nor
previous knowledge about the texture or defect.
w w w . a a r h a t . c o m J u n e - J u l y Page 76
# (Bi-monthly) Peer-Reviewed Journal Volume No 1 Issues II ISSN 2278-5655 2012
REFERENCES
Escofet J., Millán M.S., Ralló M., “Modelling of woven fabric structures based on Fourier
image analysis”, Appl. Opt. 40, 34, 6170-6176 (2001).
Hu M.C., Tsai I.S. “Fabric Inspection Based on best Wavelet Packet Bases”, Textile Res.
J. 70(8), 662-670 (2000)..
Kang T.J. et al. “Automatic Structure Analysis and Objective Evaluation of Woven Fabric
Using Image Analysis”, Textile Res. J. 71(3), 261-270 (2001)
Weldon T. P., Higgins W. E., Dunn D. F., "Gabor filter design for multiple texture
segmentation", Opt. Eng. 35(10), 2852-2863 (1996).
Tsai I.S., Hu M.C. “Automatic Inspection of Fabric Defects Using an Artificial Neural
Network Technique”, Textile Res. J. 66(7), 474-482 (1996)
Portilla J., Navarro R., Nestares O., “Texture synthesis-by-analysis method based on a
multiscale early-vision model”, Opt. Eng. 35(8), 2403-2417 (1996).
R anden T., Hakon-Husoy J., "Multichannel filtering for image texture segmentation", Opt.
Eng. 33 (8), 2617-2625 (1994).
w w w . a a r h a t . c o m J u n e - J u l y Page 77
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.