Gray Fabric Defect Detection Based on Statistical Template Matching
Saisai LI , Haiyan YU , Junhua WANG
Journal of Donghua University(English Edition) ›› 2025, Vol. 42 ›› Issue (6) : 594 -605.
To address the high cost of online detection equipment and the low adaptability and accuracy of online detection models that are caused by uneven lighting, high noise, low contrast and so on, a block-based template matching method incorporating fabric texture characteristics is proposed.Firstly, the template image set is evenly divided into N groups of sub-templates at the same positions to mitigate the effects of image illumination, reduce the model computation, and enhance the detection speed, with all image blocks being preprocessed.Then, the feature value information is extracted from the processed set of subtemplates at the same position, extracting two gray-level cooccurrence matrix (GLCM) feature values for each image block.These two feature values are then fused to construct a matching template.The mean feature value of all image blocks at the same position is calculated and used as the threshold for template detection, enabling automatic selection of template thresholds for different positions.Finally, the feature values of the image blocks in the experimental set are traversed and matched with subtemplates at the same positions to obtain fabric defect detection results.The detection experiments are conducted on a platform that simulates a fabric weaving environment, using defective gray fabrics from a weaving factory as the detected objects.The outcomes demonstrate the efficacy of the proposed method in detecting defects in gray fabrics, the mitigation of the impact of uneven external lighting on detection outcomes, and the enhancement of detection accuracy and adaptability.
defect detection / gray-level co-occurrence matrix (GLCM) / template matching / gray fabric / feature extraction / online detection
| [1] |
|
| [2] |
|
| [3] |
|
| [4] |
|
| [5] |
|
| [6] |
|
| [7] |
|
| [8] |
|
| [9] |
|
| [10] |
|
| [11] |
|
| [12] |
|
| [13] |
|
| [14] |
|
| [15] |
|
| [16] |
|
| [17] |
|
| [18] |
|
| [19] |
|
| [20] |
|
| [21] |
|
| [22] |
|
| [23] |
|
| [24] |
|
| [25] |
|
| [26] |
|
| [27] |
|
| [28] |
|
| [29] |
|
| [30] |
|
/
| 〈 |
|
〉 |