Abstract
We use segmentations to match images by shape. To address the unreliability of segmentations, we give a closed form approximation to an average over all segmentations. Our technique has many extensions, yielding new algorithms for tracking, object detection, segmentation, and edge-preserving smoothing. For segmentation, instead of a maximum a posteriori approach, we compute the “central” segmentation minimizing the average distance to all segmentations of an image. Our methods for segmentation and object detection perform competitively, and we also show promising results in tracking and edge–preserving smoothing.
Introduction
Computer vision researchers have long faced a "global/local dilemma" in shape matching. Local features, like edge fragments, are easy to find but lead to a combinatorial explosion of potential matches. Global features, like full contours, are highly distinctive but notoriously difficult to extract reliably; a single shadow or occlusion can break a contour and ruin the match.
Image segmentation—grouping pixels into regions—offers a middle ground, but it has a major flaw: it’s unreliable. Most algorithms try to find the single "best" (Maximum A Posteriori) segmentation, but these often contain "hallucinated" boundaries or miss faint, real ones. This paper asks: instead of betting everything on one potentially flawed segmentation, can we use the statistical average of all possible segmentations to represent an image's shape?
Methods
The proposed framework is based on Segmentation Averaging. The approach rests on three mathematical pillars:
- Structure Entropy (SE) and Mutual Information (SMI): A new similarity measure is defined. If two segmentations are superimposed, the resulting "joint segmentation" will have large regions if the boundaries match, leading to low entropy. If the boundaries don't match, the regions are subdivided into many tiny pieces, leading to high entropy.
- The Averaging Trick: Computing the average similarity over every possible segmentation is computationally prohibitive. However, the authors demonstrate that a pixel’s contribution to the total entropy is related to the geometric mean of the size of the segment containing it.
- Closed-Form Approximation: Since geometric means are difficult to compute, a Taylor expansion is used to approximate them using the arithmetic mean. This arithmetic mean can be calculated directly from a standard pixel-affinity matrix, allowing for the efficient computation of a global shape descriptor without explicit enumeration of segmentations.
Key Insights
- The "Central" Segmentation: Instead of the most likely segmentation (MAP), the authors propose the "central" segmentation—the one that minimizes the average distance to all other possible segmentations. This is more robust to noise and outliers.
- Averaging as Regularization: By considering all possible segmentations, the method naturally ignores "hallucinated" boundaries that only appear in a few versions and reinforces boundaries that appear consistently across the distribution.
- Efficiency via Affinities: Global structural properties can be approximated using only local pixel affinities, turning a complex global problem into a manageable local computation.
Results
The method was evaluated on several standard benchmarks:
- Berkeley Segmentation Dataset (BSDS): The method achieved better region consistency scores (0.629) than Mean-Shift (0.657) and Normalized Cuts (0.699).
- Object Detection: On UIUC and CalTech datasets, the method achieved an equal error rate of 98.1% on faces and 100% on car rear-views, outperforming several contemporary local-feature-based methods.
- Tracking: On the PETS 2007 sequence, the shape-based tracker demonstrated near-perfect results, proving resistant to deformations and lighting changes.
Conclusion
This work provides an elegant mathematical bridge between local pixel relationships and global shape structure. By leveraging the "average" view of segmentations, the framework achieves robustness in noisy environments where single-segmentation approaches often fail. Future work includes better texture handling and optimizing computational speed for real-time tracking applications.
Summary updated