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

Fabric defect detection based on deep-handcrafted feature and weighted low-rank matrix representation

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

기본 정보

저자
  1. Chunlei Li — School of Electrical and Information Engineering, Zhongyuan University of Technology, Zhengzhou, China
  2. Jiang Ban — School of Electrical and Information Engineering, Zhongyuan University of Technology, Zhengzhou, China
  3. Zhoufeng Liu — School of Electrical and Information Engineering, Zhongyuan University of Technology, Zhengzhou, China
  4. Yan Dong — School of Electrical and Information Engineering, Zhongyuan University of Technology, Zhengzhou, China
  5. Shuili Tang — HI-TECH HEAVY INDUSTRY CO., LTD, Zhengzhou, China
  6. Dawei Weng — School of Biomedical Engineering, Capital Medical University, Beijing, China
DOI
10.1177/15589250211008453
저널
Journal of Engineered Fibers and Fabrics
발행년도
2021
발행기관
SAGE Publishing
피인용수
4
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1177/15589250211008453
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W3158662360

평가 내용

관련도
간접 관련
사업분야
산업용 섬유 · (17) 스펀본드 부직포
부 분야
(1) 에어백, (3) 자동차 인테리어 소재, (24) 패션(코오롱FnC)
R&D 측면
분석·모델링
확신도
0.80
근거 용어
fabric defect detection, textile production, fabric texture, low-rank matrix representation, deep-handcrafted feature
판단 근거
본 논문은 섬유 제조 공정 중 제품 품질 관리를 위한 자동 결함 검출 알고리즘을 다루고 있습니다.
R&D 활용 포인트
산업용 부직포, 에어백 원단, 자동차 인테리어 소재 등 코오롱인더스트리의 다양한 섬유 제품 생산 공정에서 AI 기반의 자동 품질 검사 시스템 구축 및 공정 최적화에 활용 가능합니다.
평가 입력
초록 1,521자

초록

In the process of textile production, automatic defect detection plays a key role in controlling product quality. Due to the complex texture features of fabric image, the traditional detection methods have poor adaptability, and low detection accuracy. The low rank representation model can divide the image into the low rank background and sparse object, and has proven suitable for fabric defect detection. However, how to further effectively characterize the fabric texture is still problematic in this kind of method. Moreover, most of them adopt nuclear norm optimization algorithm to solve the low rank model, which treat every singular value in the matrix equally. However, in the task of fabric defect detection, different singular values of feature matrix represent different information. In this paper, we proposed a novel fabric defect detection method based on the deep-handcrafted feature and weighted low-rank matrix representation. The feature characterization ability is effectively improved by fusing the global deep feature extracted by VGG network and the handcrafted low-level feature. Moreover, a weighted low-rank representation model is constructed to treat the matrix singular values differently by different weights, thus the most distinguishing feature of fabric texture can be preserved, which can efficiently outstand the defect and suppress the background. Qualitative and quantitative experiments on two public datasets show that our proposed method outperforms the state-of-the-art methods.

본문 36,286자

