원시데이터 수집 시스템
선정목록으로

THE USE OF HAAR WAVELETS IN DETECTING AND LOCALIZING TEXTURE DEFECTS

간접 관련 패션 · (24) 패션(코오롱FnC) (17) 스펀본드 부직포(3) 자동차 인테리어 소재

기본 정보

저자
  1. Gintarė Vaidelienė — Kaunas University of Technology
  2. Jonas Valantinas — Kaunas University of Technology
DOI
10.5566/ias.1561
저널
Image Analysis & Stereology
발행년도
2016
발행기관
Slovenian Society for Stereology and Quantitative Image Analysis
피인용수
5
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.5566/ias.1561
토픽
Textile materials and evaluations
OpenAlex ID
W2559922257

평가 내용

관련도
간접 관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
(17) 스펀본드 부직포, (3) 자동차 인테리어 소재
R&D 측면
분석·모델링
확신도
0.80
근거 용어
defect detection, texture images, fabric scraps, Haar wavelet, automatic visual inspection
판단 근거
이 논문은 Haar 웨이브렛을 이용해 직물(fabric), 가죽(leather) 등 다양한 질감 이미지의 결함을 탐지하고 위치를 찾아내는 알고리즘을 다룹니다. 이는 코오롱인더스트리의 섬유(17) 및 자동차 인테리어 소재(3) 제조 공정 중 품질 관리(Visual Inspection) 시스템에 적용 가능한 기술입니다.
R&D 활용 포인트
섬유, 인공피혁, 부직포 등 코오롱의 주요 소재 생산 라인에서 머신 비전 기반의 자동 결함 검사 시스템을 구축하거나 고도화할 때 알고리즘 모델로 활용 가능합니다.
평가 입력
본문 26,164자

초록

In this paper, a new Haar wavelet-based approach to the detection and localization of defects in grey-level texture images is presented. This new approach explores space localization properties of the discrete Haar wavelet transform (HT) and generates statistically-based parameterized texture defect detection criteria. The criteria provide the user with a possibility to control the percentage of both the actually defect-free images detected as defective and/or the actually defective images detected as defect-free, in the class of texture images under investigation. The experiment analyses samples of ceramic tiles, glass samples, as well as fabric scraps, taken from real factory environment.

본문 26,164자

