Introduction
Many real-world surfaces, from architectural facades to woven fabrics, exhibit "near-regular textures" (NRT). These patterns possess a clear underlying grid—a lattice—but are frequently warped by perspective, lighting, or physical deformation, such as the wrinkles in a shirt. Detecting this lattice is a classic "chicken-and-egg" problem: identifying the repeating pattern requires knowing the lattice structure, yet defining the lattice requires identifying the repeating elements (texels).
Previous state-of-the-art methods relied on finding sparse "interest points" like corners and grouping them. However, in blurry, low-contrast, or highly distorted scenes, these detectors often fail to find enough points to construct a reliable grid. This paper introduces a robust, automated method that leverages dense self-similarities to overcome these limitations.
Methodology: The GPM-MRF Pipeline
The authors propose a multi-stage pipeline that shifts from sparse point detection to dense, patch-based matching:
- Self-Similarity Discovery via GPM: Instead of searching for corners, the algorithm uses Generalized PatchMatch (GPM) to find the $k$-nearest neighbors (kNN) for every patch in the image. This provides a dense field of potential matches even in regions where traditional detectors see nothing.
- Lattice Basis Proposal: A RANSAC-based approach is applied to the kNN matches to identify the two primary vectors ($t_1, t_2$) that define the basic "L-shape" of the texture grid.
- MRF-based Lattice Expansion: To grow the lattice across the image, the problem is formulated as a Markov Random Field (MRF). The goal is to find vertex positions that are both visually similar to a template texel and geometrically consistent with their neighbors.
- Particle Belief Propagation (PBP): Optimizing an MRF in continuous space is computationally expensive. The authors use the kNN matches from the GPM step as "particles" for the PBP algorithm. This discretizes the search space to only the most likely candidates, making optimization both fast and accurate.
- Iterative Unwarping: As the lattice expands, a Thin-Plate Spline (TPS) warp is used to locally "flatten" the texture. This rectification helps the algorithm predict the location of the next texel more accurately under heavy distortion.
Key Results and Insights
The proposed method was evaluated against two primary benchmarks: the Symmetry Detection Competition 2013 (Set A) and a challenging NRT Dataset (Set B). The results demonstrate significant improvements over previous leading methods:
- Detection Rate: On the geometrically challenging Set B, the proposed method achieved a 91.10% detection rate, compared to 75.03% for the previous state-of-the-art.
- Localization Accuracy: Using a "homogeneity score" to measure texel alignment, the method showed superior precision across all categories (urban, general, and discrete elements).
- Computational Efficiency: Despite the complexity of dense matching, the inference process is approximately 2x faster than previous MRF-based approaches because the GPM-guided sampling allows the PBP algorithm to converge much more quickly.
Conclusion
By moving from sparse features to dense patch matching, this approach achieves unprecedented robustness to geometric and photometric distortions in near-regular textures. While the algorithm currently struggles with "see-through" textures like chain-link fences due to background interference, future work involving more robust descriptors (like HOG or SIFT) and extensions to rotational symmetry promises to broaden its applicability in computer vision and graphics.
Summary updated