# TP-LSD: Tri-Points Based Line Segment Detector

arXiv: https://arxiv.org/abs/2009.05505 · HTML: https://mlsanity.com/paper/2009.05505/

## Key facts

- Cited by 31 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 11 Sep 2020.

## Built on by (most cited first, 30 of 31)

- [DeepLSD: Line Segment Detection and Refinement with Deep Image Gradients](https://mlsanity.com/paper/2212.07766/) (2022)
- [SOLD2: Self-supervised Occlusion-aware Line Description and Detection](https://mlsanity.com/paper/2104.03362/) (2021)
- [3D Line Mapping Revisited](https://mlsanity.com/paper/2303.17504/) (2023)
- [Towards Light-weight and Real-time Line Segment Detection](https://mlsanity.com/paper/2106.00186/) (2021)
- [Robust Incremental Structure-from-Motion with Hybrid Features](https://mlsanity.com/paper/2409.19811/) (2024)
- [Holistically-Attracted Wireframe Parsing: From Supervised to Self-Supervised Learning](https://mlsanity.com/paper/2210.12971/) (2022)
- [Fully Convolutional Line Parsing](https://mlsanity.com/paper/2104.11207/) (2021)
- [Sketch and Patch: Efficient 3D Gaussian Representation for Man-Made Scenes](https://mlsanity.com/paper/2501.13045/) (2025)
- [ELSD: Efficient Line Segment Detector and Descriptor](https://mlsanity.com/paper/2104.14205/) (2021)
- [Pose Refinement with Joint Optimization of Visual Points and Lines](https://mlsanity.com/paper/2110.03940/) (2021)
- [LSDNet: Trainable Modification of LSD Algorithm for Real-Time Line Segment Detection](https://mlsanity.com/paper/2209.04642/) (2022)
- [EdgeGaussians -- 3D Edge Mapping via Gaussian Splatting](https://mlsanity.com/paper/2409.12886/) (2024)
- [Learning to Construct 3D Building Wireframes from 3D Line Clouds](https://mlsanity.com/paper/2208.11948/) (2022)
- [A Comprehensive Review of Image Line Segment Detection and Description: Taxonomies, Comparisons, and Challenges](https://mlsanity.com/paper/2305.00264/) (2023)
- [ScaleLSD: Scalable Deep Line Segment Detection Streamlined](https://mlsanity.com/paper/2506.09369/) (2025)
- [SuperLine3D: Self-supervised Line Segmentation and Description for LiDAR Point Cloud](https://mlsanity.com/paper/2208.01925/) (2022)
- [Synthesizing Realistic Data for Table Recognition](https://mlsanity.com/paper/2404.11100/) (2024)
- [LineGS : 3D Line Segment Representation on 3D Gaussian Splatting](https://mlsanity.com/paper/2412.00477/) (2024)
- [Sparse Optical Flow-Based Line Feature Tracking](https://mlsanity.com/paper/2204.03331/) (2022)
- [EVOLIN Benchmark: Evaluation of Line Detection and Association](https://mlsanity.com/paper/2303.05162/) (2023)
- [Improving Transformer Based Line Segment Detection with Matched Predicting and Re-ranking](https://mlsanity.com/paper/2502.17766/) (2025)
- [Sketch&Patch++: Efficient Structure-Aware 3D Gaussian Representation](https://mlsanity.com/paper/2601.05394/) (2026)
- [Interacted Planes Reveal 3D Line Mapping](https://mlsanity.com/paper/2602.01296/) (2026)
- [MiLSD: A Micro Line-Segment Detector for Resource-Constrained Devices](https://mlsanity.com/paper/2607.06600/) (2026)
- [Staircase Localization for Autonomous Exploration in Urban Environments](https://mlsanity.com/paper/2403.17330/) (2024)
- [Linear Anchored Gaussian Mixture Model for Location and Width Computations of Objects in Thick Line Shape](https://mlsanity.com/paper/2404.03043/) (2024)
- [LapisGS: Layered Progressive 3D Gaussian Splatting for Adaptive Streaming](https://mlsanity.com/paper/2408.14823/) (2024)
- [The Impact of Semi-Supervised Learning on Line Segment Detection](https://mlsanity.com/paper/2411.04596/) (2024)
- [Adaptive Dual-Constrained Line Aggregation for Cross-Paradigm Line Segment Detection](https://mlsanity.com/paper/2508.19742/) (2025)
- [Unified and Efficient Point-Line Local Features](https://mlsanity.com/paper/2608.19894/) (2026)

## Abstract (arXiv)

This paper proposes a novel deep convolutional model, Tri-Points Based Line Segment Detector (TP-LSD), to detect line segments in an image at real-time speed. The previous related methods typically use the two-step strategy, relying on either heuristic post-process or extra classifier. To realize one-step detection with a faster and more compact model, we introduce the tri-points representation, converting the line segment detection to the end-to-end prediction of a root-point and two endpoints for each line segment. TP-LSD has two branches: tri-points extraction branch and line segmentation branch. The former predicts the heat map of root-points and the two displacement maps of endpoints. The latter segments the pixels on straight lines out from background. Moreover, the line segmentation map is reused in the first branch as structural prior. We propose an additional novel evaluation metric and evaluate our method on Wireframe and YorkUrban datasets, demonstrating not only the competitive accuracy compared to the most recent methods, but also the real-time run speed up to 78 FPS with the 320× 320 input.
