Abstract
We propose a fundamentally novel approach to real-time visual odometry for a monocular camera. It allows to benefit from the simplicity and accuracy of dense tracking - which does not depend on visual features - while running in real-time on a CPU. The key idea is to continuously estimate a semi-dense inverse depth map for the current frame, which in turn is used to track the motion of the camera using dense image alignment. More specifically, we estimate the depth of all pixels which have a non-negligible image gradient. Each estimate is represented as a Gaussian probability distribution over the inverse depth. We propagate this information over time, and update it with new measurements as new images arrive. In terms of tracking accuracy and computational speed, the proposed method compares favorably to both state-of-the-art dense and feature-based visual odometry and SLAM algorithms. As our method runs in real-time on a CPU, it is of large practical value for robotics and augmented reality applications.
1. Introduction
Visual Odometry (VO) is the process of estimating camera motion from a sequence of images. Traditionally, monocular VO has been categorized into two paradigms: feature-based and dense methods. Feature-based methods track a sparse set of salient points (e.g., corners), offering computational efficiency but sacrificing robustness in low-texture environments. Conversely, dense methods utilize all image pixels, providing high accuracy and robustness at the cost of significant computational overhead, often requiring high-end GPUs.
This paper introduces a "semi-dense" approach that bridges this gap. By focusing on pixels with significant image gradients, the system achieves the robustness of dense tracking while maintaining real-time performance on a standard CPU.
2. Semi-Dense Methodology
The core of the proposed system is the continuous estimation of a semi-dense inverse depth map. Unlike sparse methods that track hundreds of points or dense methods that track millions, this approach tracks all pixels with a non-negligible gradient—typically edges and textured regions.
2.1 Probabilistic Depth Estimation
For each selected pixel, the system maintains an estimate of its inverse depth ($d = 1/z$), modeled as a Gaussian probability distribution. This probabilistic representation allows for the tracking of both the depth value and its associated uncertainty. Modeling inverse depth rather than absolute depth allows the system to represent points at infinity (like the horizon) with manageable numerical values and Gaussian distributions.
2.2 Adaptive Baseline Stereo and Fusion
Depth updates are performed by comparing the current frame to previous reference frames. To maximize accuracy, the system employs an adaptive baseline strategy, selecting the oldest possible reference frame where the pixel remains visible. This solves the stereo trade-off: a larger baseline improves depth precision but makes pixel matching more difficult. New measurements are fused into the existing depth map using a Kalman filter-like approach, accounting for both geometric and photometric noise.
2.3 Dense Tracking
Camera pose estimation is achieved through "whole-image alignment." The system minimizes the photometric error (brightness difference) between the current image and the reference image, weighted by the depth uncertainty. This direct alignment avoids the need for explicit feature matching.
3. Experimental Evaluation
The system was evaluated using the TUM RGB-D benchmark and custom sequences recorded in motion capture environments.
3.1 Performance and Accuracy
The algorithm achieves tracking at 30Hz and mapping at 15Hz on a standard Intel i7 CPU. On the TUM benchmark, it demonstrated a position drift of 0.6 cm/s and a rotation drift of 0.33 deg/s. Notably, the semi-dense approach remained stable in scenarios where popular feature-based methods like PTAM failed or lost tracking.
4. Discussion and Conclusion
The "semi-dense" paradigm demonstrates that image gradients contain the majority of the information required for accurate camera tracking. By ignoring featureless regions, the system reduces computational requirements by 80-90% without significant loss in accuracy.
While the system currently operates as an odometry solution (lacking global loop closure) and requires translation for depth initialization, it provides a robust foundation for real-time monocular SLAM. This work served as the direct predecessor to the influential LSD-SLAM algorithm.
Summary updated