본문 펼치기
In the process of textile production, automatic defect detection plays a key role in controlling product quality. Due to the complex texture features of fabric image, the traditional detection methods have poor adaptability, and low detection accuracy. The low rank representation model can divide the image into the low rank background and sparse object, and has proven suitable for fabric defect detection. However, how to further effectively characterize the fabric texture is still problematic in this kind of method. Moreover, most of them adopt nuclear norm optimization algorithm to solve the low rank model, which treat every singular value in the matrix equally. However, in the task of fabric defect detection, different singular values of feature matrix represent different information. In this paper, we proposed a novel fabric defect detection method based on the deep-handcrafted feature and weighted low-rank matrix representation. The feature characterization ability is effectively improved by fusing the global deep feature extracted by VGG network and the handcrafted low-level feature. Moreover, a weighted low-rank representation model is constructed to treat the matrix singular values differently by different weights, thus the most distinguishing feature of fabric texture can be preserved, which can efficiently outstand the defect and suppress the background. Qualitative and quantitative experiments on two public datasets show that our proposed method outperforms the state-of-the-art methods. Introduction Fabric defect detection plays an important role in the quality control of textile production. 1 It is traditionally conducted through visual inspections by the skilled workers, which is time-consuming and highly subjective. Therefore, manual approaches cannot meet the industry requirements. The fabric defect detection based on machine vision has drawn more attention in recent years because it can improve the detection accuracy and efficiency. Currently, some detection systems have been applied in the textile process, such as EVS I-Tex2000, Barco Visions Cyclops, and MQT, and achieve the ideal detection result. However, the details of these fabric defect detection algorithms have not been disclosed because of the intellectual property constraints, moreover, the existing devices are lack of selfadaptability for many kinds of fabric image. Therefore, the fabric defect detection method is still a research hotspot. Introduction The fabric defect detection methods based on machine vision should be adapt to the fabric images with different texture, from simple non-motif fabric patterns (twill and plain fabrics, as shown in Figure 1(a)) to the complex motif fabric patterns (dot-, box-, and star-patterned fabrics, as shown in Figure 1(b)-(d)). For the plain and twill fabrics, the background is homogeneous and the defect is salient. Therefore, it is relative easy to detect defect for these fabrics. Most of the exiting defect detection methods focus on the twill and plain fabrics, and achieve high detection rate. According to the adopted image processing technology, they can be classified into four categories: statistical analysis methods, 2 frequency transform methods, 3 model based methods, 4,5 and dictionary learning methods. 6 These methods are lack of adaptivity, and cannot be extended to the patterned fabrics with complex texture. Introduction The patterned fabrics are defined as fabrics with the repetitive patterned units in their designs. Even within the same type of patterned fabrics, the texture and the pattern sizes are different. Currently, some methods aiming at the patterned fabric defect detection have been proposed, such as the ELO rating (ER) method, 7 and wavelet-preprocessing golden image subtraction (WGIS), 8 and so on, which are performed in a supervised approach, require nondefective samples; In addition, the detection accuracy of these methods depends on the accurate partitions and the selected template, and is lack of the self-adaptivity. Introduction Low-rank decomposition model aiming at recovering the underlying low-dimensional component of matrix can divide the data matrix into the redundant part which spanning several low-rank subspaces and the sparse part which is the outlier, has been successfully applied in object detection, image segmentation, image denoizing, etc. 9,10 For any kinds of fabric images, their defect-free regions are macrohomogeneous, and lay in a low-dimensional subspace, while the defective regions are salient and sparse. Therefore, the task of the fabric defect detection can better fit the low-rank decomposition model comparing with the traditional object detection, and several fabric detection methods based on low-rank decomposition have been proposed. Introduction However, the method based on low rank decomposition implicitly assumes that the fabric image is composed of two parts (background part and defect part). In fact, the defect fabric can be regarded as the combination of background part, defect part, and noise part. Therefore, the details between the various parts are not well considered in the method based on low rank decomposition, and the recovery may not be accurate. To deal with mixed data matrix, noise and corrosion better, dictionary learning theory is introduced into low rank decomposition model to generate a more general model, which is denoted as low rank representation model. However, the performance of this kind of methods depends on the effective feature descriptor and low-rank representation model. Introduction Because the convolutional neural network can automatically learn the representative features layer by layer through a continuous propagation channel, the features generated by the convolutional neural network are global, especially can better capture the overall context information, thus it is generally believed that the features obtained by convolution neural network (CNN) are superior to the traditional handcrafted descriptors. Meanwhile, the handcrafted feature can also better characterize the low-level texture feature, and is complementary to the high-level deep feature. 11 Therefore, we propose the deep-handcrafted feature by combining the deep feature with handcrafted feature to further improve the characterization capability for the fabric image. Introduction For the low rank representation models, they usually use nuclear norm to convex surrogate, and are solved by SVT algorithm. 12 However, the SVT method treats each singular value equally, in fact, the larger singular value contains more information, and thus the solution should be improved by differently treat the singular value. The larger singular values corresponding to the main projection direction should be retained to the maximum extent to preserve the main information of background. For smaller singular values, more penalty should be given to reduce the influence of outliers. Therefore, the weighted low rank representation (WLRR) is adopted to separate the sparse defect from background. In summary, a novel fabric defect detection method based on deep-handcrafted feature and weighted low rank representation (WLRR) is proposed. The main contributions of our method can be summarized as follows: Introduction (1) Because of the complexity of fabric texture, only the deep features or handcrafted features cannot fully characterize the fabric images. In this paper, a novel feature descriptor, denoted as deep-handcrafted features which are constructed by fusing the deep feature with handcrafted feature, is proposed to effectively represent fabric images. (2) The solution method of low-rank representation model equally treats each singular value, and may causes the sparse defect and background cannot be separated effectively. To address this issue, a weighted low rank representation model is proposed, and treats the different singular values of feature matrix differently, thus it can preserve the main information of background and reduce the influence of outliers. (3) Extensive experiments are conducted on two public fabric datasets, and the results show that the proposed method has good detection performance for plain or twill fabrics with simple textures as well as for patterned fabrics with complex textures. Moreover, the proposed method is superior to the state-of-the-art methods. Introduction The rest of the paper is arranged as follows. The section II briefly reviews the relevant methods, and the section III introduces the details of the method. In section IV, a comprehensive evaluation of the proposed method is conducted through experiments. Section V summarizes the research. Related works Fabric defect detection plays an important role in textile industry. Machine vision provides an ideal solution for this problem. Many researchers focus on this study, and proposed some effective methods. These detection methods based on machine vision can be divided into two categories: one is for fabrics with plain or twill texture, the other is for the fabrics with patterns. The methods for fabric with plain or twill texture include statistical-based method, spectral analysis-based method, model-based method, dictionary learning-based method. Related works The statistical method divides the test image into image blocks, and then calculates their texture statistics properties. 2 The image blocks which occupy most of the same statistical properties are labeled as defect-free regions, and the others are marked as defect regions. The statistical methods include texton feature methods 13 and histogram method, 14 etc. However, these kinds of method are only applicable for the specific fabric texture, thus are lacking of adaptability. Related works The model-based methods model the fabric texture as a random process, and the defect detection is treated as a hypothesis testing problem based on the model. The commonly adopted models are Gaussian mixture model 15 and Gaussian Markov random field model, 16 etc. However, these methods often have high computational complexity, and poor performance for the defects with small size. Related works Dictionary learning methods first construct the dictionary from the test image, and then the defect free image is reconstructed using the dictionary. Finally, the defect detection is realized by subtracting the reconstructed defect free image and the test image. 6 However, for the fabric image with complex texture, the reconstructed images may exhibit regions similar to defects, thus results in the low detection accuracy. Related works The spectrum analysis methods transform the test image into the spectrum domain, and then utilize the energy standard of filter response to detect defects, such as Gabor transform 17 and wavelet transform. 18 These methods can capture the global characteristics of the image to detect defects, but the computational complexity is high and the detection results depends on the selected filter banks. Related works The above methods have achieved the ideal detection results for the fabric images with plain or twill texture, but they are lack of adaptivity, and cannot be extended to the patterned fabrics with complex texture. Recently, some researchers have proposed some methods for patterned fabric defect detection, such as the Bollinger band method (BB), 19 the wavelet-preprocessing golden image subtraction method (WGIS), 8 the ELO rating (ER) method, 7 and the TMPM method. 20 The BB methods utilized the property of regularity to detect defects on dot-, box-, and star-patterned fabrics. The WGIS method utilized a golden image to perform a moving subtraction of each pixel along each row of every wavelet-pre-processed test image. The ELO rating (ER) method is a method in which the detection of fabric defects is similar to carrying out fair matches in the spirit of good sportsmanship. The TMPM method used a golden imagelike approach to exploit a discrepancy measure as a fitness function to detect defects on patterned textures. These detection methods adopted wavelet transform, Gabor transform, average value, standard deviation and regular bands to characterize the fabric texture, and performs a point-to-point comparison, thus they are inherently sensitive to image noise, misalignment, and distortion. Related works In recent years, convolutional neural network (CNN) has made great achievements in the field of computer vision. Some researchers have adopted CNN to detect fabric defects. Ruo et al. 21 proposed a fabric defect detection method based on convolution neural network. It uses the pretrained network to construct the classifier, and then convolutes the image to be measured to complete the pixel level prediction. Zhang et al. 22 proposed a supervised convolutional neural network, which is trained to classify each image block and identify defects by thresholding. Although the methods based on convolutional neural network have achieved good performance, but it is a heavy workload to construct the training sets with large-scale. In addition, these CNN methods are difficult to be deployed on the production line. Related works For any kinds of fabric images, the background is composed of regular repeated textures, which has higher data redundancy. And the defects are sparse and salient among the background. By decomposing the feature matrix into a low-rank matrix corresponding to the background and a sparse matrix corresponding to the object, low-rank decomposition model can be well applied for the fabric defect detection. Related works Cao et al. 23 proposed a low-rank decomposition model (Robust principal component analysis, RPCA) by introducing noise term to detect fabric defects. However, this method ignores the continuity of sparse pixels, which is not suitable for the continuous defect detection. Liu et al. 24 proposed a fabric defect detection method based on deep convolution neural network and low rank recovery. Firstly, deep convolution neural network is used to extract fabric features and generate feature matrix, and then low rank recovery model was used to locate defects. Ji et al. 25 proposed a detection method based on weighted low rank decomposition and Laplacian regularization term. By introducing Laplacian regularization term to expand the distance between background and defect area, the robustness of the model is enhanced. Related works Shi et al. 26 proposed a decomposition model based on gradient information, which guided the low rank model to detect defects through the gradient information of the test image. Qizi et al. 27 proposed a low-rank decomposition detection method based on image texture prior information. Firstly, a priori matrix is constructed according to the test image, and then the low rank model is guided by the prior matrix to detect defects. However, the performance of these methods using prior information to guide low rank models is limited by the texture prior matrix. The inaccuracy prior information will decrease the detection performance. Shi et al. 28 proposed a low rank decomposition detection method based on gradient information and structure graph, which effectively solved the problem of inaccurate prior information by using structure graph algorithm. Li et al. 29 proposed a novel fabric defect detection algorithm based on biological vision modeling by simulating the mechanism of biological visual perception. The detection performance is still not satisfactory because the traditional manual feature descriptors cannot efficiently characterize the fabric texture. We have listed a brief list of some methods for detecting fabric defects, as shown in Table 1. Related works In order to improve the detection performance, a new powerful descriptor should be proposed to efficiently characterize the fabric texture, and make the normal regions lay in a low-rank subspace, while the defective regions are far away from the subspace. In addition, an effective lowrank decomposition model also should be developed to separate the defect from the background. However, the above methods still only use traditional manual features or deep features, which are not enough for complex texture fabric images. In addition, SVT algorithm is usually used to solve the existing low rank models, which ignores the different importance of singular values with different sizes. To solve these problems, a fabric defect detection method based on deep-handcrafted feature and weighted low rank representation is proposed in this paper. The proposed method A powerful feature descriptor and effective low-rank decomposition model are crucial for the low-rank based fabric Authors The proposed method Specific features Cao et al. 23 Modified RPCA with noise term and defect prior Authors The noise term is introduced to improve the detection accuracy Li et al. 29 Low rank decomposition with biological vision modeling Authors The theory of biological vision is used to characterize the fabric Qizi et al. 27 Low rank representation with texture prior Prior information is used to guide the decomposition of low rank model Ji et al. 25 Weighted low rank decomposition and Laplacian regularization Authors Laplacian regularization term is introduced to increase the difference between background and defect Liu et al. 24 Deep-feature and low rank decomposition Convolution neural network is used to extract the fabric features Shi et al. 28 Low rank decomposition with gradient information and structured graph algorithm Authors The structure graph algorithm is used to improve the problem of inaccurate prior information defect detection method. In this paper, a fabric defect detection method based on deep-handcrafted features and weighted low rank representation is developed, and it includes three steps. Firstly, multi-layer deep features are extracted by VGG16 after transfer learning, and are cascaded with handcrafted features to effectively characterize the fabric texture. Then, an adaptive weighted low rank representation model is proposed to divide the deep-handcrafted feature matrix into low rank matrix corresponding to background and sparse matrix corresponding to defect. Finally, the defect is located by threshold segmentation algorithm. The flowchart of the proposed method is shown in Figure 2. Deep-handcrafted feature extraction A powerful feature descriptor can make the normal background lay in a low-rank subspace, while the defective regions are far away from the subspace. Therefore, feature extraction is crucial for fabric defect detection based on low rank decomposition model. The performance of traditional handcrafted descriptors depends on professional knowledge, and this designed handcrafted descriptor can be used for better characterizing some specific feature. The fabric images have complex texture, thus low-level texture feature is important for characterizing the fabric image. In this paper, we designed a handcrafted texture feature by modeling the human vision. In addition, Li et al. 11 proposed that deep features contain enough highlevel abstract semantic information, while low-level comparative information is insufficient. It is worth noting that deep features and handcrafted low-level features are complementary. Wang et al. 30 found that deep features can be enhanced by adding handcrafted features. By combining the respective advantages of handcrafted and deep feature, the representation ability of fabric image can be enhanced. Deep-handcrafted feature extraction Hand-crafted feature extraction. Weng et al. 31 pointed that the feature descriptors based on the mechanisms of the human visual system are suitable for characterizing complex textures, and have proposed a novel feature descriptor, denoted as distinctive efcient robust features (DERF). Deep-handcrafted feature extraction In this paper, we adopted this feature descriptor for better characterizing the fabric low-level texture. And it can be described as follow in detail. Firstly, the test fabric image is divided into the image blocks R k with the size of n n b b × , where k N b = 1, 2, ,  , N b is the number of image block. Then, difference of Gaussian (DoG) is used to extract the convolution gradient direction mapping of each image block as follows: Deep-handcrafted feature extraction where o is the orientation of derivative, ( ) = (,0) ⋅ ⋅ + max represents a nonnegative operator, g Σ is a Gaussian convolution core of scale Σ. For each orientation map, the final Gaussian convolution gradient orientation is obtained by subtracting the large scale from the small scale of each pair of Gaussian convolution gradient orientation map: Deep-handcrafted feature extraction Then, the DERF descriptor is established by simulating the structure of the receptor region of P-ganglion cells in the 0 15 Deep-handcrafted feature extraction o o − retina. These sampling points are located on concentric circles with different radii, and their number increases exponentially with radius. h x y Σ ( , ) is defined as a vector generated by the value at the position ( , ) Deep-handcrafted feature extraction x y with the same scale Σ in the orientation maps of DoG convolution, and ( , ) Deep-handcrafted feature extraction x y is the center of the image block: Deep-handcrafted feature extraction where l x y r i ( , , ) represents the location with the distance r from ( , ) Deep-handcrafted feature extraction x y in the i -th orientation, Then the handcrafted feature matrix can be obtained by stacking the features of all image blocks. Deep-handcrafted feature extraction Deep feature extraction. Considering that VGG16 network has the expansibility advantage, the pre-trained VGG16 models are adopted for extracting high-level abstract semantic information in our method. Since the size of the output feature map of the convolution layer in VGG16 is not consistent, in order to improve the detection accuracy of the detects with small size, we resize the feature map to the input image. For each pixel, the deep feature is formed by concatenating the value of the feature map in the same position. Let d i be the feature vector of the i -th pixel extracted from the fabric image. × . For each image block R k , the mean value of the feature vector d k of the block is taken as the feature of the image block. Deep-handcrafted feature extraction Then deep feature matrix can be obtained by stacking the features of all image blocks. Deep-handcrafted feature extraction Weighted low rank representation model construction Deep-handcrafted feature extraction The low rank decomposition model decomposes the feature matrix into a low rank matrix and a sparse matrix which representing the background region and the defect region of an image, respectively. Therefore, the low rank decomposition model can be used for defect detection, and has been proven applicable. Given an feature D , it can be decomposed into low rank matrix and sparse matrix by the following optimization problem Deep-handcrafted feature extraction where L and E are the low rank matrix and sparse matrix. l -norm is used for modeling the different noise or error in E, that is, the l 0 -norm is used for characterizing the sparse random noise; 32 l 2,0 -norm is used for modeling the special sampling noise. 33 Optimization problem (10) is a bi-objective optimization problem, which is difficult to solve. Thus we should transform it into the following single objective optimization problem. 34 λ > 0 is a balance factor. Since rank()  and l 2.0 -norm are NP-hard problem, 34 which have non-convex and non-smooth properties, so equation (11) is difficult to solve. To address this issues, nuclear norm and l 2.1 -norm are used to replace rank function and l 2.0 -norm, and convex substitution can be obtained using the following equation: Deep-handcrafted feature extraction represents the l 2,1 -norm of a matrix. In order to deal with the mixed data matrix and handle noise or corrosion more effectively, dictionary learning is introduced into low-rank decomposition model to generate a more general optimization problem model, and can be described as follows: Deep-handcrafted feature extraction where A is a dictionary that linearly spans the feature space. The equation (13) is a convex optimization problem which denoted as Low Rank matrix Representation (LRR). If we set A I = , where I is the identity matrix, equation (13) falls back to (12). Therefore, low-rank decomposition model can be regarded as a special case of low rank representation, which actually uses identity matrix as dictionary. Deep-handcrafted feature extraction The problem (13) is convex and can be solved by ALM method. However, this solution method treats each singular value equally. In fact, the matrix singular values represent different information, and the larger singular value contains more information. When decomposing the feature matrix, the larger singular values corresponding to the main projection direction should be retained to the maximum extent, and it can retain the main information. For smaller singular values, more penalty should be given to reduce the influence of outliers. Therefore, the weighted nuclear norm minimization (WNNM) is proposed to shrunk the singular values of the matrix differently. The definition of WNNM is Deep-handcrafted feature extraction where w i ≥ is the nonnegative weight assigned to σ i ( ) ⋅ , σ i ( ) ⋅ represents the i -th singular value of a matrix. In order to improve the detection performance, we integrated the WNNM the LRR model, and proposed a fabric defect detection method based on weighted low rank representation, denoted as WLRR, and it can be described as follows. Deep-handcrafted feature extraction where D is the deep-handcrafted feature matrix of the test fabric image, L and E are the low rank background matrix and sparse defect matrix, λ > 0 is a balance factor. A is a dictionary matrix that linearly spans the feature space. Because E has sparse column support, feature matrix D can be selected as dictionary matrix to replace A. 35 Then the equation (15) can be rewritten as: Optimization of WLRR In order to facilitate the optimization solution, the variable J is introduced and equation (16) is transformed into the following equivalent problem. Optimization of WLRR Then, the augmented Lagrangian function of equation (17) can be described as follows. Optimization of WLRR where Y 1 and Y 2 are the Lagrange multipliers,   ⋅ F 2 represents the Frobenius norm of a matrix. In order to conveniently demonstrate the solution process we first introduce the following lemma. 36 Let Q be a given matrix. If the optimal solution to Optimization of WLRR Based on the above lemma, equation (18) can be solved using Alternating Direction Method of Multipliers (ADMM), 37 and specifically described as follows. Optimization of WLRR (1) Updating J : By fixing other variables, the optimal solution of J can be obtained by minimizing the following equation (21): Optimization of WLRR The optimization problem of J is generally nonconvex, therefore, it cannot be solved directly. Gu et al. 38 have analyzed the optimal solution of the objective function in the form of WNNM. When the weight is set to a constant, NNM is proved to be a special case of WNNM. Thus, let P L Y = /2 2 + and P USV T = , we can get the following equation. Optimization of WLRR For fabric defect detection, the larger singular value of matrix contains more important components, while the traditional solution method treats all singular values equally, so the results deviate from the real solution. In this paper, we set the different weights for each singular value based on their value, and the weights are calculated as follows: Optimization of WLRR where σ i P ( ) represents the i -th singular value of P. It can be seen from Figure 2 that the weighted nuclear norm can better approximate to the Rank function comparing with Nuclear norm, and can automatically assign appropriate weights to each singular value. Optimization of WLRR (2) Updating L: By fixing other variables, the optimal solution of L can be obtained by minimizing the following formula: Optimization of WLRR (3) Updating E: By fixing other variables, the optimal solution of E can be obtained by minimizing the following problem: Optimization of WLRR The proposed WLRR can be solved by the iterative algorithm, can it can be described as Algorithm 1. Saliency map generation After the final sparse matrix E * which include the defect information is generated, the saliency score of R j block can be obtained by the L 1 -norm of j -th column of E * : Saliency map generation Then, the corresponding saliency map M is generated according to the spatial relationship. Finally, the defect region can be obtained by binary image M � . Saliency map generation where c is a constant, µ and σ are mean and standard deviation of pixel values in the saliency map. Experiments setup Dataset. Two public fabric databases are adopted to conduct comprehensive evaluation of the proposed methods. One is TILDA fabric image dataset, 39 (2) Update L k +1 by: The optimal solution E * Implementation details. First, we transfer the domain-specific VGG16 to fit our fabric database by replacing the original softmax layer (i.e. whether it belongs to defect image) with 2-way output. Then, the transfer learning is carried out by stochastic gradient descent with a batch size of 16, momentum of 0.9, weight decay of 0.0001, and the learning rate is initially of 0.0001. For the WLRR model, the model parameters set to 0.001. Experiments setup All parameters are kept fixed for all the experiments to demonstrate the robustness and stability of our method. The simulation is performed in MATLAB 2019a, running on a PC with an i7-7700 CPU accelerated by a HD Graphics 630 (1024MB) GPU. Experiments setup Evaluation criteria. To perform a comprehensive evaluation, the statistical parameters are introduced to verify the performance, including true positive (TP), true negative (TN), false positive (FP), and false negative (FN). Based on the above parameters, evaluation criteria are defined as follows: Experiments setup Moreover, F-measures (F) is also shown based on the above evaluation criteria. It should be noted that because of the lack of ground-truth in the TILDA fabric database, the above quantitative evaluation will only be conducted for the patterned fabric databases. Experimental results and analysis Comparison of deep features and handcrafted features. Activation of each convolution layer is used to form deep feature. We present the detection results of the first eight layers of VGG16, as presented in Figure 3. The first column is the original image; the second column to the last column are the generated saliency map using the Conv 1_1 to Conv 4_1 respectively. In addition, we present the numerical results of the first eight convolution layers to find the best convolution layer, as shown in Table 2. Experimental results and analysis As can be seen from Figure 4 and Table 2, the deepest and shallowest convolution layers produce worse results, while the middle layer achieves better detection results. Among them, the Conv 2_2 achieves the best performance, so Conv 2_2 in VGG16 is selected to fuse with handcrafted features in our method. Experimental results and analysis In order to perform a quantitative evaluation, we list the detection results of handcrafted features and deephandcrafted features to prove the effectiveness of the proposed fusion strategy, as shown in Figure 5. And the numerical results are shown in Table 3. According to the quantitative and qualitative experiments, we can conclude that the deep features and handcrafted features complement each other, and the detection results are better than the single feature. Comparisons of saliency inference models. In section III, a saliency inference model WLRR is proposed to generate the defect saliency map. To validate its effectiveness, we compare our proposed model with the other two models: (1) original LRR (i.e. RPCA when dictionary matrix is identity matrix); Experimental results and analysis (2) LRR based on other weighted nuclear norms (Schatten p norm, see Ref. 40 ). The results are shown in Figure 6. The first row is the original image, and the last three lines are saliency maps generated by LRR, PLRR, and WLRR. In our method, the weight operator can preserve more defects information in sparse matrix, thus can get the accurate results. From Figure 6, espically for the sixth image, we can see that WLRR retain more defect profile information comparing with LRR and PLRR. To further prove the efficiency of the proposed methods, the numerical results of the three methods in the pattern fabric image are shown in Table 4. We can conclude that WLRR performs better than the other two. Both qualitative and quantitative experiments confirm that the effectiveness of WLRR is more suitable for the fabric defect detection. Experimental results and analysis Comparisons with the state of the arts. In this section, we compare the detection results of our method with the state-of-the art, including GABOR, 41 LSF-GSA, 42 ESP, 43 and SOMC. 44 All of the saliency maps are shown in Figures 7 to 9, which show comparisons of box-patterned fabrics, dot-patterned fabrics and star-patterned fabrics. The first row is the original fabric image, and the second to the sixth rows are saliency maps generated by the GABOR, LSF-GSA, ESP, SOMC methods, and our proposed method. The seventh row is the segmentation results generated by our method and the last row is the ground-truth images. Experimental results and analysis It can be observed that there are more discontinuous regions in Gabor method, and there are many missing results. LSF-GSA combines local texture features with global analysis to generate saliency map, but the detection effect is poor and there are many noises. The ESP method has poor detection effect, especially in the detection of defects similar to the background, which shows that the method is not suitable for the detection of complex pattern fabrics. SOMC method can effectively detect the location and contour of defects, but its detection effect on dot fabric is worse than the other two fabrics. In addition, the performance of this method is poor for the defect with large size. Our method can not only detect the location of defect area, but also describe the defect contour of fabric image. The binary image obtained by segmentation is similar to the true value image. In addition, as shown in Figures 7(d) and 8(a), the proposed method can detect fabric images with large defects more effectively than other methods. Experimental results and analysis In the quantitative evaluation, we give the evaluation results of the above methods on box, dot, and star pattern fabric images. The best performing data will be shown in bold. Since the saliency map generated by ESP method are binary graphs, they are not evaluated numerically. From Table 5, we can see that in most cases, the performance of our proposed method on three patterned fabric datasets is better than the existing methods. In summary, the qualitative and quantitative experiments prove the superiority of our method. Conclusion In this paper, we proposed a novel fabric defect detection method on deep-handcrafted feature and WLRR. Based on the fact that manual low-level features and deep features can complement each other, the deep features extracted from VGG16 are fused with handcrafted features to improve the representation ability of fabric texture. Then, the fabric image is decomposed into background part and sparse defect part by LRR. At the same time, the weighted kernel norm is used to regularize the background matrix, so that the singular value of the matrix can be shrunk differently to retain the most important information. We also compare the performance of the proposed method with the previous methods (e.g. Gabor, GSA, ESP, SOMC). The results of qualitative and quantitative experiments show that our method is more effective than the state-of-the-art. In addition, the proposed method provides a new solution for the surface anomaly detection of other industrial products.

