Abstract
This paper proposes a sparse image representation using deformable templates of simple geometric structures commonly observed in natural scenes. These templates include active curve templates and active corner templates. An active curve template is a composition of Gabor wavelet elements placed with equal spacing on a straight line or circular arc, where each element can locally shift to fit the image. An active corner template consists of two active curves sharing a common endpoint. The paper introduces a hierarchical sum-max computational architecture to pursue a sparse representation by selecting templates from a dictionary. Experiments demonstrate the method's capability in finding sparse representations of natural images and learning object templates.
Introduction
Finding a sparse representation—describing complex scenes using a small number of meaningful building blocks—is a fundamental challenge in computer vision. While Gabor wavelets, mimicking simple cells in the primary visual cortex, are standard, they are often too local to provide high-level structural understanding. Traditional edge detectors often make "early decisions," discarding information before structural patterns are recognized, while rigid templates fail to account for natural variability. This research introduces a middle ground: a representation that is mathematically sparse, geometrically intuitive, and flexible enough to deform to fit real-world data.
Methodology: Active Templates and Hierarchical Architecture
The proposed framework relies on two primary primitives:
Active Curve Templates
An active curve template is a sequence of Gabor wavelet elements arranged along a line or circular arc. These are "active" because each constituent element can locally shift its position and orientation to better fit the underlying image data. This flexibility allows a single template to represent a family of similar curves.
Active Corner Templates
Active corner templates are higher-level compositions consisting of two active curves that share a common endpoint. By allowing the overall lengths and curvatures of the constituent curves to vary, the corner template can deform to match a wide variety of angles and junctions found in natural images.
The Sum-Max Architecture
To efficiently identify these templates, the authors employ a layered "sum-max" architecture:
- S1 (Sum) Maps: Raw Gabor filter responses.
- M1 (Max) Maps: Local maximum pooling to account for small deformations (shifts in position/orientation).
- S2 (Sum) Maps: Scoring curve templates by summing the M1 responses of their constituent parts.
- M2/S3 Maps: Further pooling and summing to identify and score corner templates.
The final representation is generated via a Matching Pursuit algorithm, which iteratively selects the highest-scoring template, records it in the "sketch," and inhibits the local area to find the next most salient structure.
Experimental Results
The approach was evaluated using natural scene images, the Horse and Leaf datasets (Caltech), and the ETHZ Object Dataset.
- Sparsity and Structure: Qualitative results show that the "active curve" sketch is significantly cleaner and more structurally coherent than standard edge-linking algorithms. A few dozen active curves/corners can represent an image more meaningfully than hundreds of individual Gabor wavelets.
- Classification Performance: In AdaBoost experiments, features derived from these active templates achieved higher Area Under the Curve (AUC) scores for horse and leaf detection compared to standard Gabor-based models.
- Object Detection: On the ETHZ dataset, the method performed comparably to established benchmarks, proving that simple geometric templates are powerful enough for complex object recognition tasks.
Discussion and Conclusion
The core strength of this approach lies in its compositionality and deformation-based invariance. By building corners from curves and curves from wavelets, the model creates a reusable hierarchy mirroring the "primal sketch" theory of vision. Because the system scores templates directly on filter responses rather than pre-processed edge maps, it avoids "early commitment" and retains more structural information.
Future work may address the computational cost of adding more complex geometric shapes (like triangles or ellipses) and incorporate multi-scale templates to improve robustness against distance and zoom variations. Additionally, explicitly modeling background "flatness" could further reduce false positives in complex scenes.
Summary updated