Fast Loop Closure Detection via Binary Content

Han Wang, Juncheng Li, Maopeng Ran, Lihua Xie · DOI

Abstract

Loop closure detection (LCD) is a critical component in Simultaneous Localization and Mapping (SLAM), responsible for correcting localization drift by identifying previously visited locations. While traditional feature-based methods offer high accuracy, they often demand significant computational resources. This paper presents a novel framework that leverages compressed binary images to represent the macro-level geometric distribution of objects in a scene. By utilizing a coarse-to-fine approach, the proposed method achieves significant speedups—up to 9x over traditional methods—without sacrificing recall or precision.

Introduction

In visual SLAM, a robot's estimated trajectory inevitably accumulates error over time. Loop closure detection mitigates this by recognizing repetitive scenes in historical data, allowing the system to reset localization and maintain map consistency. Conventional LCD methods typically rely on matching high-dimensional visual features (e.g., SURF, SIFT) or utilizing Bag-of-Visual-Words (BoW) models. However, these approaches often ignore the broader spatial patterns of an image, such as object shapes and their distributions, which are often unique to a specific scene. Furthermore, the computational overhead of querying large databases of feature descriptors can be prohibitive for real-time applications on low-power mobile robots.

Methodology

The proposed system architecture consists of three primary stages: binary content construction, fast image retrieval, and precise loop closure detection. Notably, the framework requires no offline training, making it highly adaptable to diverse environments.

The proposed three-stage framework for loop closure detection.

1. Binary Content Construction

The process begins by identifying "salient regions"—areas of high texture or distinct objects—within a new frame using the Log spectral residual method. This technique identifies unique visual information without prior knowledge of the environment. These regions are then thresholded and refined into a highly compressed binary image. This binary map captures the macro-level geometric structure of the scene while discarding redundant pixel data.

An example of the extracted binary content representing the spatial distribution of salient objects.

2. Fast Image Retrieval

To search the historical database efficiently, the system performs a coarse filter by comparing the current frame's binary map against stored maps. This comparison uses fast bitwise logical operations. Since similar scenes share similar distributions of salient regions, this step rapidly discards the vast majority of non-matching candidates, significantly reducing the search space for the subsequent expensive matching phase.

3. Precise Loop Closure Detection

For the small subset of candidate pairs identified in the retrieval stage, the system performs a fine-grained verification. SURF feature descriptors are extracted and matched to confirm the loop closure. This two-stage "coarse-to-fine" pipeline ensures that computationally intensive feature matching is only performed when there is a high likelihood of a match, maintaining high precision.

Experimental Results

The method was evaluated on standard datasets, including KITTI (sequences 00, 02, 05), New College, and City Center, using an Intel NUC mini-computer to simulate a typical robotics payload.

Performance and Speed

The proposed method demonstrated substantial computational efficiency. On KITTI Sequence 00, the system processed frames in an average of 130 ms, compared to 460 ms for DBoW2 and 1124 ms for FAB-MAP. This allows the system to operate at approximately 10 Hz, suitable for real-time robotics.

Accuracy

Despite the focus on speed, the method maintained superior accuracy. It achieved 100% precision across the KITTI sequences, effectively eliminating false positives that could corrupt a SLAM map. In terms of recall, the method outperformed baselines; for instance, on KITTI Sequence 05, it reached a 62.5% recall rate, surpassing DBoW2 (54.0%) and FAB-MAP (35.3%).

Conclusion

By prioritizing the macro-level geometric distribution of objects over individual feature points for initial filtering, this research provides a highly efficient path for loop closure detection. The binary content approach offers a training-free, CPU-friendly alternative to traditional and deep-learning-based methods, proving that structural heuristics can significantly optimize complex SLAM pipelines.

Summary updated

BibTeX
@inproceedings{wang2019fast,
  author = {Han Wang and Juncheng Li and Maopeng Ran and Lihua Xie},
  title = {{Fast Loop Closure Detection via Binary Content}},
  booktitle = {ICCA},
  year = {2019},
  url = {https://openreview.net/forum?id=jUiR6QsA4X},
}
Figure