섹션 본문 73문단 · 34,538자

(제목 없음)

1In the process of textile production, automatic defect detection plays a key role in controlling product quality. Due to the complex texture features of fabric image, the traditional detection methods have poor adaptability, and low detection accuracy. The low rank representation model can divide the image into the low rank background and sparse object, and has proven suitable for fabric defect detection. However, how to further effectively characterize the fabric texture is still problematic in this kind of method. Moreover, most of them adopt nuclear norm optimization algorithm to solve the low rank model, which treat every singular value in the matrix equally. However, in the task of fabric defect detection, different singular values of feature matrix represent different information. In this paper, we proposed a novel fabric defect detection method based on the deep-handcrafted feature and weighted low-rank matrix representation. The feature characterization ability is effectively improved by fusing the global deep feature extracted by VGG network and the handcrafted low-level feature. Moreover, a weighted low-rank representation model is constructed to treat the matrix singular values differently by different weights, thus the most distinguishing feature of fabric texture can be preserved, which can efficiently outstand the defect and suppress the background. Qualitative and quantitative experiments on two public datasets show that our proposed method outperforms the state-of-the-art methods.

Introduction

2Fabric defect detection plays an important role in the quality control of textile production. 1 It is traditionally conducted through visual inspections by the skilled workers, which is time-consuming and highly subjective. Therefore, manual approaches cannot meet the industry requirements. The fabric defect detection based on machine vision has drawn more attention in recent years because it can improve the detection accuracy and efficiency. Currently, some detection systems have been applied in the textile process, such as EVS I-Tex2000, Barco Visions Cyclops, and MQT, and achieve the ideal detection result. However, the details of these fabric defect detection algorithms have not been disclosed because of the intellectual property constraints, moreover, the existing devices are lack of selfadaptability for many kinds of fabric image. Therefore, the fabric defect detection method is still a research hotspot.