본문 펼치기
Image Anal Stereol 2016;35:195-201 doi: 105566/ias.1561 _Original Article_ # THE USE OF HAAR WAVELETS IN DETECTING AND LOCALIZING TEXTURE DEFECTS ## GINTARĖ VAIDELIENĖ  AND JONAS VALANTINAS Kaunas University of Technology, Department of Applied Mathematics, Kaunas, Lithuania e-mails: gintare.vaideliene@ktu.lt; jonas.valantinas@ktu.lt _(Received June 8, 2016; revised October 16, 2016; revised November 22, 2016; accepted November 25, 2016)_ ABSTRACT In this paper, a new Haar wavelet-based approach to the detection and localization of defects in grey-level texture images is presented. This new approach explores space localization properties of the discrete Haar wavelet transform (HT) and generates statistically-based parameterized texture defect detection criteria. The criteria provide the user with a possibility to control the percentage of both the actually defect-free images detected as defective and/or the actually defective images detected as defect-free, in the class of texture images under investigation. The experiment analyses samples of ceramic tiles, glass samples, as well as fabric scraps, taken from real factory environment. Keywords: automatic visual inspection, defect detection, discrete wavelets transforms, statistical data analysis, texture images ## INTRODUCTION Automatic defect detection using a vision system is one of the key technologies for improving productivity and maintenance of high product quality in a factory. Defect detection is intended to solve the problem of localization of abnormal areas in industrial products such as leather, textile, glass, paper, plastic products, ceramics tiles, etc. In the last decade, dozens of methods for detecting texture surface defects have been developed and proposed. Most of them can be roughly divided into four categories: statistical, modelbased, structural and spectral (Xie, 2008; Ngan _et al._, 2011; Karimi and Asemani, 2014). Among the latter, some methods are oriented to detect specific defects, such as slub (Liu _et al._, 2008), pincher (Chuang _et al._, 2009), crack (Chambon _et al._, 2011), welding (Nacereddine _et al._, 2007), knots (Hu _et al._, 2011), colour tonality (Xie _et al._, 2006), etc., whereas other methods (often called hybrid methods) combine several ideas and techniques to compensate for the shortcomings associated with the variety and complexity of texture defects. The hybrid defect detection methods quite often employ statistical and spectral analysis. These include visual inspection, based on wavelet characteristics and multivariate statistics of Hotelling, as well as Mahalanobis distance, Chi-square function, for ceramic surfaces (Lin, 2007), independent vector analysis and statistical schemes, along with wavelet transforms 195 described in Sari and Ertüzün’s (2014). Some methods combine Gabor analysis of the sample image and statistical processing of wavelet coefficients (Rallo _et_ _al._, 2009). Kim and Kang (2006; 2007) have extracted texture features using wavelet packet frame decomposition, and selected the Gaussian mixture model as a classifier. Moreover, there is a study which investigates neural networks with the pyramid wavelet transform (Wong _et al._, 2009), as well as statistical analysis (Lin, 2009). An automatic damage detection system for engineering ceramic surfaces with image processing techniques, pattern recognition and machine vision is presented in Chen _et al._ (2013). The majority of defect detection methods found in literature are adapted to process one type of texture surfaces. However, at present there is a growing need to develop more flexible defect detection schemes suitable for processing several types of texture surfaces. For instance, Kwon _et al._ (2015) have indicated that seven different classes of texture images can be distinguished using Variance of Variance (VOV) profiles applied to the random forest-based machine learning algorithm. The article (Yuan _et al._, 2015) describes the modified Otsu method with the weight function which can be used to detect defects on texture surfaces such as wood, fabric, metal, rail images, etc. Hu _et al._ (2014) propose a wavelet-domain hidden Markov tree (HMT) model to process surfaces like textile fabric, woven wool, leather and sandpaper. For the same purpose, an optimized elliptical Gabor filter is considered (Hu, 2015). Tolba (2012) introduces a novel multi-scale and multi-directional (MSMD) autocorrelation function (ACF)-based approach to reliable defect detection and localization on homogeneous web surfaces. In this paper, a hybrid texture defect detection method (approach) that can be applied to inspect various types of texture surfaces (ceramic tiles, glass, textile, etc.) is presented. The developed approach combines Haar wavelet analysis of test texture images with statistically-based processing of non-overlapping subsets of wavelet coefficients. ## MATERIAL AND METHODS THE TEXTURE DEFECT DETECTION: THE BASIC IDEA The key point of the proposed texture defect detection approach is simultaneous application of several different scanning filters to the texture image under investigation. The filters differ in size and formation, and actualize particularities of two-dimensional Haar wavelets. The decision on the quality of the test texture image is made in relation to a priori prescribed percentage of positive responses. The whole texture defect detection process comprises of six steps, namely: 1. The training set _SX_ is selected from the whole set (total population) _T_ of defect-free texture images, _i.e._ VAIDELIENĖ G ET AL: _Haar wavelets in detecting defects_ _k_ 1  0 and _n_   log2 _k_ 2   _i_ 2 or _n_  log 2 _k_ 1   _i_ 1 and value _<u>Y</u>_ ( _i_ 1, _i_ 2 ) ( _i_ 1, _i_ 2  {0,1, , _n_ }) and a priori prescribed probability _p_ (0 < _p_ < 1), the parameterized sigma intervals _I_ _p_  _I_ _p_ ( _i_ 1, _i_ 2 ) are constructed, _n_   log2 _k_ 2    _k_ 2   _i_ 2 , respectively. It is worth emphasizing that there is one-to-one correspondence between the set of regions {  _s_ ( <sup>_i_</sup> 1, <sup>_i_</sup> 2 )| _i_ 1, _i_ 2  {0,1, , _n_ }} and the set of partitioning {  _s_ ( <sup>_i_</sup> 1, <sup>_i_</sup> 2 )| _i_ 1, _i_ 2  {0,1, , _n_ }} and the set of partitioning schemes {  ( _i_ 1, _i_ 2 )| _i_ 1, _i_ 2  {0,1, , _n_ }} of the texture image _X_ of size 2 _n_  2 _n_, where:  (0,0) represents a unique block which coincides with _X_ ;  ( _i_ 1,0),  (0, _i_ 2 ) 1, <sup>_i_</sup> 2 )| _i_ _i_ 1, _i_ 2  {0,1, , _n_ }} {  ( _i_ 1, _i_ 2 )| _i_ 1, _i_ 2  {0,1  (0,0) unique block which coincides with _X_ ;  ( _i_ 1,0),  (0, _i_ 2 ) and  ( _i_ 1, _i_ 2 ) ( _i_ 1, _i_ 2  1,2, , _n_ ) stand for the regular partition of _X_ into non-overlapping image blocks of size 2 _i_ 1  2 _n_, 2 _n_  2 <sup>_i_</sup> 2 and 2 _i_ 1  2 _i_ 2, respectively. Numerical values of HT spectral coefficients, contained in  _s_ ( _i_ 1, _i_ 2 ) ( _i_ 1, _i_ 2  {0,1, , _n_ }) are specified uniquely by respective image blocks of the partitioning scheme  ( _i_ 1, _i_ 2 <sup>)</sup> . The latter blocks are processed consecutively using one filtering scheme (Fig. 1). 4. Using the sample data ( _<u>Y</u>_ 1( _i_ 1, _i_ 2 ), _<u>Y</u>_ 2 ( _i_ 1, _i_ 2 ), , _<u>Yr</u>_ ( _i_ 1, _i_ 2 )), where <sup>_<u>Y</u>_</sup> _s_ ( <sup>_i_</sup> 1, <sup>_i_</sup> 2 ) ( _s_  {1,2,  _r_ }) is the average value of HT spectral coefficients falling into the region  _s_ ( <sup>_i_</sup> 1, <sup>_i_</sup> 2 <sup>)</sup> ( _i_ 1, _i_ 2  {0,1, , _n_ }), the statistical hypothesis on the type of distribution of the value (discrete random variable) _<u>Y</u>_ ( _i_ 1, _i_ 2 ) (representing the total population _T_ ) is tested. 5. Taking into account both the type of distribution (normal, lognormal, exponential, etc.) of the value _<u>Y</u>_ ( _i_ 1, _i_ 2 ) ( _i_ 1, _i_ 2  {0,1, , _n_ }) and a priori  { _X_ _s_  [ _X_ _s_ ( _m_ 1, _m_ 2 )]| _m_ 1, _m_ 2  {0,1, , _N_  _S_ _X_  { _X_ _s_  [ _X_ _s_ ( _m_ 1, _m_ 2 )]| _m_ 1, _m_ 2  {0,1, , _N_ _N_  2 _n_ ; _n_  N; _s_  1,2, _r_ } { _X_ _s_  [ _X_ _s_ ( _m_ 1, _m_ 2 )]| _m_ 1, _m_ 2  {0,1, , _N_  1 }; _I_ _p_  _I_ _p_ ( _i_ 1, _i_ _X_ _s_ _s_ ,  _r_  2 _n_ ; _n_  N; _s_  1,2,  _r_ }  _N_  2 _n_ ; _n_  N; _s_  1,2,  _r_ }  _T_ 2 _n_ ; _n_  N; _s_  1,2,  _r_ }  _T_ . 2. The corresponding set _SY_ of discrete Haar wavelet (HT) spectra of images in _SX_ is generated, _i.e._ ### i.e., P  Y ( i 1, i 2 )  I p   p .  { _Ys_  [ _Ys_ ( _k_ 1, _k_ 2 )]| _k_ 1, _k_ 2  {0,1, , _N_  _SY_  { _Ys_  [ _Ys_ ( _k_ 1, _k_ 2 )]| _k_ 1, _k_ 2  {0,1, , _N_ { _Ys_  [ _Ys_ ( _k_ 1, _k_ 2 )]| _k_ 1, _k_ 2  {0,1, , _N_  1}, , ,   1,2,  _r_ }. _s_  1,2,  _r_ 3. For each _s_ ( _s_  {1,2,  _r_ }), the set of HT spectral coefficients { <sup>_Y_</sup> _s_ ( <sup>_k_</sup> 1, <sup>_k_</sup> 2 ) | _k_ 1, _k_ 2  0,1, , _N_  1} is partitioned into a collection of non-overlapping subsets (regions), namely:  _s_ (0,0),  _s_ ( <sup>_i_</sup> 1,0),  _s_ (0, _i_ 2 ) and  _s_ ( <sup>_i_</sup> 1, <sup>_i_</sup> 2 ), where _i_ 1, _i_ 2  1,2, , _n_ . The spectral coefficient _Ys_ ( _k_ 1, _k_ 2 ) ( _k_ 1, _k_ 2  {0,1, , _N_  1}) is attached to the region  _s_ (0,0),  _s_ ( _i_ 1,0),  _s_ (0, _i_ 2 ) or  _s_ ( <sup>_i_</sup> 1, <sup>_i_</sup> 2 ), if and only if _k_ 1  _k_ 2  0, _n_   log 2 _k_ 1   _i_ 1 and _k_ 2  0,  _s_ ( <sup>_i_</sup> 1, <sup>_i_</sup> 2 ) 1, _i_ 2  1,2,  , _n_ _Ys_ ( _k_ 1, _k_ 2 ) ( _k_ 1, _k_ 2 , _N_  1}) _s_  _s_ (0,0 ),  _s_ ( _i_ 1,0),  _s_ (0, _i_ 2 ) or  _s_ ( <sup>_i_</sup> 1, <sup>_i_</sup> 2 )  _s_  {0,1, , ( _i_ 1,0),  _s_ (0, _i_ 2 ) _n_   log   log 2 _k_ 1   _i_ 1 1  _k_ 2  0 The texture defect detection criterion _CRITp_ is defined to be _CRITp_  { _I_ _p_  _I_ _p_ ( _i_ 1, _i_ 2 )| _i_ 1, _i_ 2  0,1, , _n_ } . The optimal value of the parameter _p_, for a particular class of texture images, is determined experimentally considering the texture defect information provided by an expert. 6. The test texture image _Xtest_ of size 2 <sup>_n_</sup>  2 <sup>_n_</sup> is assumed to be defect-free if the number of cases when _<u>Ytest</u>_ ( _i_ 1, _i_ 2 ) falls into the respective sigma interval <sup>_I_</sup> _p_ ( _i_ 1, _i_ 2 ) ( _i_ 1, _i_ 2  0,1, , _n_ ) is not less than _p_ ( _n_  1)2. Otherwise, the image _Xtest_ is assumed to be defective. Thus, in the texture defect detection _k_ 2  0, 196 Image Anal Stereol 2016;35:195-201 process, the test texture image _Xtest_ is scanned ( _n_ + 1) <sup>2</sup> times, and all scanning results contribute to the final decision on the quality of the test texture image. Fig. 1. _Image partitioning and filtering schemes (pixel_ _values, contained in the black area of the image block,_ _are subtracted from those contained in the grey area;_ _the resulting sum is multiplied by a scalar, shown_ _above): (a)_  (0,0) _; (b)_  (0, _i_ 2 ) _; (c)_  ( _i_ 1,0) _; (d)_  ( _i_ 1, _i_ 2 ) _._ LOCALIZING DEFECTS IN DEFECTIVE TEXTURE IMAGES Another problem, closely related to the detection of defects in texture images (surfaces), is the localization of defects on the defective surface. This problem is noteworthy not only theoretically but also practically ( _e.g._, to meet industrial needs). For instance, in the glass (card-board, plastic, ceramic, etc.) industry, it often happens that not only large defect-free sheets of the production are manufactured, processed and dispatched to the customer but also smaller defect-free pieces, obtained from the defective sheet, are processed repeatedly during planned technological processes. The proposed scheme for localizing defects in the defective texture image _Xdef_ of size _N_  _N_ ( _N_ = 2 <sup>_n_</sup>, _n_  _N_ ) comprises of four steps, namely: (1) parti-tioning the image _Xdef_ into non-overlapping image blocks of size 2 _m_  2 _m_, _m_  { _n_  1, _n_  2,  }; (2) generating HT spectra for the latter blocks, with the use of a computational 197 algorithm (Valantinas _et al._, 2013); (3) constructing the parameterized texture defect detection criteria (on the basis of the training set _SX_ ) for each image block 2 _m_  2 _m_ ; (4) applying the same defect detection “mechanism” to each image block as in the case of the whole test texture image. ## RESULTS In this section, the overall performance of the developed approach (method) to detecting and localizing defects in texture images (surfaces) is evaluated. Three classes of grey-level texture images of size 256×256 have been explored, namely: ceramic tiles, glass sheets and fabric scraps. All experiments have been implemented on a personal computer using MatLab. Computer simulations were performed on a PC with CPU Intel Core i5-4200 U CPU@2.36 Hz, 8 GB of memory. First of all, 100 defective images and 100 defectfree images, for each class of texture images, were selected. Then, three experiments, each including 100 randomly chosen test image samples (50 defect-free images, and 50 defective ones), were carried out. The analysis of experimental results are presented in Table 1, where the system’s performance parameter TP (true positive) stands for the detection of actual abnormalities, TN (true negative) means that normal textures are correctly labelled, FN (false negative) implies that true abnormality is not detected and FP (false positive) signifies that the texture is falsely identified as abnormal. Table 1 shows that the test image classification results depend on the probability _p._ To measure the extent of this dependence, three widely used performance parameters of the secondary system were introduced and explored, namely: accuracy (texture defect detection success rate) = (TP+TN)/(TP+FN+TN+FP), sensitivity = TP/(TP+FN) and specificity = TN/(TN+FP). The average values of these parameters were calculated for each class of texture images (including all three experiments and some selected values of probability _p_  [0.5;0.99] ) (Figs. 2-4). It can be observed (Fig. 2) that the highest average accuracy values are: 0.94 (fabric scraps), for _p_ = 0.975; 0.97 (ceramic tiles), for _p_ = 0.99; 0.99 (glass sheets), for _p_ = 0.99; also, the texture defect detection success rate, for all classes of texture images, tends to decrease, as _p_ decreases. Therefore, in real applications, values of the parameter (probability) _p_, which are close to 1, should be explored. VAIDELIENĖ G ET AL: _Haar wavelets in detecting defects_ Table 1. _Classification of fabric scraps, ceramic tiles and glass sheet images._ Probability, <u>Fabric scraps</u> <u>Ceramic tiles</u> <u>Glass sheets</u> _p_ <u>Exp. 1</u> <u>Exp. 2</u> <u>Exp. 3</u> <u>Exp. 1</u> <u>Exp. 2</u> <u>Exp. 3</u> <u>Exp. 1</u> <u>Exp. 2</u> <u>Exp. 3</u> <u>TP</u> <u>83%</u> <u>80%</u> <u>77%</u> <u>90%</u> <u>98%</u> <u>94%</u> <u>98%</u> <u>100%</u> <u>98%</u> <u>FP</u> <u>7%</u> <u>3%</u> <u>7%</u> <u>4%</u> <u>4%</u> <u>10%</u> <u>14%</u> <u>12%</u> <u>6%</u> 0.9 <u>TN</u> <u>93%</u> <u>97%</u> <u>93%</u> <u>96%</u> <u>96%</u> <u>90%</u> <u>86%</u> <u>88%</u> <u>94%</u> <u>FN</u> <u>17%</u> <u>20%</u> <u>24%</u> <u>10%</u> <u>2%</u> <u>6%</u> <u>2%</u> <u>0%</u> <u>2%</u> <u>TP</u> <u>87%</u> <u>87%</u> <u>80%</u> <u>98%</u> <u>98%</u> <u>96%</u> <u>98%</u> <u>100%</u> <u>98%</u> <u>FP</u> <u>7%</u> <u>7%</u> <u>7%</u> <u>6%</u> <u>4%</u> <u>10%</u> <u>8%</u> <u>10%</u> <u>6%</u> 0.925 <u>TN</u> <u>93%</u> <u>93%</u> <u>93%</u> <u>94%</u> <u>96%</u> <u>90%</u> <u>92%</u> <u>90%</u> <u>94%</u> <u>FN</u> <u>13%</u> <u>13%</u> <u>20%</u> <u>2%</u> <u>2%</u> <u>4%</u> <u>2%</u> <u>0%</u> <u>2%</u> <u>TP</u> <u>90%</u> <u>90%</u> <u>87%</u> <u>98%</u> <u>100%</u> <u>96%</u> <u>98%</u> <u>100%</u> <u>98%</u> <u>FP</u> <u>3%</u> <u>3%</u> <u>3%</u> <u>0%</u> <u>2%</u> <u>10%</u> <u>6%</u> <u>6%</u> <u>4%</u> 0.95 <u>TN</u> <u>97%</u> <u>97%</u> <u>97%</u> <u>100%</u> <u>98%</u> <u>90%</u> <u>94%</u> <u>94%</u> <u>96%</u> <u>FN</u> <u>10%</u> <u>10%</u> <u>13%</u> <u>2%</u> <u>0%</u> <u>4%</u> <u>2%</u> <u>0%</u> <u>2%</u> <u>TP</u> <u>93%</u> <u>90%</u> <u>90%</u> <u>98%</u> <u>100%</u> <u>96%</u> <u>98%</u> <u>100%</u> <u>96%</u> <u>FP</u> <u>3%</u> <u>3%</u> <u>3%</u> <u>2%</u> <u>2%</u> <u>18%</u> <u>6%</u> <u>4%</u> <u>4%</u> 0.975 <u>TN</u> <u>97%</u> <u>97%</u> <u>97%</u> <u>98%</u> <u>98%</u> <u>92%</u> <u>94%</u> <u>96%</u> <u>96%</u> <u>FN</u> <u>7%</u> <u>10%</u> <u>10%</u> <u>2%</u> <u>0%</u> <u>4%</u> <u>0%</u> <u>0%</u> <u>4%</u> <u>TP</u> <u>97%</u> <u>93%</u> <u>93%</u> <u>98%</u> <u>100%</u> <u>96%</u> <u>98%</u> <u>100%</u> <u>100%</u> <u>FP</u> <u>30%</u> <u>33%</u> <u>23%</u> <u>2%</u> <u>2%</u> <u>8%</u> <u>0%</u> <u>0%</u> <u>2%</u> 0.99 <u>TN</u> <u>70%</u> <u>67%</u> <u>77%</u> <u>98%</u> <u>98%</u> <u>92%</u> <u>100%</u> <u>100%</u> <u>98%</u> <u>FN</u> <u>3%</u> <u>7%</u> <u>7%</u> <u>2%</u> <u>0%</u> <u>4%</u> <u>2%</u> <u>0%</u> <u>0%</u> Fig. 2. _Dependence of the defect detection success rate on the probability p._ Fig. 3. _Dependence of the defect detection sensitivity rate on the probability p._ 198 Image Anal Stereol 2016;35:195-201 Fig. 4. _Dependence of the defect detection specificity rate on the probability p._ On the other hand, the above results show comparatively high performance of the proposed approach. Indeed, the wavelet-domain HMT model (Hu _et al._, 2014) using textile fabric, woven wool, leather and sandpaper surfaces gives the defect detection success rate of (on average) 0.921. The success rate when applying VOV profiles to forest-based machine learning algorithm (Kwon _et al._, 2015) is 0.927, for wafer, solid car surface, pear colour car surface, paper, fabric, stone and striped-metal. Figs. 3 and 4 present the dependence of the remaining secondary parameters (sensitivity, specificity) on probability _p._ Usually, this dependence is analysed to control risk in the process of texture defect detection to establish particular criteria. If the priority is considered to be the selection of highest quality products (fabric scraps, ceramic tiles, glass sheets), _i.e._, sorting out all defective products perhaps at the expense of some defect-free products, the value of _p_ should be chosen in such a way that sensitivity is close to 1 and specificity is less than 1. If the main interest is in the second-rate products, the value of _p_ should be selected so that sensitivity is less than 1 and specificity is close to 1. For instance, in the case of fabric scraps (Figs. 3-4), for _p_ = 0.99: sensitivity = 0.94 and specificity = 0.72. It means that 28% of actually defect-free texture images (however characterized by negligible defects) are classified as defective. The remaining images, classified as defect-free are of the highest quality. For _p_ = 0.7, in the class of ceramic tiles (Figs. 3-4), specificity = 0.98 and sensitivity = 0.87. Thus, 13% of actually defective images are classified as being defectfree. This leads to the selection (classification) of second-rate ceramic tiles. In the case of glass sheets (Figs. 3-4), sensitivity = 0.99, for _p_ = [0.825, 0.95], and specificity varies from 0.85 to 0.94, respectively. This means that one 199 can control the quality (at the same time, percentage) of classified defect-free images by removing 6% or more (up to 15%) of actually defect-free images (perhaps having small defects). Beyond a doubt, the above facts bring to light and corroborate existing flexibility of the developed texture defect detection system. Some texture defect localization results are presented in Fig. 5. In all cases, the defective texture image 256×256 has been partitioned into smaller blocks of size 64×64, and each block has then been inspected separately. Defective textile samples with darkened areas of different fabric defects are displayed in Fig. 5a, darkened abnormalities in ceramic tiles are shown in Fig. 5b and defective glass sheets with localized defects are presented in Fig. 5c. Thus, the proposed scheme is useful for localizing texture defects, _i.e._, it successfully segments defects of different shapes, positions and texture backgrounds. ## DISCUSSION In this paper, a new Haar wavelet-based defect detection and localization method (approach) for grey-level texture images is proposed. The approach explores space localization properties of the discrete Haar wavelet transform, generates statistically-based texture defect detection criteria and leaves space for controlling the risk. The analysis of experimental results which demonstrate the use of the developed approach to visual inspection of glass sheets, ceramic tiles and fabric scraps obtained from real factory environment showed that the average texture defect detection success rate (accuracy) of the system was rather high: 0.98, for glass sheets; 0.97, for ceramic tiles; 0.94, for fabric scraps. VAIDELIENĖ G ET AL: _Haar wavelets in detecting defects_ (a) Fabric scraps (b) Ceramic tiles (c) Glass sheets Fig. 5. _Localizing surface defects_ ( _n_ = 8, _m_ = 6, _p_ = 0.99). Based on our experience, we here note that a taskoriented adaptation of the proposed defect detection system is necessary for a specific class of texture images. The nature of texture images falling into one or the other class cannot be ignored, _i.e._, in each case, the numerical values of the parameter (probability) _p_ for constructing sets of respective sigma intervals should be selected properly. The computation of the discrete Haar spectra for the selected texture image fragments 2 <sup>_m_</sup>  2 <sup>_m_</sup> using full image HT spectrum is 10-20 times faster in comparison with the direct evaluation procedures. This can be explained by the fact that the absolute majority, _i.e._, (2 <sup>_m_</sup> - 1) <sup>2</sup> spectral coefficients are transferred into the Haar spectrum of the fragment under consideration without any changes. This way, the time needed to test a single image with fixed probability _p_ is 0.028 s, and defect localization requires additional 0.04 s. Our work in the nearest future is going to focus on the analysis of the potential possibility to apply higher-order statistics ( _e.g._, sample variance) to developing Haar wavelet-based texture defect detection criteria. REFERENCES Chambon S, Gourraud C, Moliard JM, Nicolle P (2010). Road crack extraction with adapted filtering and Markov model-based segmentation: introduction and validation. Int Joint Conference on Computer Vision Theory and Applications, VISAPP, May 2010, France. Chen S, Lin B, Han X, Liang X (2013). Automated inspec tion of engineering ceramic grinding surface damage based on image recognition. Int J Adv Manuf Tech 66:431–43. Chuang WL, Chen CH, Yen JY, Hsu YL (2009). Using MPCA of spectra model for fault detection in a hot strip mill. J Mater Process Tech 209:4162–8. Hu C, Min X, Yun H, Wang T, Zhang S (2011). Auto matic detection of sound knots and loose knots on sugi using gray level co-occurrence matrix parameters. Ann Forest Sci 68:1077–83. Hu GH (2015). Automated defect detection in textured surfaces using optimal elliptical Gabor filters. Optik 126:1331-40. Hu GH, Zhang GH, Wang QH (2014). Automated defect detection in textured materials using wavelet-domain hidden Markov models. Opt Eng 53(9):093107. doi: 10.1117/1.OE.53.9.093107. Karimi MH, Asemani D (2014). Surface defect detection in tiling Industries using digital image processing methods: Analysis and evaluation. Isa T 53:834–44. Kim SC, Kang TJ (2006). Automated defect detection system using wavelet packet frame and Gaussian mixture model. J Opt Soc Am A 23(11):2690–701. Kim SC, Kang TJ (2007). Texture classification and seg mentation using wavelet packet frame and Gaussian mixture model. Pattern Recogn 40:1207–21. Kwon BK, Won JS, Kang DJ (2015). Fast defect detection for various types of surfaces using random forest with VOV Features. Int J Precis Eng Man 16(5):965–70. 200 Image Anal Stereol 2016;35:195-201 Lin HD (2007). Automated visual inspection of ripple defects using wavelet characteristic based multivariate statistical approach. Image Vision Comput 25:1785–801. Lin HD (2009). Automated defect inspection of light emitting diode chips using neural network and statistical approaches. Expert Syst Appl 36:219–26. Liu X, Su ZWZ, Choi KF (2008). Slub extraction in woven fabric images using Gabor filters. Text Res J 78:320–5. Nacereddine N, Hamami L, Tridi M, Oucief N (2007). Non parametric histogram-based thresholding methods for weld defect detection in radiography. International J Electr, Comput, Energe, Electron Commun Eng 9(1): 1401–5. Ngan HYT, Pang GKH, Yung NHC (2011). Automated fabric defect detection – a review. Image Vision Comput 29:442–58. Ralló M, Millán MS, Escofet J (2009). Unsupervised novelty detection using Gabor filters for defect segmentation in textures. J Opt Soc Am A 26(9):1967–76. Sari L, Ertüzün A (2014). Texture defect detection using independent vector analysis in wavelet domain. 22nd 201 Int Conf Pattern Recogn, Aug 24-28, 2014, Sweden, 1639–44. Tolba AS (2012). A novel multiscale-multidirectional auto correlation approach for defect detection in homogeneous flat surfaces. Mach Vision Appl 23:739-50. Valantinas J, Kančelkis D, Valantinas R, Viščiūtė G (2013). Improving space localization properties of the discrete wavelet transform. Informatica-Lithuan 24(4):657-74. Wong WK, Yuen CWM, Fan DD, Chan LK, Fung EHK (2009). Stitching defect detection and classification using wavelet transform and BP neural network. Expert Syst Appl 36:3845-56. Xie X (2008). Review of recent advances in surface defect detection using texture analysis techniques. ELCVIA 7(3):1–22. Xie X, Mirmehdi M, Thomas B (2006). Colour tonality inspection using eigenspace features. Mach Vision Appl 16(6):364–73. Yuan XC, Wua LS, Pengb Q (2015). An improved Otsu method using the weighted object variance for defect detection. Appl Surf Sci 349:472–84.

