Introduction
Simultaneous Localization and Mapping (SLAM) is a fundamental capability for mobile robotics. Monocular SLAM, which utilizes a single camera, presents significant challenges, most notably the issue of absolute scale drift. Without depth information, a single camera cannot distinguish between a small object nearby and a large object far away, leading to accumulated errors in trajectory estimation. Traditional approaches often rely on hand-engineered geometric constraints or external sensors to resolve scale. This paper proposes a deep-learning-based framework, the L-VO (Learning Visual Odometry) network, which leverages dense 3D flow to achieve robust monocular visual odometry and dense 3D mapping.
Methodology
The proposed L-VO architecture integrates depth estimation and optical flow to derive a comprehensive 3D understanding of the scene. The pipeline begins with two specialized sub-networks: FlowNet2 for dense 2D optical flow and DepthNet for depth map generation from consecutive image frames.
The core innovation is the 3D Flow Association layer. By combining the 2D flow with the estimated depth, the network calculates "dense 3D flow," which represents the 3D displacement of every pixel between frames. This 3D flow provides the geometric context necessary to recover absolute scale.
The 3D flow is processed through a dual-stream regression network. A "squeeze layer" is employed to reduce dimensionality while maintaining spatial relationships. The network then predicts the 6-Degree-of-Freedom (6DOF) relative pose (translation and rotation). To improve training stability, a Bivariate Gaussian loss function is utilized, accounting for the statistical correlation between different motion directions typical in vehicular navigation. Finally, the predicted depth and odometry are integrated using OctoMap to generate a refined, dense 3D map.
Results and Discussion
The system was rigorously evaluated on the KITTI VO/SLAM benchmark. The L-VO network achieved a translational error of 2.68% and a rotational error of 0.0143°/m. These results significantly outperform traditional monocular baselines like VISO2-M and approach the performance levels of stereo-based systems.
As shown in the trajectory plots, the L-VO 3D Flow model (red line) closely tracks the ground truth (dashed black line) across diverse sequences, including those with complex loops and varying speeds. The inclusion of 3D flow association is critical; it allows the model to recover absolute scale without manual parameter tuning or camera height priors, which are typically required for monocular systems.
Conclusion
This research demonstrates that a pure deep learning approach can effectively address the scale drift problem in monocular SLAM. By associating 2D flow with depth to form 3D flow, the L-VO network achieves state-of-the-art performance on the KITTI benchmark. While the computational demands of running multiple sub-networks remain a challenge for real-time deployment on embedded systems, the ability to generate both accurate trajectories and dense 3D maps from a single camera marks a significant advancement in autonomous navigation.
Summary updated