Abstract
We present a method to jointly refine the geometry and semantic segmentation of 3D surface meshes. Our method alternates between updating the shape and the semantic labels. In the geometry refinement step, the mesh is deformed with variational energy minimization, such that it simultaneously maximizes photo-consistency and the compatibility of the semantic segmentations across a set of calibrated images. Label-specific shape priors account for interactions between the geometry and the semantic labels in 3D. In the semantic segmentation step, the labels on the mesh are updated with MRF inference, such that they are compatible with the semantic segmentations in the input images. Also, this step includes prior assumptions about the surface shape of different semantic classes. The priors induce a tight coupling, where semantic information influences the shape update and vice versa. Specifically, we introduce priors that favor (i) adaptive smoothing, depending on the class label; (ii) straightness of class boundaries; and (iii) semantic labels that are consistent with the surface orientation. The novel mesh-based reconstruction is evaluated in a series of experiments with real and synthetic data. We compare both to state-of-the-art, voxel-based semantic 3D reconstruction, and to purely geometric mesh refinement, and demonstrate that the proposed scheme yields improved 3D geometry as well as an improved semantic segmentation.
Introduction
Traditional 3D reconstruction from images typically follows a "geometry first, semantics later" pipeline. While geometric refinement (like Multi-View Stereo) can produce highly detailed meshes, it is often "blind" to the scene's content. It applies the same smoothing rules to a jagged tree as it does to a flat road, often resulting in over-smoothed vegetation or noisy man-made structures.
Conversely, voxel-based semantic 3D reconstruction methods can incorporate class-specific knowledge but are limited by memory constraints, leading to "blocky" results that lack fine-grained detail. This paper addresses the challenge of achieving high-resolution, semantically consistent 3D models by allowing geometry and semantics to inform one another during a joint refinement process.
Methodology
The proposed variational framework alternates between two main steps: geometric refinement and semantic relabeling.
Geometric Refinement
The mesh is deformed to minimize an energy function. Beyond standard photo-consistency—ensuring the mesh looks correct from all camera angles—the method incorporates semantic consistency. This ensures that 2D semantic labels projected from different images agree on the 3D surface.
Key innovations in this step include:
- Class-Specific Smoothing: Using "thin-plate" regularization where the "stiffness" depends on the label. For example, roads are forced to be smoother than trees.
- Inter-class Smoothness: A novel term that penalizes jagged boundaries where different semantic classes meet, encouraging straight lines at building-ground intersections.
Semantic Relabeling
Labels on mesh faces are updated using Markov Random Field (MRF) inference. This step leverages the current 3D shape as a prior. For instance, the face's orientation relative to gravity is used to weight label probabilities: a vertical face is penalized if labeled "ground," while a horizontal face is penalized if labeled "facade." This feedback loop ensures that better geometry leads to better semantic boundaries, and vice versa.
Results and Evaluation
The method was evaluated on synthetic (SynthCity3) and real-world aerial (Enschede, Dortmund) and terrestrial (Southbuilding) datasets.
- Geometric Accuracy: On the SynthCity3 dataset, the proposed method reduced the mean distance to ground truth from 0.44m to 0.38m.
- Semantic Accuracy: In the "Southbuilding" terrestrial set, semantic accuracy improved from 81.9% to 94.5%.
- Qualitative Fidelity: As shown in the refined models, architectural details like windows and roof structures are much clearer, avoiding the "melted" look typical of initial voxel-based reconstructions.
Conclusion
By treating semantics as a regularizer and using gravity as a semantic anchor, this framework achieves a tight coupling between shape and label. While currently limited by a fixed topology and dependency on a good initialization, the results demonstrate that knowing what an object is significantly improves the reconstruction of how it is shaped. Future work may explore data-driven methods to automatically tune the energy term weights.
Summary updated