섹션 본문 37문단 · 14,037자

(제목 없음)

1In this paper, a new Haar wavelet-based approach to the detection and localization of defects in grey-level texture images is presented. This new approach explores space localization properties of the discrete Haar wavelet transform (HT) and generates statistically-based parameterized texture defect detection criteria. The criteria provide the user with a possibility to control the percentage of both the actually defect-free images detected as defective and/or the actually defective images detected as defect-free, in the class of texture images under investigation. The experiment analyses samples of ceramic tiles, glass samples, as well as fabric scraps, taken from real factory environment.

INTRODUCTION

2Automatic defect detection using a vision system is one of the key technologies for improving productivity and maintenance of high product quality in a factory. Defect detection is intended to solve the problem of localization of abnormal areas in industrial products such as leather, textile, glass, paper, plastic products, ceramics tiles, etc. In the last decade, dozens of methods for detecting texture surface defects have been developed and proposed. Most of them can be roughly divided into four categories: statistical, modelbased, structural and spectral (Xie, 2008;Ngan et al., 2011;Karimi and Asemani, 2014). Among the latter, some methods are oriented to detect specific defects, such as slub (Liu et al., 2008), pincher (Chuang et al., 2009), crack (Chambon et al., 2011), welding (Nacereddine et al., 2007), knots (Hu et al., 2011), colour tonality (Xie et al., 2006), etc., whereas other methods (often called hybrid methods) combine several ideas and techniques to compensate for the shortcomings associated with the variety and complexity of texture defects.

