Introduction
Accurately determining roof geometry—specifically slope, azimuth, and surface area—is a foundational requirement for applications ranging from urban planning to solar energy potential assessment. Traditionally, this data is acquired through high-density LiDAR or multi-view photogrammetry. However, LiDAR remains cost-prohibitive for many regions, and multi-view methods require overlapping imagery that may not be available in standard aerial surveys.
Reconstructing 3D structures from a single top-down RGB image is inherently "ill-posed" due to the loss of depth information. This research addresses this challenge by leveraging the geometric symmetries and architectural regularities inherent in building designs. By utilizing a generative transformer-based model, the researchers demonstrate that it is possible to infer accurate 3D roof meshes from single-view aerial imagery by learning architectural "priors."
Methodology
The researchers adapted PolyGen, a neural network architecture originally designed for general 3D mesh generation, to the specific constraints of remote sensing. The reconstruction process is divided into two sequential stages:
1. The Vertex Model
The first stage predicts the 3D coordinates $(x, y, z)$ of the roof's corners. This model employs a ResNet encoder to extract spatial features from the input aerial image. These features condition a Transformer decoder, which outputs the vertices as a sequence. To manage the continuous nature of 3D coordinates within a discrete neural framework, the coordinates are quantized into 8-bit values.
2. The Face Model
Once the vertices are generated, a second Transformer—utilizing a PointerNet architecture—determines the connectivity between these points to form triangular or polygonal faces. This model is conditioned on both the original RGB image and the vertex sequence produced in the first stage.
Evaluation Metric: Angular Dissimilarity
A significant contribution of this work is the introduction of Angular Dissimilarity. Unlike standard distance-based metrics (such as Chamfer distance), this metric compares the surface normals of the predicted mesh against the ground truth. This provides a more accurate assessment of "coplanar cohesion," ensuring that the predicted roof planes are not only correctly positioned but also correctly angled.
Experimental Setup
The study utilized datasets sourced from swisstopo (the Swiss Federal Office of Topography), comprising pairs of RGB aerial orthoimages and corresponding 3D meshes.
- Data Composition: The dataset included 159,412 "watertight" (fully enclosed) roof examples and 697,025 non-watertight surfaces.
- Robustness Testing: To test the model's robustness to out-of-distribution data, it was evaluated "in the wild" using a geographically distinct dataset from Norkart in Norway. This tested whether the model could generalize its learned architectural priors to a new region without additional training.
Results
The PolyGen approach demonstrated significant improvements over baseline methods in both quantitative and qualitative evaluations:
- Geometric Accuracy: On watertight meshes, the model achieved a PoLiS distance of 0.078 (where lower is better) and an Intersection over Union (IoU) of 0.78. This represents a substantial leap over the ResNet-only baseline, which recorded a PoLiS of 0.208 and an IoU of 0.26.
- Angular Precision: The model achieved an angular dissimilarity score of 15.3, confirming its ability to accurately predict roof slopes and orientations.
- Generalization: Qualitatively, the model produced plausible 3D reconstructions for the Norwegian dataset, despite the architectural and geographic differences from the Swiss training data.
Discussion and Insights
The success of the model highlights several key principles in 3D reconstruction from 2D data:
- Symmetry as a Depth Proxy: The model effectively uses architectural regularity as a proxy for depth. By learning that roof slopes are typically symmetrical, it can "fill in" the geometry that is not explicitly visible from a single nadir viewpoint.
- Resolution Robustness: Performance remained stable even when image resolution was reduced. This suggests the model prioritizes structural "gestalt" (overall form) over fine-grained texture details.
- Sequence-to-Sequence Modeling: By treating 3D reconstruction as a sequence prediction problem (vertices followed by faces), the authors avoid the computational complexity associated with voxel grids or dense point clouds.
Limitations and Future Work
Despite its performance, the model faces challenges with highly complex or irregular topologies that deviate from standard architectural patterns. Additionally, the current pipeline is optimized for single-building images and struggles in crowded urban scenes or with buildings featuring extremely high vertex counts (the study capped examples at 100 vertices and 400 faces).
Future research will focus on scaling this approach to handle entire city blocks and integrating the model into automated pipelines for national-scale solar potential mapping, providing a cost-effective alternative to LiDAR-based surveys.
Summary updated