A Probabilistic Feature Map-Based Localization System Using a Monocular Camera

Hyungjin Kim, Donghwa Lee, Taekjun Oh, Hyun-Taek Choi, Hyun Myung2015

TL;DR

This paper introduces a novel image-based localization system for monocular cameras that excels in environments with insufficient or uncertain features. By employing a probabilistic feature map that models sensor uncertainties and camera pose variations, the system achieves more accurate localization by minimizing Mahalanobis distance errors, outperforming conventional methods in both simulations and real-world experiments.

What Problem Does This Paper Address?

Accurate localization is crucial for robots and autonomous systems to navigate and interact with their environment. Image-based localization, which uses cameras to determine a system's position, is a popular approach, especially with the abundance of image data available online. However, existing methods often struggle in scenarios where visual features are scarce or unreliable, a common challenge in real-world applications. Many current techniques rely on highly accurate 3D maps and don't explicitly account for the inherent uncertainties in feature locations or camera poses, leading to reduced accuracy when these conditions are not met. This paper aims to bridge this gap by proposing a localization system that is robust to feature uncertainty and can operate effectively even with limited visual information.

Methods

The core of this work lies in the creation and utilization of a probabilistic feature map. Unlike traditional maps that store precise feature locations, this map represents each feature as a Gaussian distribution, capturing its position and associated uncertainty (covariance). This probabilistic representation is built by modeling the sensor system (e.g., stereo vision) and the uncertainties in camera poses.

The localization process involves two main stages:

  1. Initial Pose Estimation: The system first uses a conventional Perspective-n-Point (PnP) algorithm to estimate an initial camera pose. This is achieved by finding 3D-to-2D correspondences between the query image and the probabilistic feature map.
  2. Pose Optimization: The initial pose is then refined by minimizing the Mahalanobis distance between the projected probabilistic features from the map and the features extracted from the query image. The Mahalanobis distance is chosen because it accounts for the covariance (uncertainty) of the features, making it more robust than simple Euclidean distance in uncertain environments. This optimization is performed on the 2D image plane.

The paper details the mathematical framework for converting between Cartesian and spherical coordinate systems, propagating uncertainties through Jacobian transformations, and merging Gaussian distributions to construct the probabilistic map.

Datasets

The paper does not introduce new datasets. Instead, it uses:

  • Simulated data: A virtual 3D environment was created with features having Gaussian distributions and random covariances. A circular trajectory was used to simulate robot movement.
  • Real-world data: Experiments were conducted in both indoor and outdoor environments. The indoor experiment used a mobile robot with a stereo vision system, and ground truth was provided by a ceiling-mounted camera. The outdoor experiment utilized a similar robot setup augmented with RTK-GPS and an IMU for precise ground truth.

Key Insights and Ideas

  • Probabilistic Feature Maps are Key: Representing features not as single points but as probability distributions (Gaussian) is crucial for handling uncertainty in real-world environments. This allows the system to gracefully degrade in performance rather than fail completely when features are imprecise.
  • Mahalanobis Distance for Robustness: Using the Mahalanobis distance for optimization, which inherently considers feature covariances, significantly improves localization accuracy compared to methods that rely solely on Euclidean distance, especially when dealing with uncertain features.
  • Leveraging Sensor Modeling: Explicitly modeling the uncertainties of the sensor system and camera poses during map generation provides a more realistic and robust representation of the environment.
  • PnP as a Strong Initializer: The conventional PnP algorithm, despite its limitations with uncertain features, serves as an effective starting point for the more sophisticated probabilistic optimization.

Key Results

The proposed probabilistic feature map-based localization system demonstrated superior performance compared to conventional PnP methods (P3P and OPnP) in both simulated and real-world experiments.

  • Simulation: The proposed method achieved significantly lower mean and standard deviation errors across all 6 degrees of freedom (DoF) for translation (x, y, z) and rotation (roll, pitch, yaw). For instance, the mean error for 'x' was reduced from 0.634m (P3P) to 0.292m, and for 'yaw' from 1.070 deg (P3P) to 0.493 deg.
  • Indoor Experiment: Similar improvements were observed, with notable reductions in mean errors for x, y, and yaw. The p-value from a paired t-Test confirmed the statistical superiority of the proposed method.
  • Outdoor Experiment: While improvements were seen, particularly for x, y, and yaw, the z and roll accuracies did not show significant gains, attributed to the flat ground assumption of the experiment.

The average computation time for the proposed algorithm was around 100ms per frame, which is higher than conventional PnP (less than 5ms) due to the complex nonlinear optimization.

Limitations and Future Work

  • Computational Cost: The proposed algorithm is computationally more intensive than conventional PnP methods due to the complex nonlinear optimization involved. The authors acknowledge this and suggest research into linearization methods and faster feature management for real-time operation.
  • Flat Ground Assumption: In the outdoor experiment, the z and roll accuracies were not significantly improved, likely because the robot was assumed to move on a flat ground, limiting the variation in these pose parameters.
  • Future Work: The authors suggest applying the proposed algorithm to larger datasets and more diverse environments. Further research into simplifying the optimization process for real-time applications is also highlighted.

Summary updated

BibTeX
@misc{kim2015probabilistic,
  author = {Hyungjin Kim and Donghwa Lee and Taekjun Oh and Hyun-Taek Choi and Hyun Myung},
  title = {{A Probabilistic Feature Map-Based Localization System Using a Monocular Camera}},
  year = {2015},
  doi = {10.3390/s150921636},
}
Figure