3The fabric defect detection methods based on machine vision should be adapt to the fabric images with different texture, from simple non-motif fabric patterns (twill and plain fabrics, as shown in Figure 1(a)) to the complex motif fabric patterns (dot-, box-, and star-patterned fabrics, as shown in Figure 1(b)-(d)). For the plain and twill fabrics, the background is homogeneous and the defect is salient. Therefore, it is relative easy to detect defect for these fabrics. Most of the exiting defect detection methods focus on the twill and plain fabrics, and achieve high detection rate. According to the adopted image processing technology, they can be classified into four categories: statistical analysis methods, 2 frequency transform methods, 3 model based methods, 4,5 and dictionary learning methods. 6 These methods are lack of adaptivity, and cannot be extended to the patterned fabrics with complex texture.

4The patterned fabrics are defined as fabrics with the repetitive patterned units in their designs. Even within the same type of patterned fabrics, the texture and the pattern sizes are different. Currently, some methods aiming at the patterned fabric defect detection have been proposed, such as the ELO rating (ER) method, 7 and wavelet-preprocessing golden image subtraction (WGIS), 8 and so on, which are performed in a supervised approach, require nondefective samples; In addition, the detection accuracy of these methods depends on the accurate partitions and the selected template, and is lack of the self-adaptivity.

