PL-SLAM: A Stereo SLAM System Through the Combination of Points and Line Segments

Ruben Gomez-Ojeda, Francisco Angel Moreno, David Zuñiga-Noël, Davide Scaramuzza, Javier González JiménezIEEE Trans. Robotics 2017

Abstract

PL-SLAM is a robust stereo visual SLAM system that integrates line segments alongside traditional point features. By leveraging the structural information inherent in human-made environments, PL-SLAM overcomes the limitations of point-based systems in low-texture areas like corridors. The system employs a three-threaded architecture—Visual Odometry, Local Mapping, and Loop Closing—optimized for both feature types, resulting in superior tracking, mapping, and place recognition.

Introduction

Most state-of-the-art visual SLAM systems, such as ORB-SLAM, rely almost exclusively on point features like corners or blobs. While effective in highly textured environments, these systems often fail in "textureless" areas—such as plain corridors or minimalist rooms—where reliable points are scarce. However, these environments are typically rich in structural line segments (e.g., wall edges, door frames). PL-SLAM addresses this gap by seamlessly combining points and lines to maintain robust localization and create more meaningful maps.

System Architecture and Methods

The PL-SLAM framework is organized into three concurrent threads, as illustrated in the system architecture.

The PL-SLAM architecture consists of three main components: Stereo Visual Odometry, Local Mapping, and Loop Closing.

1. Visual Odometry (VO)

The system extracts ORB features for points and utilizes the Line Segment Detector (LSD) for lines. These features are tracked across frames to provide a continuous estimate of the camera's motion.

2. Local Mapping and Bundle Adjustment

The core of the mapping process involves a novel cost function for Bundle Adjustment (BA) that incorporates both points and lines. To handle the "unstable endpoint" problem—where the detected ends of a line segment fluctuate—the authors minimize the distance between projected 3D endpoints and the infinite 2D line observed in the image. This approach ensures the optimization remains resilient to occlusions or detection noise.

3. Loop Closure

To recognize previously visited locations, PL-SLAM extends the Bag-of-Binary-Words (BoW) approach. It maintains separate visual vocabularies for points and lines (using LBD descriptors). A novel weighting scheme combines these based on feature quantity and "dispersion" (spatial spread across the image), significantly reducing false positives in place recognition.

Key Insights

  • Complementary Features: Points provide constraints in all directions in high-texture areas, while lines offer strong structural constraints in sparse environments.
  • Endpoint Invariance: Treating observations as infinite lines during optimization mitigates the instability of detected segment endpoints.
  • Dispersion-Based Weighting: Recognizing that features spread across an image are more informative than clusters, the system weights dispersed features more heavily during loop closure queries.

Experimental Results

The system was evaluated on standard benchmarks (KITTI, EuRoC MAV) and custom low-texture sequences.

Robustness and Accuracy

In scenarios where point-only systems failed completely due to lack of texture, PL-SLAM maintained accurate tracking. On the KITTI dataset, it generally outperformed ORB-SLAM2, particularly in rotation estimation. Despite the added complexity of line detection, the system achieves real-time performance, with the VO thread processing frames in 40-66ms.

Structural Mapping

Unlike traditional point clouds, which can appear as disorganized "star fields," the maps produced by PL-SLAM resemble wireframe models. This structural representation is far more useful for high-level robotic tasks such as path planning or object recognition.

A wireframe map generated by PL-SLAM, showcasing the structural constraints provided by line segments in addition to point landmarks.

Conclusion and Future Work

PL-SLAM demonstrates that integrating line segments significantly enhances the robustness of visual SLAM in human-made environments. While line detection adds computational load, the benefits in tracking stability and map utility are substantial. Future work may involve moving toward "semi-direct" methods to reduce front-end overhead and using the extracted segments to automatically infer higher-level geometric primitives like planes and walls.

Summary updated

BibTeX
@article{gomezojeda2017pl,
  author = {Ruben Gomez-Ojeda and Francisco Angel Moreno and David Zuñiga-Noël and Davide Scaramuzza and Javier González Jiménez},
  title = {{PL-SLAM: A Stereo SLAM System Through the Combination of Points and Line Segments}},
  journal = {IEEE Trans. Robotics},
  year = {2017},
  doi = {10.1109/tro.2019.2899783},
}
Figure