3The hybrid defect detection methods quite often employ statistical and spectral analysis. These include visual inspection, based on wavelet characteristics and multivariate statistics of Hotelling, as well as Mahalanobis distance, Chi-square function, for ceramic surfaces (Lin, 2007), independent vector analysis and statistical schemes, along with wavelet transforms described in Sari and Ertüzün's (2014). Some methods combine Gabor analysis of the sample image and statistical processing of wavelet coefficients (Rallo et al., 2009). Kim and Kang (2006;2007) have extracted texture features using wavelet packet frame decomposition, and selected the Gaussian mixture model as a classifier. Moreover, there is a study which investigates neural networks with the pyramid wavelet transform (Wong et al., 2009), as well as statistical analysis (Lin, 2009). An automatic damage detection system for engineering ceramic surfaces with image processing techniques, pattern recognition and machine vision is presented in Chen et al. (2013).

4The majority of defect detection methods found in literature are adapted to process one type of texture surfaces. However, at present there is a growing need to develop more flexible defect detection schemes suitable for processing several types of texture surfaces. For instance, Kwon et al. (2015) have indicated that seven different classes of texture images can be distinguished using Variance of Variance (VOV) profiles applied to the random forest-based machine learning algorithm. The article (Yuan et al., 2015) describes the modified Otsu method with the weight function which can be used to detect defects on texture surfaces such as wood, fabric, metal, rail images, etc. Hu et al. (2014) propose a wavelet-domain hidden Markov tree (HMT) model to process surfaces like textile fabric, woven wool, leather and sandpaper. For the same purpose, an optimized elliptical Gabor filter is considered (Hu, 2015). Tolba (2012) introduces a novel multi-scale and multi-directional (MSMD) autocorrelation function (ACF)-based approach to reliable defect detection and localization on homogeneous web surfaces.

