Abstract
Geometric model fitting is a fundamental task in computer vision, typically used to identify mathematical structures within noisy data. Traditional stochastic methods like RANSAC are non-deterministic and often struggle with low inlier ratios or multiple structures. This paper presents Superpixel-based Deterministic Fitting (SDF), a method that utilizes superpixel segmentation to provide spatial guidance for model fitting. By replacing random sampling with a deterministic grouping and a "fit-and-remove" selection strategy, SDF delivers consistent results across complex scenes with multiple objects, often outperforming existing methods in both efficiency and precision.
Introduction
In computer vision, "geometric model fitting" involves extracting mathematical descriptions (such as homographies or fundamental matrices) from point correspondences. Real-world datasets present two major hurdles: outliers (noise) and multiple structures (different objects requiring distinct models).
While RANSAC is a standard solution, its reliance on random sampling makes it non-deterministic—different runs on the same data can yield different results. Moreover, its computational cost grows exponentially as the ratio of noise increases. While deterministic alternatives like AStar or Branch-and-Bound exist, they are often too slow for real-time applications and typically limited to single-structure detection. SDF aims to bridge this gap by providing a fast, deterministic framework capable of handling multiple structures simultaneously.
Methodology
The SDF approach moves away from point-wise randomness by incorporating spatial context through a three-stage pipeline.
1. Superpixel-based Grouping
Instead of treating every keypoint independently, SDF uses the SLIC algorithm for superpixel segmentation. Keypoints are grouped based on the superpixel they inhabit, leveraging the spatial intuition that nearby points within a segment likely belong to the same physical structure.
2. Deterministic Hypothesis Generation
To ensure consistency, SDF avoids random sampling. Instead, it generates hypotheses by combining neighboring superpixel groups. Within these clusters, the most "promising" keypoints are selected based on their SIFT matching scores. This ensures that the subsets used to build models are both spatially coherent and high-quality.
3. "Fit-and-Remove" Model Selection
Traditional methods often find one model, remove its points, and re-sample the remainder. SDF optimizes this by removing redundant hypotheses. It checks if the "seed" points of a hypothesis are already explained by a previously selected model. This "fit-and-remove" strategy avoids the need for iterative re-sampling, significantly boosting processing speed.
Experimental Results
The researchers evaluated SDF on 20 image pairs from the BLOGS, Oxford VGG, and AdelaideRMF datasets, covering both homography and fundamental matrix estimation.
Performance and Accuracy
- Efficiency: In high-noise scenarios, SDF demonstrated massive speedups. For the "Elderhalla" dataset, it was 80.13 times faster than RANSAC.
- Precision: SDF achieved the lowest Sampson error on several multi-structure benchmarks. Notably, on the "MC3" dataset, SDF succeeded in under two seconds, whereas PROSAC failed to find a solution within an hour.
- Robustness: The method remains stable even when outliers exceed 50%, a threshold where stochastic methods typically experience exponential increases in CPU time.
Discussion and Conclusion
While SDF offers significant advantages in reliability and speed, it is sensitive to the number of superpixels ($M$). If $M$ is too high, segments may lack sufficient keypoints for model estimation. Additionally, the superpixel segmentation step (SLIC) remains the primary computational bottleneck.
In conclusion, SDF provides a robust, deterministic alternative for geometric fitting. By using spatial context as a filter, it effectively ignores impossible point combinations and reduces the search space, making it ideal for industrial or safety-critical applications where deterministic behavior is paramount.
Reference: Xiao, G., Wang, H., Yan, Y., & Suter, D. (2016). Superpixel-based Two-view Deterministic Fitting for Multiple-structure Data. arXiv:1607.05839v1.
Summary updated