Lune

CVPR2023Top-tier venue

DeepLSD: Line Segment Detection and Refinement with Deep Image Gradients

Rémi Pautrat, Daniel Barath, Viktor Larsson, Martin R. Oswald, Marc Pollefeys

Abstract

Line segments are ubiquitous in our human-made world and are increasingly used in vision tasks. They are complementary to feature points thanks to their spatial extent and the structural information they provide. Traditional line detectors based on the image gradient are extremely fast and accurate, but lack robustness in noisy images and challenging conditions. Their learned counterparts are more repeatable and can handle challenging images, but at the cost of a lower accuracy and a bias towards wireframe lines. We propose to combine traditional and learned approaches to get the best of both worlds: an accurate and robust line detector that can be trained in the wild without ground truth lines. Our new line segment detector, DeepLSD, processes images with a deep network to generate a line attraction field, before converting it to a surrogate image gradient magnitude and angle, which is then fed to any existing handcrafted line detector. Additionally, we propose a new optimization tool to refine line segments based on the attraction field and vanishing points. This refinement improves the accuracy of current deep detectors by a large margin. We demonstrate the performance of our method on low-level line detection metrics, as well as on several downstream tasks using multiple challenging datasets. The source code and models are available at https://github.com/cvg/DeepLSD .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ELSD: Efficient Line Segment Detector and Descriptor cites End-to-End Wireframe Parsing
  • GlueStick: Robust Image Matching by Sticking Points and Lines Together cites End-to-End Wireframe Parsing
  • LoD-Loc: Aerial Visual Localization using LoD 3D Map with Neural Wireframe Alignment cites GlueStick: Robust Image Matching by Sticking Points and Lines Together
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. GlueStick: Robust Image Matching by Sticking Points and Lines TogetherRémi Pautrat, Iago Suárez, Yifan Yu, Marc Pollefeys et al.ICCV 2023 · 108 citations
  2. Shadows Don't Lie and Lines Can't Bend! Generative Models Don't know Projective Geometry...for NowAyush Sarkar, Hanlin Mai, Amitabh Mahapatra, Svetlana Lazebnik et al.CVPR 2024 · 22 citations
  3. LoD-Loc: Aerial Visual Localization using LoD 3D Map with Neural Wireframe AlignmentJuelin Zhu, Shen Yan, Long Wang, Shengyue Zhang et al.NeurIPS 2024 · 17 citations
  4. PARSAC: Accelerating Robust Multi-Model Fitting with Parallel Sample ConsensusFlorian Kluger, Bodo RosenhahnAAAI 2024 · 11 citations
  5. AnyCalib: On-Manifold Learning for Model-Agnostic Single-View Camera CalibrationJavier Tirado-Garín, Javier CiveraICCV 2025 · 9 citations

Builds on13

  1. Hypersim: A Photorealistic Synthetic Dataset for Holistic Indoor Scene UnderstandingMike Roberts, Jason Ramapuram, Anurag Ranjan, Atulit Kumar et al.ICCV 2021 · 633 citations
  2. Pixel-Perfect Structure-from-Motion with Featuremetric RefinementPhilipp Lindenberger, Paul-Edouard Sarlin, Viktor Larsson, Marc PollefeysICCV 2021 · 266 citations
  3. End-to-End Wireframe ParsingYichao Zhou, Haozhi Qi, Yi MaICCV 2019 · 190 citations
  4. Progressive-X: Efficient, Anytime, Multi-Model Fitting AlgorithmDániel Baráth, Jiri MatasICCV 2019 · 76 citations
  5. ELSD: Efficient Line Segment Detector and DescriptorHaotian Zhang, Yicheng Luo, Fangbo Qin, Yijia He et al.ICCV 2021 · 32 citations

Related papers

  1. SOLD2: Self-Supervised Occlusion-Aware Line Description and DetectionRémi Pautrat, Juan-Ting Lin, Viktor Larsson, Martin R. Oswald et al.CVPR 2021
  2. ScaleLSD: Scalable Deep Line Segment Detection StreamlinedZeran Ke, Bin Tan, Xianwei Zheng, Yujun Shen et al.CVPR 2025
  3. Towards Light-Weight and Real-Time Line Segment DetectionGeonmo Gu, ByungSoo Ko, SeoungHyun Go, Sung-Hyun Lee et al.AAAI 2022 · 94 citations
  4. Semantic Line Combination DetectorJinwon Ko, Dongkwon Jin, Chang-Su KimCVPR 2024
  5. Promoting Saliency From Depth: Deep Unsupervised RGB-D Saliency DetectionWei Ji, Jingjing Li, Qi Bi, Chuan Guo et al.ICLR 2022 · 46 citations
Dusk over the sea between two cliffs drawn in fine vertical lines