5In this paper, a hybrid texture defect detection method (approach) that can be applied to inspect various types of texture surfaces (ceramic tiles, glass, textile, etc.) is presented. The developed approach combines Haar wavelet analysis of test texture images with statistically-based processing of non-overlapping subsets of wavelet coefficients.

THE TEXTURE DEFECT DETECTION: THE BASIC IDEA

6The key point of the proposed texture defect detection approach is simultaneous application of several different scanning filters to the texture image under investigation. The filters differ in size and formation, and actualize particularities of two-dimensional Haar wavelets. The decision on the quality of the test texture image is made in relation to a priori prescribed percentage of positive responses.

7The whole texture defect detection process comprises of six steps, namely:

81. The training set S X is selected from the whole set (total population) T of defect-free texture images, i.e.

9is partitioned into a collection of non-overlapping subsets (regions), namely:

10, ,

11It is worth emphasizing that there is one-to-one correspondence between the set of regions

12stand for the regular partition of X into non-overlapping image blocks of size Numerical values of HT spectral coefficients, contained in

13are specified uniquely by respective image blocks of the partitioning scheme 1 2 )

14. The latter blocks are processed consecutively using one filtering scheme (Fig. 1).

154. Using the sample data 1 1 2 2 1 2 1 2 ( , ), ( , ), , ( , )),

