3D line mapping from multi-view RGB images provides a compact and structured visual representation of scenes. We study the problem from a physical and topological perspective: a 3D line most naturally emerges as the edge of a finite 3D planar patch. We present LiP-Map, a line-plane joint optimization framework that explicitly models learnable line and planar primitives. This coupling enables accurate and detailed 3D line mapping while maintaining strong efficiency (typically completing a reconstruction in 3 to 5 minutes per scene). LiP-Map pioneers the integration of planar topology into 3D line mapping, not by imposing pairwise coplanarity constraints but by explicitly constructing interactions between plane and line primitives, thus offering a principled route toward structured reconstruction in man-made environments. On more than 100 scenes from ScanNetV2, ScanNet++, Hypersim, 7Scenes, and Tanks&Temple, LiP-Map improves both accuracy and completeness over state-of-the-art methods. Beyond line mapping quality, LiP-Map significantly advances line-assisted visual localization, establishing strong performance on 7Scenes.
The 3D lines align closely with physical surface boundaries, highlighting the strong correlation between the two structures.
Representation of the 3D rectangular plane with learnable shape parameters.
Our approach leverages the geometric synergy between line segments and the edges of 3D planar primitives. By applying any existing 2D line segment detector to multi-view input images, a set of 3D planes is optimized with two key learning objectives:
Detected 2D lines and corresponding 1-pixel regions.
Illustration of 2D line to 3D plane edge assignment. The best candidate of the ''line-edge'' is filtered from the perspective of angle and distance.
Illustration of the assignment and optimization process from one view. Red: rays. Blue: planar primitives. Black: planar edges. Top left: the association of rays and planar primitives. Top right: the selected planar primitives. Bottom left: the selected planar edges. Bottom right: the optimized planar edges.
This work was supported by Ant Group Research Intern Program and Ant Group Postdoctoral Program.