EdgeGaussians - 3D Edge Mapping via Gaussian Splatting

Kunal Chelani, Assia Benbihi, Torsten Sattler, Fredrik Kahl

Introduction

3D edges, encompassing both straight lines and curves, serve as fundamental primitives for various computer vision tasks, including SLAM, robotic mapping, and surface reconstruction. Reconstructing these features accurately from 2D images remains a significant challenge. Traditional approaches often rely on Structure-from-Motion (SfM), which involves detecting and matching 2D lines across frames—a process prone to error due to the lack of repeatability in edge detectors and the difficulty of matching thin lines across viewpoints.

Recent neural implicit field methods, such as NEF or EMAP, offer more robustness by learning a continuous 3D distance field. However, these methods are computationally intensive, often requiring hours for training, and their precision is limited by the voxel-grid-based "sample-and-refine" step. EdgeGaussians introduces an explicit representation that leverages the speed of 3D Gaussian Splatting (3DGS) while specializing in the sparse, geometric nature of edges.

Methodology

EdgeGaussians adapts the 3D Gaussian Splatting framework—originally designed for photorealistic view synthesis—to reconstruct 3D wireframes. The pipeline transitions from multi-view 2D edge maps to a parametric 3D edge model.

Overview of the EdgeGaussians pipeline, from multi-view edge images to parametric edge extraction.

The core methodology involves three primary stages:

  1. Edge-Specialized 3DGS: The model is supervised using 2D edge maps generated by off-the-shelf detectors like PiDiNet or DexiNed, rather than standard RGB images.
  2. Geometric Regularization: To ensure Gaussians accurately represent edges, two specific loss functions are introduced:
  3. Orientation Loss ($\mathcal{L}_{orient}$): Aligns the principal axis of each Gaussian with its $k$-nearest neighbors, ensuring consistent directionality along an edge.
  4. Shape Loss ($\mathcal{L}_{shape}$): Constrains Gaussians into elongated, needle-like ellipsoids, making the edge direction mathematically well-defined.
  5. Cluster-then-Fit Pipeline: Trained Gaussians are clustered using a graph traversal algorithm based on spatial proximity and orientation consistency. The system then fits either straight line segments or cubic Bezier curves to these clusters based on residual error minimization.

Experiments and Results

The framework was evaluated on several benchmarks, including the ABC-NEF dataset (CAD models), the DTU dataset (real-world objects), and complex scenes from Replica and Tanks and Temples.

Qualitative comparison of EdgeGaussians against EMAP and NEF methods on various CAD objects.

Performance Metrics

  • Computational Efficiency: EdgeGaussians achieves a massive speedup over implicit methods. On the ABC-NEF dataset, it trains in approximately 5 minutes, compared to 2.5 hours for NEF. On the DTU dataset, the gap is even more pronounced, with EdgeGaussians requiring 5 minutes versus 12 hours for EMAP.
  • Accuracy: The method performs at-par or better than state-of-the-art implicit models. It achieved the highest recall and F1-scores at 10mm and 20mm error thresholds on the ABC-NEF benchmark.
  • Reconstruction Quality: Visual analysis demonstrates that EdgeGaussians produces cleaner wireframes with significantly fewer artifacts, such as duplicate edges or "knots" at junctions, which are common in previous neural field approaches.

Conclusion and Future Work

EdgeGaussians demonstrates that explicit 3D Gaussian representations can effectively bridge the gap between speed and accuracy in 3D edge mapping. By moving away from volumetric sampling, the method achieves real-time-capable training speeds.

However, limitations remain. The precision of the 3D reconstruction is currently bounded by the quality of the 2D edge detectors used for supervision. Future work may involve incorporating structural priors—such as the assumption that edges should be continuous and long—to improve robustness in complex scenes with high-frequency textures.

Summary updated

BibTeX
@inproceedings{chelani2025edgegaussians,
  author = {Kunal Chelani and Assia Benbihi and Torsten Sattler and Fredrik Kahl},
  title = {{EdgeGaussians - 3D Edge Mapping via Gaussian Splatting}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2025},
  doi = {10.1109/wacv61041.2025.00323},
}
Figure