Fabric defect detection via learned dictionary-based visual saliency
Purpose – Fabric defect detection plays an important role in textile quality control. The purpose of this paper is to propose a fabric defect detection algorithm using learned dictionary-based visual saliency. Design/methodology/approach – First, the test fabric image is splitted into image blocks, and the learned dictionary with normal samples and defective sample is constructed by selecting the image block local binary pattern features with highest or lowest similarity comparing with the average feature vector; second, the first L largest correlation coefficients between each test image block and the dictionary are calculated, and other correlation coefficients are set to zeros; third, the sum of the non-zeros coefficients corresponding to defective samples is used to generate saliency map; finally, an improve valley-emphasis method can efficiently segment the defect region. Findings – Experimental results demonstrate that the generated saliency map by the proposed method can efficiently outstand defect region comparing with the state-of-the-art, and segment results can precisely localize defect region. Originality/value – In this paper, a novel fabric defect detection scheme is proposed via learned dictionary-based visual saliency.