Abstract
Automated visual inspection of textile surfaces is a challenging task due to the complex, repetitive background textures that often mask physical defects. This paper proposes a novel method to selectively remove this textural information using a modified Wavelet Shrinkage technique. By treating the fabric's weave as high-frequency noise, the method "flattens" the background while preserving the sharp edges of anomalies like stains or broken threads. This allows standard image processing algorithms to be applied to the reconstructed, texture-free image for effective defect detection.
Introduction
The inspection of industrial products often relies on image processing to identify surface defects. However, textile surfaces present a unique difficulty: the dense, periodic pattern of the weave itself. To a computer vision system, this texture acts as a high-frequency signal that interferes with the detection of defects such as "yarn missing" or "fly" (lint clumps). Traditional filtering methods, like Gaussian low-pass filters, often blur the edges of defects, making them harder to categorize. This paper introduces a "texture-as-noise" approach using Wavelet Shrinkage to isolate and remove the weave pattern without sacrificing defect clarity.
Methodology: Wavelet Shrinkage for Texture Removal
The core of the proposed method is Wavelet Shrinkage, originally developed by Donoho and Johnstone for removing Gaussian white noise. The process involves decomposing a signal into different frequency scales (wavelets), applying a threshold to the resulting coefficients, and then reconstructing the signal.
Asymmetric Thresholding
While standard denoising uses a single threshold ($\lambda$), the authors observed that textile wavelet coefficients are not perfectly symmetric. To address this, they proposed a modified "Soft Thresholding" method using two separate thresholds—$\lambda_p$ for positive coefficients and $\lambda_n$ for negative ones. This allows for more precise targeting of the specific periodicities of the fabric weave.
Optimal Calibration
To determine the ideal thresholds, the system is calibrated using a "clean" sample of the fabric. A synthetic "check pattern" is overlaid on this sample, and an optimization loop finds the thresholds that minimize the Mean Square Error (MSE) between the original clean signal and the reconstructed version.
Implementation and 2D Decomposition
For image processing, the 1D wavelet transform is extended to 2D. The image is decomposed into a series of subbands representing horizontal (HL), vertical (LH), and diagonal (HH) details at various scales.
The authors utilized the Symlet8 wavelet for this decomposition, chosen for its compact support and near-symmetry, which is well-suited for preserving the structural integrity of the image during the shrinkage process.
Results and Discussion
The method was tested on both synthetic patterns and real textile samples containing defects like broken threads and lint.
- Edge Preservation: Unlike standard blurring techniques, the Wavelet Shrinkage method maintained sharp boundaries for defects. This is critical for subsequent classification steps in an automated inspection pipeline.
- Pattern Handling: The algorithm successfully identified defects even on fabrics with printed patterns. By removing the underlying weave texture, the defect became the most prominent feature in the reconstructed image.
- Computational Feasibility: In tests conducted on a Celeron 466MHz processor, a 512x512 image was processed in approximately 4 seconds. The authors noted that the then-emerging Pentium IV architecture would likely enable real-time inspection on production lines.
Conclusion
By reframing textile texture as a form of noise, this paper demonstrates that Wavelet Shrinkage can be effectively adapted for industrial surface inspection. The proposed asymmetric thresholding and calibration techniques provide a robust way to "see through the weave," transforming a complex textile inspection problem into a standard image processing task. This domain-independent approach allows for the reuse of existing inspection tools across a wide variety of fabric types.
Summary updated