DSM Refinement with Deep Encoder-Decoder Networks

Nando MetzgerarXiv 2020

Introduction

Creating high-quality 3D city models typically relies on dense photogrammetric reconstruction, where height is calculated by matching pixels across multiple aerial images. While this process is automated, the resulting Digital Surface Models (DSMs) are frequently plagued by sensor noise, matching artifacts (such as "holes" in buildings), and a lack of the sharp geometric definition characteristic of urban architecture. Traditionally, correcting these errors requires labor-intensive manual cleanup. This research introduces an automated deep learning pipeline designed to learn urban geometric "priors"—such as vertical walls and specific roof slopes—to refine noisy DSMs into clean, architecturally sound models.

Methodology

The proposed solution utilizes a deep learning framework built on two primary technical pillars: residual learning and a multi-faceted loss function.

Residual Encoder-Decoder Architecture

At the core of the model is a U-Net-style encoder-decoder network. A key innovation is the use of residual learning. Rather than generating a complete height map from scratch, the network is trained to predict a "residual" ($f(X)$), which represents the difference between the noisy input and the clean target. This residual is then added back to the original input $X$ to produce the final estimate $\hat{y}$. This approach allows the model to focus its computational capacity specifically on correcting errors and sharpening features.

The residual learning framework used to refine input DSMs.

As shown in the detailed architecture diagram below, the network employs skip connections between corresponding layers of the encoder and decoder. These connections are vital for preserving high-frequency spatial details—such as sharp roof ridges and building corners—that might otherwise be lost during the downsampling process.

Detailed U-Net architecture featuring skip connections and residual additions.

Loss Functions and Urban Logic

To ensure the output adheres to the "grammar" of urban environments, the training process employs a sophisticated loss function:

  • L1 Norm: Unlike the standard L2 (mean squared error) loss, which often results in blurred edges, the L1 norm encourages the preservation of sharp transitions.
  • Perceptual Loss: By passing both predicted and ground-truth maps through a pre-trained VGG16 network, the model learns to prioritize structural and perceptual correctness. This suggests that low-level visual features (edges, corners) learned from natural images are highly effective for geometric refinement.
  • Regularization: L1 penalties on weights and residuals encourage sparse, efficient updates.

Experimental Setup

The model was trained and validated using data from Zurich, Switzerland. The input consisted of a photogrammetric DSM with a 10cm resolution, while the ground truth was provided by the city's LOD2 (Level of Detail 2) model, which contains semi-automatically cleaned roof structures and terrain. The 1x1 km study area was partitioned into 256x256 pixel patches for processing.

Results and Discussion

The model demonstrated a significant ability to automate the refinement of urban geometry. Quantitatively, 74% of test pixels were predicted within 0.5m of the ground truth, achieving a Mean Absolute Error (MAE) of 0.65m and a Median Absolute Error of 0.23m.

Qualitatively, the network successfully "straightened" wobbly walls and removed unwanted noise from vegetation and trees. However, some limitations remain: the model occasionally struggles with very fine structures like balconies, and the output walls are not always perfectly planar. Furthermore, the model's performance is currently sensitive to the specific 10cm resolution of the training data.

Conclusion

This research proves that deep encoder-decoder networks can effectively learn the geometric rules of urban environments to refine noisy 3D models. Future work may involve integrating raw aerial imagery alongside the DSM to provide additional context for resolving geometric ambiguities, potentially leading to even higher levels of architectural fidelity.

Summary updated

BibTeX
@misc{metzger2020dsm,
  author = {Nando Metzger},
  title = {{DSM Refinement with Deep Encoder-Decoder Networks}},
  year = {2020},
  eprint = {2012.07427},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.07427},
}
Figure