5Low-rank decomposition model aiming at recovering the underlying low-dimensional component of matrix can divide the data matrix into the redundant part which spanning several low-rank subspaces and the sparse part which is the outlier, has been successfully applied in object detection, image segmentation, image denoizing, etc. 9,10 For any kinds of fabric images, their defect-free regions are macrohomogeneous, and lay in a low-dimensional subspace, while the defective regions are salient and sparse. Therefore, the task of the fabric defect detection can better fit the low-rank decomposition model comparing with the traditional object detection, and several fabric detection methods based on low-rank decomposition have been proposed.

6However, the method based on low rank decomposition implicitly assumes that the fabric image is composed of two parts (background part and defect part). In fact, the defect fabric can be regarded as the combination of background part, defect part, and noise part. Therefore, the details between the various parts are not well considered in the method based on low rank decomposition, and the recovery may not be accurate. To deal with mixed data matrix, noise and corrosion better, dictionary learning theory is introduced into low rank decomposition model to generate a more general model, which is denoted as low rank representation model. However, the performance of this kind of methods depends on the effective feature descriptor and low-rank representation model.

7Because the convolutional neural network can automatically learn the representative features layer by layer through a continuous propagation channel, the features generated by the convolutional neural network are global, especially can better capture the overall context information, thus it is generally believed that the features obtained by convolution neural network (CNN) are superior to the traditional handcrafted descriptors. Meanwhile, the handcrafted feature can also better characterize the low-level texture feature, and is complementary to the high-level deep feature. 11 Therefore, we propose the deep-handcrafted feature by combining the deep feature with handcrafted feature to further improve the characterization capability for the fabric image.

8For the low rank representation models, they usually use nuclear norm to convex surrogate, and are solved by SVT algorithm. 12 However, the SVT method treats each singular value equally, in fact, the larger singular value contains more information, and thus the solution should be improved by differently treat the singular value. The larger singular values corresponding to the main projection direction should be retained to the maximum extent to preserve the main information of background. For smaller singular values, more penalty should be given to reduce the influence of outliers. Therefore, the weighted low rank representation (WLRR) is adopted to separate the sparse defect from background. In summary, a novel fabric defect detection method based on deep-handcrafted feature and weighted low rank representation (WLRR) is proposed. The main contributions of our method can be summarized as follows:

9(1) Because of the complexity of fabric texture, only the deep features or handcrafted features cannot fully characterize the fabric images. In this paper, a novel feature descriptor, denoted as deep-handcrafted features which are constructed by fusing the deep feature with handcrafted feature, is proposed to effectively represent fabric images. (2) The solution method of low-rank representation model equally treats each singular value, and may causes the sparse defect and background cannot be separated effectively. To address this issue, a weighted low rank representation model is proposed, and treats the different singular values of feature matrix differently, thus it can preserve the main information of background and reduce the influence of outliers. (3) Extensive experiments are conducted on two public fabric datasets, and the results show that the proposed method has good detection performance for plain or twill fabrics with simple textures as well as for patterned fabrics with complex textures. Moreover, the proposed method is superior to the state-of-the-art methods.

10The rest of the paper is arranged as follows. The section II briefly reviews the relevant methods, and the section III introduces the details of the method. In section IV, a comprehensive evaluation of the proposed method is conducted through experiments. Section V summarizes the research.

Related works

11Fabric defect detection plays an important role in textile industry. Machine vision provides an ideal solution for this problem. Many researchers focus on this study, and proposed some effective methods. These detection methods based on machine vision can be divided into two categories: one is for fabrics with plain or twill texture, the other is for the fabrics with patterns. The methods for fabric with plain or twill texture include statistical-based method, spectral analysis-based method, model-based method, dictionary learning-based method.

12The statistical method divides the test image into image blocks, and then calculates their texture statistics properties. 2 The image blocks which occupy most of the same statistical properties are labeled as defect-free regions, and the others are marked as defect regions. The statistical methods include texton feature methods 13 and histogram method, 14 etc. However, these kinds of method are only applicable for the specific fabric texture, thus are lacking of adaptability.

13The model-based methods model the fabric texture as a random process, and the defect detection is treated as a hypothesis testing problem based on the model. The commonly adopted models are Gaussian mixture model 15 and Gaussian Markov random field model, 16 etc. However, these methods often have high computational complexity, and poor performance for the defects with small size.

14Dictionary learning methods first construct the dictionary from the test image, and then the defect free image is reconstructed using the dictionary. Finally, the defect detection is realized by subtracting the reconstructed defect free image and the test image. 6 However, for the fabric image with complex texture, the reconstructed images may exhibit regions similar to defects, thus results in the low detection accuracy.

15The spectrum analysis methods transform the test image into the spectrum domain, and then utilize the energy standard of filter response to detect defects, such as Gabor transform 17 and wavelet transform. 18 These methods can capture the global characteristics of the image to detect defects, but the computational complexity is high and the detection results depends on the selected filter banks.

