Journal of Shanghai Jiao Tong University ›› 2025, Vol. 59 ›› Issue (2): 283-292.doi: 10.16183/j.cnki.jsjtu.2023.205

• Electronic Information and Electrical Engineering • Previous Articles    

Unsupervised Fabric Defect Detection Based on Under-Complete Dictionary Reconstruction

LIU Jianxin, PAN Ruru, ZHOU Jian()   

  1. College of Textile Science and Engineering, Jiangnan University, Wuxi 214122, Jiangsu, China
  • Received:2023-05-22 Revised:2023-06-16 Accepted:2023-07-03 Online:2025-02-28 Published:2025-03-11

Abstract:

To address the issue that most current automatic fabric defect detection methods still require manual selection of training sets and cannot achieve unsupervised learning, an automatic unsupervised defect detection method using the median robust extended local binary pattern (MRELBP) feature for flawless image screening and an under-complete dictionary reconstruction method for defect point detection are proposed. An adaptive dictionary size search algorithm is also proposed to automatically select a suitable dictionary size. First, the algorithm selects the flawless images from fabric images. Then, K-SVD is applied to obtain an under-complete dictionary from the normal image blocks as the training set. Finally, the reconstruction-base scheme is used to identify defects with the structural similarity index measure (SSIM) threshold. Experimental results of 334 plain fabrics with warp, weft, and block defects show that compared to the K-SVD method that uses residual segmentation for defect detection, the proposed method increases the correct detection rate up to 21.81%, reduces the false detection rate up to 0.72%, and a 50% increase in detection speed per image on average. The proposed algorithm achieved an average correct detection rate of 83.29% on the AITEX dataset, demonstrating its effectiveness.

Key words: fabric defect detection, median robust extended local binary pattern (MRELBP), dictionary learning, unsupervised detection

CLC Number: