Defect Detection for Patterned Fabric Images Based on GHOG and Low-Rank Decomposition

Chunlei Li, Guangshuai Gao, Zhoufeng Liu, Di Huang, Jiangtao XiIEEE Access 2017 · DOI

Abstract

Automated quality control for patterned fabrics remains a significant challenge due to the complex, repetitive nature of motifs like stars, boxes, and dots. This paper introduces a robust detection framework that integrates a novel Gabor-HOG (GHOG) descriptor with low-rank matrix decomposition. By treating fabric patterns as redundant low-rank components and defects as sparse anomalies, the proposed method achieves high sensitivity to structural irregularities. Evaluation across multiple datasets shows that the GHOG-based approach outperforms traditional spectral and statistical methods, particularly in preserving the geometric shape of defects.

Introduction

In the textile industry, manual inspection is labor-intensive and prone to error. While machine vision has succeeded in plain fabric inspection, patterned fabrics pose a unique difficulty: their inherent regularity can be mistaken for anomalies by standard algorithms. A star pattern, for instance, appears as a series of "defects" against a plain background to a simple intensity-based system. This research addresses the need for an inspection system that understands the directional regularity of complex patterns to accurately distinguish between the intended design and actual defects like snags, holes, or stains.

Methodology

The proposed pipeline treats defect detection as a saliency problem, identifying regions that deviate from the expected mathematical structure of the fabric.

GHOG Feature Extraction

The core of the feature representation is the GHOG (Gabor-HOG) descriptor. It combines Gabor filters—which mimic human visual perception of directional textures—with Histograms of Oriented Gradients (HOG). This combination captures the specific "flow" and orientation of the fabric pattern.

The GHOG descriptor extraction process involves Gabor filtering followed by uniform sampling and HOG normalization.

Low-Rank Decomposition (LRD)

The feature matrix $F$ is decomposed into two components: $F = L + S$. The low-rank matrix $L$ represents the repetitive background pattern, while the sparse matrix $S$ captures the non-repetitive defects. To improve accuracy over standard convex methods, the authors utilize a non-convex log-det function as a surrogate for the matrix rank, solved via the Alternative Direction Method of Multipliers (ADMM).

Experimental Results

The method was tested on three distinct patterned fabric databases: dot-patterned, star-patterned, and box-patterned images ($512 \times 512$ pixels).

Qualitative and Quantitative Analysis

The GHOG+LR method demonstrates significant qualitative superiority. Saliency maps generated from the sparse component $S$ are cleaner, with fewer false positives in the background compared to Wavelet Transform (WT) or Prior Guided Least Squares Regression (PGLSR) models.

Qualitative comparison of defect detection results showing original images, ground truth, and resulting saliency maps.

Quantitatively, the approach achieved higher F-measures and better ROC curves for star and box patterns. A key strength is its ability to capture the actual shape of the defect rather than just identifying a general region of interest, which is vital for industrial diagnostics.

Conclusion

By leveraging the directional redundancy of patterned fabrics, the GHOG and low-rank decomposition framework provides a highly effective solution for automated inspection. While the method shows some limitations with indistinct dot patterns due to their lack of strong directional flow, it sets a new benchmark for star and box motifs. Future work may extend this framework to other industrial surfaces with repetitive textures, such as glass or rail components.

Summary updated

BibTeX
@inproceedings{li2017defect,
  author = {Chunlei Li and Guangshuai Gao and Zhoufeng Liu and Di Huang and Jiangtao Xi},
  title = {{Defect Detection for Patterned Fabric Images Based on GHOG and Low-Rank Decomposition}},
  booktitle = {IEEE Access},
  year = {2017},
  doi = {10.1109/access.2019.2925196},
}
Figure