A Monitoring and Diagnostic Approach for Stochastic Textured Surfaces

Anh Tuan Bui, Daniel W. ApleyTechnometrics 2018

Introduction

In modern manufacturing, quality control systems often rely on template-matching techniques, where a product is compared against a "gold standard" image. While effective for deterministic surfaces like printed circuit boards where components have fixed coordinates, these methods struggle with "stochastic" textured surfaces. Materials such as textiles, wood, or stone possess patterns that are random at the pixel level but statistically consistent.

Examples of textured surfaces: (a) textile, (b) stochastic texture, (c) deterministic circuit board, and (d) deterministic golf ball.

For these surfaces, no two "perfect" samples are identical, rendering traditional Statistical Process Control (SPC) ineffective. This paper proposes a supervised learning framework that moves beyond template-matching toward statistical behavior modeling to detect and localize defects.

Methodology: Statistical Behavior Modeling

The proposed approach treats the surface texture as a Markov Random Field (MRF), characterized by locality—where a pixel's value is determined by its immediate neighbors—and stationarity—where statistical rules remain constant across the surface.

The Workflow

  1. Phase I Training: A supervised learning model, specifically a regression tree, is trained on a "normal" sample. The model learns to predict a pixel's intensity based on its surrounding neighborhood.
  2. Residual Analysis: For a test image, the model generates predictions for each pixel. The difference between the actual and predicted values forms a "residual" image. In a defect-free surface, these residuals should ideally represent white noise.
  3. Spatial Moving Statistics (SMS): A sliding window analyzes the residual image using two key metrics:
  4. Anderson-Darling (A-D): Detects shifts in the residual distribution (e.g., localized darkening or lightening).
  5. Box-Pierce (B-P): Identifies spatial correlations in residuals, which signal structural changes like shifts in weave direction.
Illustration of the neighborhood-based prediction scheme where pixel $y_i$ is predicted using its surrounding context.

Experimental Evaluation

The framework was evaluated using both simulated 2-D stochastic processes and real-world textile fabric images. The textile dataset included six defect types: scratches, fiber direction changes, tears, holes, and "runs." The performance was benchmarked against Haar-wavelet-based algorithms and moving average/variance approaches (EPWMA/EPWMV).

Key Results and Insights

The proposed method demonstrated significant improvements over traditional benchmarks:

  • Detection Power: In simulations, the method achieved a detection power between 0.95 and 1.0 for most defect sizes. Benchmark methods often failed entirely, with detection power near 0.0.
  • Localization and Diagnosis: The algorithm produced accurate diagnostic heatmaps, clearly outlining defects such as scratches and holes rather than just flagging the image as "defective."
  • Structural Sensitivity: The Box-Pierce statistic proved particularly effective at identifying structural defects (like fiber direction changes) that do not necessarily alter the overall brightness of an area.

Conclusion and Future Directions

While highly effective, the method's computational complexity—particularly the calculation of spatial statistics for every pixel—presents a challenge for real-time applications. Future research may explore more complex learners like Deep Neural Networks or memory-based control charts (e.g., CUSUM) to detect subtle, persistent shifts across multiple images. Additionally, addressing boundary pixel monitoring remains a key area for optimization.

Summary updated

BibTeX
@article{bui2018monitoring,
  author = {Anh Tuan Bui and Daniel W. Apley},
  title = {{A Monitoring and Diagnostic Approach for Stochastic Textured Surfaces}},
  journal = {Technometrics},
  year = {2018},
  doi = {10.1080/00401706.2017.1302362},
}
Figure