16is the average value of HT spectral coefficients falling into the region

17, the statistical hypothesis on the type of distribution of the value (discrete random variable)

18The texture defect detection criterion p CRIT is defined to be

19The optimal value of the parameter p, for a particular class of texture images, is determined experimentally considering the texture defect information provided by an expert.

206. The test texture image X test of size 2 n 2 n is assumed to be defect-free if the number of cases when ( 1) . p n  Otherwise, the image X test is assumed to be defective. Thus, in the texture defect detection process, the test texture image X test is scanned (n + 1) 2 times, and all scanning results contribute to the final decision on the quality of the test texture image.

LOCALIZING DEFECTS IN DEFECTIVE TEXTURE IMAGES

21Another problem, closely related to the detection of defects in texture images (surfaces), is the localization of defects on the defective surface. This problem is noteworthy not only theoretically but also practically (e.g., to meet industrial needs). For instance, in the glass (card-board, plastic, ceramic, etc.) industry, it often happens that not only large defect-free sheets of the production are manufactured, processed and dispatched to the customer but also smaller defect-free pieces, obtained from the defective sheet, are processed repeatedly during planned technological processes.

22The proposed scheme for localizing defects in the defective texture image X def of size NN (N = 2 n , n  N) comprises of four steps, namely: (1) parti-tioning the image X def into non-overlapping image blocks of size ,

