Abstract
We present an object class detection approach which fully integrates the complementary strengths offered by shape matchers. Like an object detector, it can learn class models directly from images, and localize novel instances in the presence of intra-class variations, clutter, and scale changes. Like a shape matcher, it finds the accurate boundaries of the objects, rather than just their bounding-boxes. This is made possible by 1) a novel technique for learning a shape model of an object class given images of example instances; 2) the combination of Hough-style voting with a non-rigid point matching algorithm to localize the model in cluttered images. As demonstrated by an extensive evaluation, our method can localize object boundaries accurately, while needing no segmented examples for training (only bounding-boxes).
The Challenge: Beyond Bounding Boxes
In the mid-2000s, a major goal in computer vision was moving beyond simple rectangular bounding boxes to find the actual outlines (boundaries) of objects. However, a significant divide existed: traditional object detectors could learn from images and handle clutter but usually only provided a box. Conversely, shape matchers could find precise boundaries but typically required a clean "template" or pre-segmented point sets to start with, often failing in the presence of heavy background clutter.
This research bridges that gap by learning a prototypical shape and its variations directly from a set of noisy, cluttered training images where the object is not pre-segmented, requiring only bounding-box annotations.
Methodology
The proposed system follows a three-stage pipeline to distill a clean shape model from noisy data and apply it to new images.
1. Learning Model Parts
The system extracts "Pairs of Adjacent Segments" (PAS)—local contour features designed to be robust to gaps in edges. By aligning training bounding boxes and using a voting scheme, the algorithm identifies which PAS features consistently appear across different instances of the class (e.g., the handle of a mug), effectively "distilling" the object from the background noise.
2. Building the Prototypical Shape
The algorithm assembles these parts into a continuous "mean shape" through an iterative process:
- Backmatching: Matching the current model back to training images using Thin-Plate Spline Robust Point Matching (TPS-RPM).
- Mean Shape Estimation: Using Procrustes analysis to average these matches into a clean, generic shape.
- Deformation Learning: Applying Principal Component Analysis (PCA) to the matched points to learn how the shape typically varies (e.g., how a mug's aspect ratio changes).
3. Detection and Localization
To find objects in a new image, the system first uses Hough voting to get a rough estimate of location and scale. It then initializes a non-rigid matcher. Crucially, the authors introduce Constrained Shape Matching, which forces the matcher to only explore shapes that are "plausible" based on the PCA model learned during training. This prevents the algorithm from being distracted by irrelevant background edges.
Evaluation and Key Results
The approach was evaluated on the ETHZ Shape Classes (Apple logos, Bottles, Giraffes, Mugs, and Swans) and the INRIA Horses dataset.
- High Detection Accuracy: The integrated system significantly outperformed a simple Hough-only detector. For example, on the Mugs category, the full system achieved an 83.6% detection rate at 0.4 false positives per image (FPPI), compared to just 51.4% for the Hough stage alone.
- Precise Boundaries: The system localized boundaries with an average error of only 3% to 5% of the image diagonal.
- Better than Hand-Drawings: Models learned automatically from real images generally performed better than those based on hand-drawn templates. The automated learning process captures the actual statistical properties and "noise" of real-world edges that a human illustrator might overlook.
Insights and Limitations
A key insight of this work is that pixel-perfect segmentations are not required to learn a shape. By identifying features that reoccur in the same relative positions across many images, background noise eventually cancels out. Furthermore, by constraining the matcher to a "valid region" of shape space (the PCA subspace), the algorithm effectively ignores edges that do not "look like" the target object.
However, the system relies heavily on the quality of the underlying edge detector. In categories with very "busy" textures (like the spots on a Giraffe), the resulting edge maps can be so noisy that the shape model struggles to form. Additionally, the current method primarily focuses on objects with a somewhat consistent viewpoint; handling extreme 3D rotations would likely require multiple models or a more complex 3D representation.
Conclusion
By combining the global robustness of Hough voting with the local precision of constrained point matching, this method successfully learns deformable shape models from weakly supervised data. It represents a significant step toward automated, high-precision object localization in complex real-world scenes.
Summary updated