Abstract
AirLine is a hybrid line segment detector designed to bridge the gap between the robustness of deep learning and the computational efficiency of traditional geometric algorithms. By shifting the detection paradigm from identifying discrete endpoints to a learnable edge-based approach, AirLine achieves state-of-the-art accuracy while operating 3x to 80x faster than existing learnable models. This performance profile makes it a viable solution for real-time robotics applications, including navigation and mapping in complex environments.
Introduction
For autonomous robots, structural lines—such as walls, doorframes, and ceilings—are critical landmarks for Simultaneous Localization and Mapping (SLAM). Current line detection solutions generally fall into two categories, each with significant drawbacks. Traditional methods, like the Line Segment Detector (LSD), are computationally efficient but often fail in environments with poor lighting or complex textures due to their reliance on hand-crafted gradients. Conversely, modern learning-based methods (e.g., LCNN, LETR) offer high robustness by using deep neural networks to detect and connect line endpoints. However, these models are computationally expensive and can fail if endpoints are occluded.
AirLine addresses this gap by proposing a learnable, edge-based detector that remains efficient and stable by focusing on the structural continuity of edges rather than the fragility of endpoints.
Methodology
AirLine utilizes a four-stage hybrid pipeline that strategically balances neural network "intuition" with mathematical precision to optimize both speed and accuracy.
- Edge Detection (Learnable): A U-Net architecture is employed to predict a binary edge map. Unlike traditional gradient-based methods, this network is trained to distinguish meaningful structural lines from textural noise.
- Orientation Detection (Hand-crafted): To maintain efficiency, the system uses a simple convolutional layer with six fixed kernels representing orientations at 30° intervals. This identifies the local "flow" of every detected edge pixel without the overhead of a deep network.
- Conditional Region-grow (CRG): This algorithm groups adjacent pixels into segments based on orientation similarity. This step is crucial for preventing "bleeding" where lines might otherwise merge at sharp corners.
- Line Parameterization (Local Edge Voting): The final stage uses grouped pixels to "vote" on line properties, calculating the center of mass, tangent vectors, and final endpoints through geometric refinement.
Experimental Evaluation
The researchers evaluated AirLine across three distinct datasets to test its versatility:
- Wireframe Dataset: The standard benchmark for indoor line detection.
- YorkUrban Dataset: Used to evaluate the model's ability to generalize to unseen urban environments.
- OIVIO Dataset: A challenging set featuring subterranean, low-texture environments with dynamic lighting (e.g., tunnels), simulating robotic search-and-rescue scenarios.
The Line Precision ($LP_r$) Metric
The authors argue that standard evaluation metrics like structural Average Precision ($sAP$) are often too punitive regarding endpoint placement, even when the line's orientation is correct. They propose $LP_r$, which measures how well a detected line covers ground-truth pixels—a metric more relevant for robotic alignment tasks.
Results and Discussion
AirLine demonstrates a significant leap in performance efficiency. While the popular LCNN model operates at approximately 0.9 FPS, AirLine achieves 24.3 FPS, representing a speedup of up to 80x over competing learnable methods.
Beyond speed, AirLine maintains competitive accuracy on the Wireframe dataset. Its edge-based approach proves particularly robust to lighting variations; in live demonstrations, the system remained stable during transitions from extreme overexposure to near-total darkness, conditions where traditional hand-crafted methods typically fail.
Conclusion
AirLine successfully combines the strengths of deep learning and geometric processing. By focusing on edge stability rather than endpoint detection, it provides a robust, real-time solution for structural perception. Future work will focus on refining the similarity thresholds for complex scenes, adapting the voting scheme to handle curved architectural features, and integrating the detector into full-scale SLAM systems for active robotic navigation.
Summary updated