Abstract
ELSD (Efficient Line Segment Detector and Descriptor) is a novel one-stage deep learning framework that simultaneously detects line segments and generates their descriptors in a single forward pass. By utilizing a compact "Center-Angle-Length" representation and a shared feature extractor, it achieves state-of-the-art accuracy while running at real-time speeds—reaching up to 107.5 FPS on a standard GPU. This unified approach addresses the computational redundancy and geometric inconsistencies found in traditional decoupled pipelines.
Introduction
Line segments are fundamental structural features in computer vision, crucial for tasks like SLAM (Simultaneous Localization and Mapping), Structure-from-Motion (SfM), and image matching in man-made environments. However, existing solutions face two major hurdles: efficiency versus accuracy trade-offs and decoupled pipelines. Traditional high-performance detectors are often slow "two-stage" models, while separate detection and description models waste computational resources and fail to leverage shared geometric context.
Methodology
ELSD introduces a unified architecture designed for both speed and precision. The framework is built upon several key innovations:
- Center-Angle-Length (CAL) Representation: Instead of predicting two independent endpoints, ELSD predicts the line's midpoint ($x_c, y_c$), its rotation angle ($\theta$), and its total length ($\rho$). This ensures center-symmetry and reduces the parameter space.
- Non-Centerness Suppression (NCS): To resolve ambiguity at line intersections, ELSD predicts a "centerness" map. By weighting midpoint confidence with this score, the model filters out fragmented detections.
- Joint Learning with Line Pooling: A shared backbone (e.g., ResNet34) extracts features for both tasks. The detection branch identifies lines, while the descriptor branch employs "Line Pooling" to extract fixed-length vectors for matching.
- Self-Supervised Training: The descriptor branch is trained without manual labels by using random homographies to create image pairs, forcing the model to learn viewpoint-invariant features.
Experimental Results
The authors evaluated ELSD on the Wireframe, YorkUrban, and ScanNet datasets. The results demonstrate a significant leap in both efficiency and accuracy compared to previous state-of-the-art (SOTA) methods.
- Detection Accuracy: On the Wireframe dataset, ELSD achieved a structural Average Precision ($sAP^{10}$) of 68.9, outperforming HAWP (66.5) and TP-LSD (57.2).
- Real-Time Performance: The "Ours-Lite" variant achieves 107.5 FPS on an NVIDIA RTX 2080Ti, making it suitable for high-speed robotics applications.
- Matching Performance: In line matching tasks on ScanNet, ELSD's learned descriptors significantly outperformed traditional hand-crafted descriptors (LBD), particularly in recall (77.1% vs. 63.8%).
Discussion and Conclusion
ELSD demonstrates that training detection and description together creates a synergy where the descriptor branch helps the detector learn more robust features. While the model faces challenges with heatmap sensitivity for angle predictions and potential downsampling errors for very dense lines, its efficiency makes it a prime candidate for integration into real-time SLAM systems for robots and AR/VR devices. By focusing on midpoint and angle rather than independent endpoints, ELSD provides a more geometrically sound and computationally efficient path forward for structural feature extraction.
Summary updated