Feature-based visual odometry prior for real-time semi-dense stereo SLAM

Nicola Krombach, David Droeschel, Sebastian Houben, Sven Behnke

TL;DR

This paper introduces a hybrid stereo SLAM (Simultaneous Localization and Mapping) system that combines the speed of feature-based tracking with the precision of semi-dense direct image alignment. By using a fast feature-based "prior" to initialize direct optimization, the system achieves real-time performance and superior robustness to large inter-frame motions and illumination changes compared to pure direct methods.

What Problem Does This Paper Address?

In the world of robot vision, there has long been a tug-of-war between two paradigms: feature-based and direct methods.

  • Feature-based methods (like ORB-SLAM) track a sparse set of distinct keypoints. They are fast and robust to large movements, but they produce "starry night" maps that are too sparse for tasks like obstacle avoidance.
  • Direct methods (like LSD-SLAM) use the actual intensity values of pixels. They produce rich, semi-dense maps and are highly accurate, but they are computationally expensive and prone to failure if the camera moves too quickly between frames (causing the optimization to get stuck in a "local minimum").

The authors address this gap by asking: Can we use the robustness of features to "guide" the precision of direct methods? This is particularly critical for Micro Aerial Vehicles (MAVs) that move aggressively and have limited onboard computing power.

Methods

The authors propose a two-layer hybrid approach for stereo cameras:

  1. The Feature Layer (The Prior): The system uses LIBVISO2, a fast feature-based visual odometry (VO) library, to track motion between every frame. This provides a quick-and-dirty estimate of where the camera has moved.
  2. The Direct Layer (The Refinement): This layer performs semi-dense direct image alignment but only on keyframes. Crucially, it uses the estimate from the feature layer as its starting point (initialization). This restricts the search space, making the optimization faster and preventing it from getting lost during rapid turns.

Key Innovations: * Stereo Integration: Unlike the original monocular LSD-SLAM, this system uses stereo pairs to instantly initialize absolute depth, eliminating the "scale drift" problem where a map's size grows or shrinks erroneously over time. * Weighted Fusion: When updating the map, the system fuses new stereo measurements with predicted depths from previous frames using a variance-weighted sum, specifically accounting for the high distortion found in fish-eye lenses. * Pose-Graph Optimization: It uses the G2O framework to maintain global consistency, detecting loop closures to "snap" the trajectory back into place when the robot returns to a known location.

Datasets

The researchers evaluated their system on three distinct types of data:

  • KITTI Dataset: A standard benchmark for autonomous driving featuring outdoor urban environments.
  • EuRoC MAV Dataset: Indoor sequences recorded from a hexacopter, known for aggressive motion and challenging lighting.
  • Proprietary MAV Dataset: Data collected by the authors using a custom hexarotor equipped with fish-eye lenses and a very wide stereo baseline (approx. 53cm), providing a test for high-distortion environments.

Key Insights and Ideas

  • Initialization is the Bottleneck: The "aha moment" here is that direct methods don't fail because they are inherently weak; they fail because they start their optimization too far from the truth. A feature-based prior acts as a "warm start" that makes direct alignment viable in real-world, high-speed scenarios.
  • Stereo as a Scale Anchor: By moving from monocular to stereo, the authors bypass the complex "bootstrapping" phase required by monocular SLAM, allowing the robot to know its exact physical scale from the very first frame.
  • Hybridization for Efficiency: By restricting the heavy direct alignment to keyframes and using lightweight feature tracking for the "in-between" frames, the system maintains a high frame rate (30Hz) without sacrificing map density.

Key Results

  • Accuracy: On the KITTI dataset, the hybrid approach achieved a mean Absolute Trajectory Error (ATE) of 10.28m, significantly outperforming LIBVISO2 (32.54m) and ORB-SLAM (41.49m).
  • Robustness: In the EuRoC dataset, the system successfully tracked "difficult" sequences where pure direct methods like LSD-SLAM failed (denoted as 'X' in their results) due to aggressive rotations.
  • Speed: The tracking component runs in approximately 22-26ms, comfortably fitting within the requirements for real-time 30fps operation.
  • Mapping: Qualitatively, the system produced semi-dense maps where individual objects like cars and trees are clearly distinguishable, unlike the sparse point clouds of feature-only systems.

Limitations and Future Work

  • Optimization Bottleneck: While tracking is fast, the global map optimization (loop closing) remains the primary computational bottleneck as the map grows.
  • Lens Modeling: The authors noted that while they handle fish-eye distortion, a more sophisticated spherical projection model might further improve accuracy for ultra-wide-angle lenses.
  • Future Directions: The team plans to incorporate high-frequency Inertial Measurement Unit (IMU) data to create a "tightly coupled" visual-inertial system, which would provide even better motion priors during extremely fast maneuvers or in low-texture environments.

Summary updated

BibTeX
@inproceedings{krombach2018feature,
  author = {Nicola Krombach and David Droeschel and Sebastian Houben and Sven Behnke},
  title = {{Feature-based visual odometry prior for real-time semi-dense stereo SLAM}},
  booktitle = {Robotics Auton. Syst},
  year = {2018},
  url = {https://openreview.net/forum?id=h88lbbEcmDo},
}
Figure