Abstract
We propose Stereo Direct Sparse Odometry (Stereo DSO) as a novel method for highly accurate real-time visual odometry estimation of large-scale environments from stereo cameras. It jointly optimizes for all the model parameters within the active window, including the intrinsic/extrinsic camera parameters of all keyframes and the depth values of all selected pixels. In particular, we propose a novel approach to integrate constraints from static stereo into the bundle adjustment pipeline of temporal multi-view stereo. Real-time optimization is realized by sampling pixels uniformly from image regions with sufficient intensity gradient. Fixed-baseline stereo resolves scale drift. It also reduces the sensitivities to large optical flow and to rolling shutter effect which are known shortcomings of direct image alignment methods. Quantitative evaluation demonstrates that the proposed Stereo DSO outperforms existing state-of-the-art visual odometry methods both in terms of tracking accuracy and robustness.
Introduction
Visual Odometry (VO) serves as the "eyes" for autonomous systems, enabling robots and vehicles to estimate their position by analyzing visual input. Historically, VO research has been divided into feature-based methods, which track specific geometric primitives like corners, and direct methods, which operate on raw pixel intensities.
While direct methods like the original monocular Direct Sparse Odometry (DSO) offer high precision, they face significant challenges in real-world applications:
- Scale Ambiguity and Drift: Monocular systems cannot determine absolute scale and often suffer from warping of the estimated environment size over time.
- Sensitivity to Sensor Artifacts: They are often brittle when faced with rolling shutter effects or rapid motion.
Stereo DSO addresses these limitations by extending the DSO framework to stereo camera systems. By leveraging a fixed-baseline stereo setup, the system eliminates scale ambiguity, corrects for rolling shutter distortions, and provides robust tracking in absolute metric units (meters).
Methodology
Stereo DSO is a hybrid system that integrates two distinct types of stereo constraints into a unified optimization framework: temporal multi-view stereo (tracking points across frames over time) and static stereo (instant triangulation using the fixed camera baseline).
Joint Optimization Pipeline
The core of the system is a joint bundle adjustment performed within an "active window" of keyframes. Unlike filtering-based approaches, Stereo DSO simultaneously optimizes camera poses, intrinsic parameters, affine brightness factors, and the inverse depth of all selected pixels.
Key Innovations
- Stereo Coupling Factor (λ): The authors introduced a weighting factor to balance the contribution between immediate static stereo data and long-term temporal tracking.
- Adaptive Pixel Sampling: To maintain real-time performance, the algorithm samples pixels from regions with high intensity gradients. A grid-based approach ensures uniform distribution across the image, adapting to various aspect ratios.
- Marginalization: To keep computational costs bounded, old information is summarized and removed from the active window using the Schur complement, maintaining a consistent state for real-time operation.
Evaluation and Results
The system was rigorously evaluated on the KITTI Odometry Benchmark and the Cityscapes Dataset. These benchmarks provide a mix of urban/rural environments and challenging real-world conditions like high dynamic range and rolling shutter effects.
Performance Metrics
Stereo DSO demonstrates superior accuracy compared to state-of-the-art methods such as Stereo ORB-SLAM2 (feature-based) and Stereo LSD-SLAM (semi-dense direct).
Key findings include:
- Tracking Accuracy: On the KITTI dataset, Stereo DSO achieved a mean translational error of just 0.84%. Remarkably, as a "pure" visual odometry system, it outperformed full SLAM systems like ORB-SLAM2 on the testing set, even when the latter utilized loop-closure and global optimization.
- Robustness: The integration of static stereo constraints significantly improves resilience to rolling shutter effects, which typically degrade the performance of direct multi-view algorithms.
- Reconstruction Density: By operating directly on pixels rather than extracted features, the system produces a significantly denser 3D point cloud than traditional feature-based methods, which is highly beneficial for downstream tasks like obstacle avoidance.
Conclusion
Stereo DSO successfully bridges the gap between the high precision of direct sparse methods and the robustness of stereo vision. By eliminating scale drift and providing metric-accurate reconstructions in real-time, it offers a powerful solution for large-scale autonomous navigation. Future work will focus on extending the system into a full SLAM framework by incorporating a global map database and loop-closure capabilities to further mitigate long-term drift.
Summary updated