16The above methods have achieved the ideal detection results for the fabric images with plain or twill texture, but they are lack of adaptivity, and cannot be extended to the patterned fabrics with complex texture. Recently, some researchers have proposed some methods for patterned fabric defect detection, such as the Bollinger band method (BB), 19 the wavelet-preprocessing golden image subtraction method (WGIS), 8 the ELO rating (ER) method, 7 and the TMPM method. 20 The BB methods utilized the property of regularity to detect defects on dot-, box-, and star-patterned fabrics. The WGIS method utilized a golden image to perform a moving subtraction of each pixel along each row of every wavelet-pre-processed test image. The ELO rating (ER) method is a method in which the detection of fabric defects is similar to carrying out fair matches in the spirit of good sportsmanship. The TMPM method used a golden imagelike approach to exploit a discrepancy measure as a fitness function to detect defects on patterned textures. These detection methods adopted wavelet transform, Gabor transform, average value, standard deviation and regular bands to characterize the fabric texture, and performs a point-to-point comparison, thus they are inherently sensitive to image noise, misalignment, and distortion.

17In recent years, convolutional neural network (CNN) has made great achievements in the field of computer vision. Some researchers have adopted CNN to detect fabric defects. Ruo et al. 21 proposed a fabric defect detection method based on convolution neural network. It uses the pretrained network to construct the classifier, and then convolutes the image to be measured to complete the pixel level prediction. Zhang et al. 22 proposed a supervised convolutional neural network, which is trained to classify each image block and identify defects by thresholding. Although the methods based on convolutional neural network have achieved good performance, but it is a heavy workload to construct the training sets with large-scale. In addition, these CNN methods are difficult to be deployed on the production line.

18For any kinds of fabric images, the background is composed of regular repeated textures, which has higher data redundancy. And the defects are sparse and salient among the background. By decomposing the feature matrix into a low-rank matrix corresponding to the background and a sparse matrix corresponding to the object, low-rank decomposition model can be well applied for the fabric defect detection.

19Cao et al. 23 proposed a low-rank decomposition model (Robust principal component analysis, RPCA) by introducing noise term to detect fabric defects. However, this method ignores the continuity of sparse pixels, which is not suitable for the continuous defect detection. Liu et al. 24 proposed a fabric defect detection method based on deep convolution neural network and low rank recovery. Firstly, deep convolution neural network is used to extract fabric features and generate feature matrix, and then low rank recovery model was used to locate defects. Ji et al. 25 proposed a detection method based on weighted low rank decomposition and Laplacian regularization term. By introducing Laplacian regularization term to expand the distance between background and defect area, the robustness of the model is enhanced.

20Shi et al. 26 proposed a decomposition model based on gradient information, which guided the low rank model to detect defects through the gradient information of the test image. Qizi et al. 27 proposed a low-rank decomposition detection method based on image texture prior information. Firstly, a priori matrix is constructed according to the test image, and then the low rank model is guided by the prior matrix to detect defects. However, the performance of these methods using prior information to guide low rank models is limited by the texture prior matrix. The inaccuracy prior information will decrease the detection performance. Shi et al. 28 proposed a low rank decomposition detection method based on gradient information and structure graph, which effectively solved the problem of inaccurate prior information by using structure graph algorithm. Li et al. 29 proposed a novel fabric defect detection algorithm based on biological vision modeling by simulating the mechanism of biological visual perception. The detection performance is still not satisfactory because the traditional manual feature descriptors cannot efficiently characterize the fabric texture. We have listed a brief list of some methods for detecting fabric defects, as shown in Table 1.

21In order to improve the detection performance, a new powerful descriptor should be proposed to efficiently characterize the fabric texture, and make the normal regions lay in a low-rank subspace, while the defective regions are far away from the subspace. In addition, an effective lowrank decomposition model also should be developed to separate the defect from the background. However, the above methods still only use traditional manual features or deep features, which are not enough for complex texture fabric images. In addition, SVT algorithm is usually used to solve the existing low rank models, which ignores the different importance of singular values with different sizes. To solve these problems, a fabric defect detection method based on deep-handcrafted feature and weighted low rank representation is proposed in this paper.

The proposed method

22A powerful feature descriptor and effective low-rank decomposition model are crucial for the low-rank based fabric

Authors

23The proposed method Specific features Cao et al. 23 Modified RPCA with noise term and defect prior

24The noise term is introduced to improve the detection accuracy Li et al. 29 Low rank decomposition with biological vision modeling

25The theory of biological vision is used to characterize the fabric Qizi et al. 27 Low rank representation with texture prior Prior information is used to guide the decomposition of low rank model Ji et al. 25 Weighted low rank decomposition and Laplacian regularization

26Laplacian regularization term is introduced to increase the difference between background and defect Liu et al. 24 Deep-feature and low rank decomposition Convolution neural network is used to extract the fabric features Shi et al. 28 Low rank decomposition with gradient information and structured graph algorithm

27The structure graph algorithm is used to improve the problem of inaccurate prior information defect detection method. In this paper, a fabric defect detection method based on deep-handcrafted features and weighted low rank representation is developed, and it includes three steps. Firstly, multi-layer deep features are extracted by VGG16 after transfer learning, and are cascaded with handcrafted features to effectively characterize the fabric texture. Then, an adaptive weighted low rank representation model is proposed to divide the deep-handcrafted feature matrix into low rank matrix corresponding to background and sparse matrix corresponding to defect. Finally, the defect is located by threshold segmentation algorithm. The flowchart of the proposed method is shown in Figure 2.

Deep-handcrafted feature extraction

28A powerful feature descriptor can make the normal background lay in a low-rank subspace, while the defective regions are far away from the subspace. Therefore, feature extraction is crucial for fabric defect detection based on low rank decomposition model. The performance of traditional handcrafted descriptors depends on professional knowledge, and this designed handcrafted descriptor can be used for better characterizing some specific feature. The fabric images have complex texture, thus low-level texture feature is important for characterizing the fabric image. In this paper, we designed a handcrafted texture feature by modeling the human vision. In addition, Li et al. 11 proposed that deep features contain enough highlevel abstract semantic information, while low-level comparative information is insufficient. It is worth noting that deep features and handcrafted low-level features are complementary. Wang et al. 30 found that deep features can be enhanced by adding handcrafted features. By combining the respective advantages of handcrafted and deep feature, the representation ability of fabric image can be enhanced.

29Hand-crafted feature extraction. Weng et al. 31 pointed that the feature descriptors based on the mechanisms of the human visual system are suitable for characterizing complex textures, and have proposed a novel feature descriptor, denoted as distinctive efcient robust features (DERF).

30In this paper, we adopted this feature descriptor for better characterizing the fabric low-level texture. And it can be described as follow in detail. Firstly, the test fabric image is divided into the image blocks R k with the size of n n b b × , where k N b = 1, 2, ,  , N b is the number of image block. Then, difference of Gaussian (DoG) is used to extract the convolution gradient direction mapping of each image block as follows:

31where o is the orientation of derivative, ( ) = (,0) ⋅ ⋅ + max represents a nonnegative operator, g Σ is a Gaussian convolution core of scale Σ. For each orientation map, the final Gaussian convolution gradient orientation is obtained by subtracting the large scale from the small scale of each pair of Gaussian convolution gradient orientation map:

32Then, the DERF descriptor is established by simulating the structure of the receptor region of P-ganglion cells in the 0 15

33o o − retina. These sampling points are located on concentric circles with different radii, and their number increases exponentially with radius. h x y Σ ( , ) is defined as a vector generated by the value at the position ( , )

34x y with the same scale Σ in the orientation maps of DoG convolution, and ( , )

35x y is the center of the image block:

36where l x y r i ( , , ) represents the location with the distance r from ( , )

37x y in the i -th orientation, Then the handcrafted feature matrix can be obtained by stacking the features of all image blocks.

38Deep feature extraction. Considering that VGG16 network has the expansibility advantage, the pre-trained VGG16 models are adopted for extracting high-level abstract semantic information in our method. Since the size of the output feature map of the convolution layer in VGG16 is not consistent, in order to improve the detection accuracy of the detects with small size, we resize the feature map to the input image. For each pixel, the deep feature is formed by concatenating the value of the feature map in the same position. Let d i be the feature vector of the i -th pixel extracted from the fabric image. × . For each image block R k , the mean value of the feature vector d k of the block is taken as the feature of the image block.