23(2) generating HT spectra for the latter blocks, with the use of a computational algorithm (Valantinas et al., 2013); (3)  ; (4) applying the same defect detection "mechanism" to each image block as in the case of the whole test texture image.

RESULTS

24In this section, the overall performance of the developed approach (method) to detecting and localizing defects in texture images (surfaces) is evaluated. Three classes of grey-level texture images of size 256×256 have been explored, namely: ceramic tiles, glass sheets and fabric scraps.

25All experiments have been implemented on a personal computer using MatLab. Computer simulations were performed on a PC with CPU Intel Core i5-4200 U CPU@2.36 Hz, 8 GB of memory.

26First of all, 100 defective images and 100 defectfree images, for each class of texture images, were selected. Then, three experiments, each including 100 randomly chosen test image samples (50 defect-free images, and 50 defective ones), were carried out. The analysis of experimental results are presented in Table 1, where the system's performance parameter TP (true positive) stands for the detection of actual abnormalities, TN (true negative) means that normal textures are correctly labelled, FN (false negative) implies that true abnormality is not detected and FP (false positive) signifies that the texture is falsely identified as abnormal. Table 1 shows that the test image classification results depend on the probability p. To measure the extent of this dependence, three widely used performance parameters of the secondary system were introduced and explored, namely: accuracy (texture defect detection success rate) = (TP+TN)/(TP+FN+TN+FP), sensitivity = TP/(TP+FN) and specificity = TN/(TN+FP). The average values of these parameters were calculated for each class of texture images (including all three experiments and some selected values of probability It can be observed (Fig. 2) that the highest average accuracy values are: 0.94 (fabric scraps), for p = 0.975; 0.97 (ceramic tiles), for p = 0.99; 0.99 (glass sheets), for p = 0.99; also, the texture defect detection success rate, for all classes of texture images, tends to decrease, as p decreases. Therefore, in real applications, values of the parameter (probability) p, which are close to 1, should be explored. On the other hand, the above results show comparatively high performance of the proposed approach. Indeed, the wavelet-domain HMT model (Hu et al., 2014) using textile fabric, woven wool, leather and sandpaper surfaces gives the defect detection success rate of (on average) 0.921. The success rate when applying VOV profiles to forest-based machine learning algorithm (Kwon et al., 2015) is 0.927, for wafer, solid car surface, pear colour car surface, paper, fabric, stone and striped-metal.

VAIDELIENĖ G ET AL: Haar wavelets in detecting defects

27Figs. 3 and 4 present the dependence of the remaining secondary parameters (sensitivity, specificity) on probability p. Usually, this dependence is analysed to control risk in the process of texture defect detection to establish particular criteria. If the priority is considered to be the selection of highest quality products (fabric scraps, ceramic tiles, glass sheets), i.e., sorting out all defective products perhaps at the expense of some defect-free products, the value of p should be chosen in such a way that sensitivity is close to 1 and specificity is less than 1. If the main interest is in the second-rate products, the value of p should be selected so that sensitivity is less than 1 and specificity is close to 1.

28For instance, in the case of fabric scraps , for p = 0.99: sensitivity = 0.94 and specificity = 0.72. It means that 28% of actually defect-free texture images (however characterized by negligible defects) are classified as defective. The remaining images, classified as defect-free are of the highest quality.

29For p = 0.7, in the class of ceramic tiles (Figs. 3-4), specificity = 0.98 and sensitivity = 0.87. Thus, 13% of actually defective images are classified as being defectfree. This leads to the selection (classification) of second-rate ceramic tiles.

30In the case of glass sheets (Figs. 3-4), sensitivity = 0.99, for p = [0.825, 0.95], and specificity varies from 0.85 to 0.94, respectively. This means that one can control the quality (at the same time, percentage) of classified defect-free images by removing 6% or more (up to 15%) of actually defect-free images (perhaps having small defects).

31Beyond a doubt, the above facts bring to light and corroborate existing flexibility of the developed texture defect detection system. Some texture defect localization results are presented in Fig. 5. In all cases, the defective texture image 256×256 has been partitioned into smaller blocks of size 64×64, and each block has then been inspected separately.

