End-to-End Trainable Deep Active Contour Models for Automated Image Segmentation: Delineating Buildings in Aerial Imagery

Ali Hatamizadeh, Debleena Sengupta, Demetri Terzopoulos

Introduction

Automated building segmentation in aerial and satellite imagery is a high-stakes task for urban planning and disaster relief. However, current deep learning approaches face a significant "boundary problem": while models like U-Net or Mask R-CNN are excellent at identifying object locations, they often produce "blobby" or imprecise boundaries that fail to capture fine-grained architectural details. Conversely, classical Active Contour Models (ACMs), or "snakes," are mathematically designed to refine boundaries but traditionally require manual initialization and complex parameter tuning.

To bridge this gap, we introduce Trainable Deep Active Contours (TDACs). This framework marries the feature-learning power of CNNs with the precise boundary-delineation of ACMs by making the entire process differentiable and end-to-end trainable.

Methodology

The core innovation of TDAC is the intimate union of two traditionally separate techniques into a single pipeline.

The Backbone CNN and Parameter Prediction

The system utilizes an encoder-decoder backbone (similar to a U-Net with residual blocks). Instead of merely outputting a final segmentation mask, the CNN is trained to predict three specific maps: an initialization map ($\phi_0$) and two pixel-wise parameter maps ($\lambda_1, \lambda_2$). These localized parameters allow the CNN to provide "local control," telling the contour to pull harder in shadowed areas or relax near clear edges.

Overview of the TDAC framework architecture showing the flow from input image to backbone CNN, parameter maps, and differentiable ACM evolution.

Differentiable Eulerian ACM

TDAC employs an Eulerian (level-set) formulation. Unlike "snakes" that represent boundaries as strings of points, level-sets represent the boundary as the zero-crossing of a 3D surface. This allows the model to naturally handle an arbitrary number of buildings at once—they can split or merge without mathematical breakdown.

The level-set function $\phi(x,y)$ (left) and its corresponding 2D domain $\Omega$ (right), where the boundary is defined by $\phi(x,y)=0$.

By implementing the ACM evolution steps using standard differentiable operations (like convolutions and finite differences), the error from the final boundary can be backpropagated through the ACM layers and back into the CNN. The CNN essentially learns how to "set the stage" for the ACM to succeed.

Experimental Results

The model was evaluated on two benchmarks: the high-resolution Vaihingen dataset and the lower-resolution Bing Huts dataset. TDAC established a new state-of-the-art (SOTA) on both, outperforming established models like Mask R-CNN and U-Net.

  • Boundary Accuracy: The most significant gains were seen in the BoundF metric. On the Bing Huts dataset, TDAC achieved a BoundF of 53.50, a massive jump over the next best model (DarNet at 38.00).
  • Visual Quality: Qualitative results show that while other models produce rounded or jagged edges, TDAC produces sharp, rectilinear boundaries that much more closely resemble actual architecture.

Conclusion and Future Work

TDAC demonstrates that integrating classical geometric priors into deep learning architectures can significantly improve segmentation precision. While the current model uses a fixed number of iterations (L=60), future work may explore adaptive iteration counts and the application of this framework to medical imaging domains, such as segmenting organs or tumors.

Summary updated

BibTeX
@inproceedings{hatamizadeh2020end,
  author = {Ali Hatamizadeh and Debleena Sengupta and Demetri Terzopoulos},
  title = {{End-to-End Trainable Deep Active Contour Models for Automated Image Segmentation: Delineating Buildings in Aerial Imagery}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58610-2\_43},
}
Figure