39Then deep feature matrix can be obtained by stacking the features of all image blocks.

40Weighted low rank representation model construction

41The low rank decomposition model decomposes the feature matrix into a low rank matrix and a sparse matrix which representing the background region and the defect region of an image, respectively. Therefore, the low rank decomposition model can be used for defect detection, and has been proven applicable. Given an feature D , it can be decomposed into low rank matrix and sparse matrix by the following optimization problem

42where L and E are the low rank matrix and sparse matrix. l -norm is used for modeling the different noise or error in E, that is, the l 0 -norm is used for characterizing the sparse random noise; 32 l 2,0 -norm is used for modeling the special sampling noise. 33 Optimization problem (10) is a bi-objective optimization problem, which is difficult to solve. Thus we should transform it into the following single objective optimization problem. 34 λ > 0 is a balance factor. Since rank()  and l 2.0 -norm are NP-hard problem, 34 which have non-convex and non-smooth properties, so equation (11) is difficult to solve. To address this issues, nuclear norm and l 2.1 -norm are used to replace rank function and l 2.0 -norm, and convex substitution can be obtained using the following equation:

43represents the l 2,1 -norm of a matrix. In order to deal with the mixed data matrix and handle noise or corrosion more effectively, dictionary learning is introduced into low-rank decomposition model to generate a more general optimization problem model, and can be described as follows:

44where A is a dictionary that linearly spans the feature space. The equation (13) is a convex optimization problem which denoted as Low Rank matrix Representation (LRR). If we set A I = , where I is the identity matrix, equation (13) falls back to (12). Therefore, low-rank decomposition model can be regarded as a special case of low rank representation, which actually uses identity matrix as dictionary.

45The problem (13) is convex and can be solved by ALM method. However, this solution method treats each singular value equally. In fact, the matrix singular values represent different information, and the larger singular value contains more information. When decomposing the feature matrix, the larger singular values corresponding to the main projection direction should be retained to the maximum extent, and it can retain the main information. For smaller singular values, more penalty should be given to reduce the influence of outliers. Therefore, the weighted nuclear norm minimization (WNNM) is proposed to shrunk the singular values of the matrix differently. The definition of WNNM is

46where w i ≥ is the nonnegative weight assigned to σ i ( ) ⋅ , σ i ( ) ⋅ represents the i -th singular value of a matrix. In order to improve the detection performance, we integrated the WNNM the LRR model, and proposed a fabric defect detection method based on weighted low rank representation, denoted as WLRR, and it can be described as follows.

47where D is the deep-handcrafted feature matrix of the test fabric image, L and E are the low rank background matrix and sparse defect matrix, λ > 0 is a balance factor. A is a dictionary matrix that linearly spans the feature space. Because E has sparse column support, feature matrix D can be selected as dictionary matrix to replace A. 35 Then the equation (15) can be rewritten as:

Optimization of WLRR

48In order to facilitate the optimization solution, the variable J is introduced and equation (16) is transformed into the following equivalent problem.

49Then, the augmented Lagrangian function of equation (17) can be described as follows.

50where Y 1 and Y 2 are the Lagrange multipliers,   ⋅ F 2 represents the Frobenius norm of a matrix. In order to conveniently demonstrate the solution process we first introduce the following lemma. 36 Let Q be a given matrix. If the optimal solution to

51Based on the above lemma, equation (18) can be solved using Alternating Direction Method of Multipliers (ADMM), 37 and specifically described as follows.

52(1) Updating J : By fixing other variables, the optimal solution of J can be obtained by minimizing the following equation (21):

53The optimization problem of J is generally nonconvex, therefore, it cannot be solved directly. Gu et al. 38 have analyzed the optimal solution of the objective function in the form of WNNM. When the weight is set to a constant, NNM is proved to be a special case of WNNM. Thus, let P L Y = /2 2 + and P USV T = , we can get the following equation.

54For fabric defect detection, the larger singular value of matrix contains more important components, while the traditional solution method treats all singular values equally, so the results deviate from the real solution. In this paper, we set the different weights for each singular value based on their value, and the weights are calculated as follows:

55where σ i P ( ) represents the i -th singular value of P. It can be seen from Figure 2 that the weighted nuclear norm can better approximate to the Rank function comparing with Nuclear norm, and can automatically assign appropriate weights to each singular value.

56(2) Updating L: By fixing other variables, the optimal solution of L can be obtained by minimizing the following formula:

57(3) Updating E: By fixing other variables, the optimal solution of E can be obtained by minimizing the following problem:

58The proposed WLRR can be solved by the iterative algorithm, can it can be described as Algorithm 1.

Saliency map generation

59After the final sparse matrix E * which include the defect information is generated, the saliency score of R j block can be obtained by the L 1 -norm of j -th column of E * :

60Then, the corresponding saliency map M is generated according to the spatial relationship. Finally, the defect region can be obtained by binary image M � .

61where c is a constant, µ and σ are mean and standard deviation of pixel values in the saliency map.

Experiments setup

62Dataset. Two public fabric databases are adopted to conduct comprehensive evaluation of the proposed methods. One is TILDA fabric image dataset, 39 (2) Update L k +1 by: The optimal solution E * Implementation details. First, we transfer the domain-specific VGG16 to fit our fabric database by replacing the original softmax layer (i.e. whether it belongs to defect image) with 2-way output. Then, the transfer learning is carried out by stochastic gradient descent with a batch size of 16, momentum of 0.9, weight decay of 0.0001, and the learning rate is initially of 0.0001. For the WLRR model, the model parameters set to 0.001.

63All parameters are kept fixed for all the experiments to demonstrate the robustness and stability of our method. The simulation is performed in MATLAB 2019a, running on a PC with an i7-7700 CPU accelerated by a HD Graphics 630 (1024MB) GPU.

64Evaluation criteria. To perform a comprehensive evaluation, the statistical parameters are introduced to verify the performance, including true positive (TP), true negative (TN), false positive (FP), and false negative (FN). Based on the above parameters, evaluation criteria are defined as follows:

65Moreover, F-measures (F) is also shown based on the above evaluation criteria. It should be noted that because of the lack of ground-truth in the TILDA fabric database, the above quantitative evaluation will only be conducted for the patterned fabric databases.

Experimental results and analysis

66Comparison of deep features and handcrafted features. Activation of each convolution layer is used to form deep feature. We present the detection results of the first eight layers of VGG16, as presented in Figure 3. The first column is the original image; the second column to the last column are the generated saliency map using the Conv 1_1 to Conv 4_1 respectively. In addition, we present the numerical results of the first eight convolution layers to find the best convolution layer, as shown in Table 2.

67As can be seen from Figure 4 and Table 2, the deepest and shallowest convolution layers produce worse results, while the middle layer achieves better detection results. Among them, the Conv 2_2 achieves the best performance, so Conv 2_2 in VGG16 is selected to fuse with handcrafted features in our method.

68In order to perform a quantitative evaluation, we list the detection results of handcrafted features and deephandcrafted features to prove the effectiveness of the proposed fusion strategy, as shown in Figure 5. And the numerical results are shown in Table 3. According to the quantitative and qualitative experiments, we can conclude that the deep features and handcrafted features complement each other, and the detection results are better than the single feature. Comparisons of saliency inference models. In section III, a saliency inference model WLRR is proposed to generate the defect saliency map. To validate its effectiveness, we compare our proposed model with the other two models: (1) original LRR (i.e. RPCA when dictionary matrix is identity matrix);

