TL;DR
LiP-Map (Line-Plane Joint Optimization) is a novel matching-free 3D line mapping framework that treats 3D lines as the natural boundaries of learnable 3D planar patches. By jointly optimizing 3D planes and line segments, it bypasses the notoriously difficult problem of cross-view 2D line matching, delivering highly accurate and complete 3D wireframe maps of indoor environments in just 3 to 5 minutes per scene.
What Problem Does This Paper Address?
While 3D point cloud reconstruction has matured significantly, 3D line mapping remains a major bottleneck in computer vision. Lines provide clean, lightweight, and structurally meaningful representations of man-made environments, making them ideal for robotics and visual localization. However, unlike points, lines lack highly distinctive local descriptors, making them incredibly difficult to match accurately across different camera viewpoints.
Existing methods typically try to track 2D lines across views or project detected 2D lines onto an independently reconstructed 3D surface using depth maps. As shown in the top rows of Figure 1, this naive projection frequently fails: view-dependent parallax causes a single 2D line to splinter into multiple depth layers, and noisy depth maps introduce spurious, messy structural lines.
Methods
LiP-Map introduces a matching-free approach by exploiting the physical and topological synergy between surfaces and edges: in man-made environments, a 3D line is almost always the edge of a 3D planar patch.
The pipeline consists of three core phases:
- Planar Surface Parameterization: Borrowing from recent advances in 3D Gaussian Splatting (specifically PlanarSplatting), the scene is initialized as a collection of 3D rectangular planes. Each plane $\pi$ is defined by learnable parameters: a center $\mathbf{p}_\pi$, a rotation quaternion $\mathbf{q}_\pi$, and four radii representing its spatial extent.
- 2D Line to 3D Plane Edge Assignment: Instead of matching 2D lines across images, LiP-Map associates 2D line detections with the boundaries of these 3D planes. For every pixel near a detected 2D line, a ray is cast to find the nearest intersecting 3D plane. The four edges of this plane are projected back into 2D and filtered by angle and distance to find the best "line-edge" match.
- Joint Optimization: The framework optimizes both the planes and their line-edges simultaneously using a hybrid loss function:
- 3D Surface Loss ($\mathcal{L}_\Pi$): Ensures the planes align with monocular depth and normal map priors.
- 2D Alignment Loss ($\mathcal{L}_{2d}$): Minimizes the distance and angular error between the projected 3D plane edges and the detected 2D lines.
- 3D Group Loss ($\mathcal{L}_{group}$): Forces different 3D line segments associated with the same 2D detection to remain close in 3D space.
Datasets
The authors evaluated LiP-Map across more than 100 diverse scenes from five widely recognized public datasets:
- ScanNetV2 & ScanNet++: Large-scale real-world indoor environments with posed video sequences.
- Hypersim: A photorealistic synthetic dataset providing perfect ground-truth depth and normal maps.
- 7Scenes: Used primarily to evaluate the practical benefits of the reconstructed line maps for camera relocalization.
- Tanks & Temples: Used to test the model's generalization capabilities on complex, non-planar structures.
Key Insights and Ideas
- Lines and Planes are Two Sides of the Same Coin: Traditional methods treat surface reconstruction and line mapping as separate tasks. LiP-Map shows that tying them together topologically regularizes both problems.
- Bypassing the Matching Bottleneck: By routing the association through 3D space (matching 2D lines to 3D plane edges), the method completely eliminates the need for error-prone cross-view 2D line matching descriptors.
- The "Error-Averaging" Power of Planes: Because a 3D plane spans a large area, optimizing its parameters effectively "averages out" the high-frequency noise inherent in monocular depth estimators. This allows LiP-Map to construct clean 3D lines even when the underlying depth maps are imperfect.
Key Results
- State-of-the-Art Accuracy & Completeness: Across ScanNetV2, ScanNet++, and Hypersim, LiP-Map consistently outperformed top baselines like LIMAP and CLMAP. It achieved significantly lower completeness errors while maintaining highly competitive precision.
- Blazing Fast Speed: Thanks to its differentiable rasterization backbone, LiP-Map completes a full scene reconstruction in 3 to 5 minutes, a massive speedup compared to neural implicit field methods that take hours.
- Downstream Localization Boost: When integrated into a standard point-based visual localization pipeline (like HLoc) on the challenging Stairs scene from 7Scenes, the structural 3D lines provided by LiP-Map significantly reduced camera pose estimation errors, proving its utility for real-world robotics.
Limitations and Future Work
While highly effective for man-made indoor environments, LiP-Map has two notable limitations:
- Dependence on 2D Detectors: If the initial 2D line detector misses an edge or produces fragmented segments, LiP-Map can inherit these errors, occasionally creating duplicate or omitted 3D lines.
- Struggles with Organic/Non-Planar Geometry: The plane-based representation is inherently tailored for architectural structures. While it can approximate curved objects (like round tables or sculptures) by tiling them with a dense cluster of small planes, the resulting wireframes are less clean and violate the principle of geometric parsimony.
Future work will likely explore extending the primitive vocabulary beyond flat rectangles to better handle curved surfaces.
Summary updated