32Defective textile samples with darkened areas of different fabric defects are displayed in Fig. 5a, darkened abnormalities in ceramic tiles are shown in Fig. 5b and defective glass sheets with localized defects are presented in Fig. 5c.

33Thus, the proposed scheme is useful for localizing texture defects, i.e., it successfully segments defects of different shapes, positions and texture backgrounds.

DISCUSSION

34In this paper, a new Haar wavelet-based defect detection and localization method (approach) for grey-level texture images is proposed. The approach explores space localization properties of the discrete Haar wavelet transform, generates statistically-based texture defect detection criteria and leaves space for controlling the risk.

35The analysis of experimental results which demonstrate the use of the developed approach to visual inspection of glass sheets, ceramic tiles and fabric scraps obtained from real factory environment showed that the average texture defect detection success rate (accuracy) of the system was rather high: 0.98, for glass sheets; 0.97, for ceramic tiles; 0.94, for fabric scraps. Based on our experience, we here note that a taskoriented adaptation of the proposed defect detection system is necessary for a specific class of texture images. The nature of texture images falling into one or the other class cannot be ignored, i.e., in each case, the numerical values of the parameter (probability) p for constructing sets of respective sigma intervals should be selected properly.

36The computation of the discrete Haar spectra for the selected texture image fragments 2 m 2 m using full image HT spectrum is 10-20 times faster in comparison with the direct evaluation procedures. This can be explained by the fact that the absolute majority, i.e., (2 m -1) 2 spectral coefficients are transferred into the Haar spectrum of the fragment under consideration without any changes. This way, the time needed to test a single image with fixed probability p is 0.028 s, and defect localization requires additional 0.04 s.

37Our work in the nearest future is going to focus on the analysis of the potential possibility to apply higher-order statistics (e.g., sample variance) to developing Haar wavelet-based texture defect detection criteria.

참고문헌 23건

  1. ROAD CRACK EXTRACTION WITH ADAPTED FILTERING AND MARKOV MODEL-BASED SEGMENTATION - Introduction and Validation 2010 10.5220/0002848800810090
  2. Non-Parametric Histogram-Based Thresholding Methods for Weld Defect Detection in Radiography Zenodo (CERN European Organization for Nuclear Research) · CERN European Organization for Nuclear Research · 2007 10.5281/zenodo.1083779
  3. Automated defect inspection of light-emitting diode chips using neural network and statistical approaches Expert Systems with Applications · Elsevier BV · 2007 10.1016/j.eswa.2007.09.014
  4. Colour tonality inspection using eigenspace features Machine Vision and Applications · Springer Science+Business Media · 2005 10.1007/s00138-005-0008-9
  5. Stitching defect detection and classification using wavelet transform and BP neural network Expert Systems with Applications · Elsevier BV · 2008 10.1016/j.eswa.2008.02.066
  6. A novel multiscale-multidirectional autocorrelation approach for defect detection in homogeneous flat surfaces Machine Vision and Applications · Springer Science+Business Media · 2011 10.1007/s00138-011-0335-y
  7. Automated fabric defect detection—A review Image and Vision Computing · Elsevier BV · 2011 10.1016/j.imavis.2011.02.002
  8. Slub Extraction in Woven Fabric Images Using Gabor Filters Textile Research Journal · SAGE Publishing · 2008 10.1177/0040517507090495
  9. Using MPCA of spectra model for fault detection in a hot strip mill Journal of Materials Processing Technology · Elsevier BV · 2008 10.1016/j.jmatprotec.2008.10.008
  10. Automatic detection of sound knots and loose knots on sugi using gray level co-occurrence matrix parameters Annals of Forest Science · Springer Science+Business Media · 2011 10.1007/s13595-011-0123-x
  11. Texture classification and segmentation using wavelet packet frame and Gaussian mixture model Pattern Recognition · Elsevier BV · 2006 10.1016/j.patcog.2006.09.012
  12. Automated visual inspection of ripple defects using wavelet characteristic based multivariate statistical approach Image and Vision Computing · Elsevier BV · 2007 10.1016/j.imavis.2007.02.002
  13. Surface defect detection in tiling Industries using digital image processing methods: Analysis and evaluation ISA Transactions · Elsevier BV · 2014 10.1016/j.isatra.2013.11.015
  14. Unsupervised novelty detection using Gabor filters for defect segmentation in textures Journal of the Optical Society of America A · Optica Publishing Group · 2009 10.1364/josaa.26.001967
  15. Automated inspection of engineering ceramic grinding surface damage based on image recognition The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2012 10.1007/s00170-012-4338-2
  16. A Review of Recent Advances in Surface Defect Detection using Texture analysis Techniques ELCVIA Electronic Letters on Computer Vision and Image Analysis · Computer Vision Center Press · 2008 10.5565/rev/elcvia.268
  17. Automated defect detection in textured materials using wavelet-domain hidden Markov models Optical Engineering · SPIE · 2014 10.1117/1.oe.53.9.093107
  18. Automated defect detection in textured surfaces using optimal elliptical Gabor filters Optik · Elsevier BV · 2015 10.1016/j.ijleo.2015.04.017
  19. Texture Defect Detection Using Independent Vector Analysis in Wavelet Domain 2014 10.1109/icpr.2014.290
  20. Automated defect detection system using wavelet packet frame and Gaussian mixture model Journal of the Optical Society of America A · Optica Publishing Group · 2006 10.1364/josaa.23.002690
  21. Fast defect detection for various types of surfaces using random forest with VOV features International Journal of Precision Engineering and Manufacturing · Springer Science+Business Media · 2015 10.1007/s12541-015-0125-y
  22. An improved Otsu method using the weighted object variance for defect detection Applied Surface Science · Elsevier BV · 2015 10.1016/j.apsusc.2015.05.033
  23. Improving Space Localization Properties of the Discrete Wavelet Transform Informatica · IOS Press · 2013 10.15388/informatica.2013.09