69(2) LRR based on other weighted nuclear norms (Schatten p norm, see Ref. 40 ). The results are shown in Figure 6. The first row is the original image, and the last three lines are saliency maps generated by LRR, PLRR, and WLRR. In our method, the weight operator can preserve more defects information in sparse matrix, thus can get the accurate results. From Figure 6, espically for the sixth image, we can see that WLRR retain more defect profile information comparing with LRR and PLRR. To further prove the efficiency of the proposed methods, the numerical results of the three methods in the pattern fabric image are shown in Table 4. We can conclude that WLRR performs better than the other two. Both qualitative and quantitative experiments confirm that the effectiveness of WLRR is more suitable for the fabric defect detection.

70Comparisons with the state of the arts. In this section, we compare the detection results of our method with the state-of-the art, including GABOR, 41 LSF-GSA, 42 ESP, 43 and SOMC. 44 All of the saliency maps are shown in Figures 7 to 9, which show comparisons of box-patterned fabrics, dot-patterned fabrics and star-patterned fabrics. The first row is the original fabric image, and the second to the sixth rows are saliency maps generated by the GABOR, LSF-GSA, ESP, SOMC methods, and our proposed method. The seventh row is the segmentation results generated by our method and the last row is the ground-truth images.

71It can be observed that there are more discontinuous regions in Gabor method, and there are many missing results. LSF-GSA combines local texture features with global analysis to generate saliency map, but the detection effect is poor and there are many noises. The ESP method has poor detection effect, especially in the detection of defects similar to the background, which shows that the method is not suitable for the detection of complex pattern fabrics. SOMC method can effectively detect the location and contour of defects, but its detection effect on dot fabric is worse than the other two fabrics. In addition, the performance of this method is poor for the defect with large size. Our method can not only detect the location of defect area, but also describe the defect contour of fabric image. The binary image obtained by segmentation is similar to the true value image. In addition, as shown in Figures 7(d) and 8(a), the proposed method can detect fabric images with large defects more effectively than other methods.

72In the quantitative evaluation, we give the evaluation results of the above methods on box, dot, and star pattern fabric images. The best performing data will be shown in bold. Since the saliency map generated by ESP method are binary graphs, they are not evaluated numerically. From Table 5, we can see that in most cases, the performance of our proposed method on three patterned fabric datasets is better than the existing methods. In summary, the qualitative and quantitative experiments prove the superiority of our method.

Conclusion

73In this paper, we proposed a novel fabric defect detection method on deep-handcrafted feature and WLRR. Based on the fact that manual low-level features and deep features can complement each other, the deep features extracted from VGG16 are fused with handcrafted features to improve the representation ability of fabric texture. Then, the fabric image is decomposed into background part and sparse defect part by LRR. At the same time, the weighted kernel norm is used to regularize the background matrix, so that the singular value of the matrix can be shrunk differently to retain the most important information. We also compare the performance of the proposed method with the previous methods (e.g. Gabor, GSA, ESP, SOMC). The results of qualitative and quantitative experiments show that our method is more effective than the state-of-the-art. In addition, the proposed method provides a new solution for the surface anomaly detection of other industrial products.

참고문헌 30건

  1. Fabric defects detection using adaptive wavelets International Journal of Clothing Science and Technology · Emerald Publishing Limited · 2014 10.1108/ijcst-03-2013-0031
  2. Differential evolution-based optimal Gabor filter model for fabric inspection Neurocomputing · Elsevier BV · 2015 10.1016/j.neucom.2015.09.011
  3. Fabric inspection based on the Elo rating method Pattern Recognition · Elsevier BV · 2015 10.1016/j.patcog.2015.09.022
  4. DERF: Distinctive Efficient Robust Features From the Biological Modeling of the P Ganglion Cells IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2015 10.1109/tip.2015.2409739
  5. Robust Recovery of Subspace Structures by Low-Rank Representation IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2012 10.1109/tpami.2012.88
  6. Wavelet based methods on patterned fabric defect detection Pattern Recognition · Elsevier BV · 2004 10.1016/j.patcog.2004.07.009
  7. A Fast Algorithm for Edge-Preserving Variational Multichannel Image Restoration SIAM Journal on Imaging Sciences · Society for Industrial and Applied Mathematics · 2009 10.1137/080730421
  8. Texture Modeling Using Contourlets and Finite Mixtures of Generalized Gaussian Distributions and Applications IEEE Transactions on Multimedia · Institute of Electrical and Electronics Engineers · 2014 10.1109/tmm.2014.2298832
  9. Image classification by non-negative sparse coding, correlation constrained low-rank and sparse decomposition Computer Vision and Image Understanding · Elsevier BV · 2014 10.1016/j.cviu.2014.02.013
  10. Textural fabric defect detection using statistical texture transformations and gradient search Journal of the Textile Institute · Taylor & Francis · 2014 10.1080/00405000.2013.876154
  11. Regularity Analysis for Patterned Texture Inspection IEEE Transactions on Automation Science and Engineering · Institute of Electrical and Electronics Engineers · 2008 10.1109/tase.2008.917140
  12. Novel method for patterned fabric inspection using Bollinger bands Optical Engineering · SPIE · 2006 10.1117/1.2345189
  13. Alternating direction augmented Lagrangian methods for semidefinite programming Mathematical Programming Computation · Springer Science+Business Media · 2010 10.1007/s12532-010-0017-1
  14. Robust principal component analysis? Journal of the ACM · Association for Computing Machinery · 2011 10.1145/1970392.1970395
  15. Defect detection on the fabric with complex texture via dual-scale over-complete dictionary Journal of the Textile Institute · Taylor & Francis · 2015 10.1080/00405000.2015.1061760
  16. Detection of varied defects in diverse fabric images via modified RPCA with noise term and defect prior International Journal of Clothing Science and Technology · Emerald Publishing Limited · 2016 10.1108/ijcst-10-2015-0117
  17. Road crack detection using deep convolutional neural network 2022 IEEE International Conference on Image Processing (ICIP) · 2016 10.1109/icip.2016.7533052
  18. Proceedings of the 28th International Conference on Machine Learning 2011
  19. Fabric Defect Detection for Apparel Industry: A Nonlocal Sparse Representation Approach IEEE Access · Institute of Electrical and Electronics Engineers · 2017 10.1109/access.2017.2667890
  20. Automatic texture defect detection using Gaussian mixture entropy modeling Neurocomputing · Elsevier BV · 2017 10.1016/j.neucom.2017.02.021
  21. A Generic Deep-Learning-Based Approach for Automated Surface Inspection IEEE Transactions on Cybernetics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tcyb.2017.2668395
  22. Automatic Fabric Defect Detection Using Learning-Based Local Textural Distributions in the Contourlet Domain IEEE Transactions on Automation Science and Engineering · Institute of Electrical and Electronics Engineers · 2017 10.1109/tase.2017.2696748
  23. Fabric Defect Detection Based on Biological Vision Modeling IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2841055
  24. Automatic Visual Defect Detection Using Texture Prior and Low-Rank Representation IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2852663
  25. Robust low-rank decomposition of multi-channel feature matrices for fabric defect detection Multimedia Tools and Applications · Springer Science+Business Media · 2018 10.1007/s11042-018-6483-6
  26. Surface Defect Detection via Entity Sparsity Pursuit With Intrinsic Priors IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tii.2019.2917522
  27. Robust Subspace Learning: Robust PCA, Robust Subspace Tracking, and Robust Subspace Recovery IEEE Signal Processing Magazine · Institute of Electrical and Electronics Engineers · 2018 10.1109/msp.2018.2826566
  28. Fabric Defect Detection via Low-Rank Decomposition With Gradient Information IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2939843
  29. Fabric defect detection via low-rank decomposition with gradient information and structured graph algorithm Information Sciences · Elsevier BV · 2020 10.1016/j.ins.2020.08.100
  30. Proceedings of IEEE Conference on Computer Vision and Pattern Recognition 1993 10.1109/cvpr.1993