Extracting accurate building footprints from satellite imagery is a cornerstone of modern cartography and urban planning. While deep learning has mastered pixel-wise segmentation, converting these "raster" grids into the clean, sharp-cornered "vector" polygons required by Geographic Information Systems (GIS) remains a significant challenge. Standard methods often produce rounded corners or struggle with complex topologies like shared walls.
Presented at CVPR 2021, this research introduces a novel framework that bridges the gap between pixels and polygons by learning a geometric "frame field."
The Frame Field: Geometric Guidance
The core innovation is the prediction of a frame field alongside standard segmentation masks. At every pixel, the neural network predicts two directions (a 4-PolyVector field). Along a straight wall, one direction aligns with the wall; at a corner, the two directions align with both intersecting edges.
By encoding these directions as complex polynomial coefficients, the authors avoid ordering ambiguities during training. This field acts as a geometric regularizer, forcing the underlying segmentation to respect straight lines and sharp corners.
From Fields to Polygons: Active Skeleton Model
To convert these predictions into final vectors, the authors developed the Active Skeleton Model (ASM). Unlike traditional "snakes" that optimize a single closed loop, ASM optimizes a skeleton graph. This allows the model to handle complex topologies, such as buildings with inner courtyards or rows of houses sharing common walls.
The ASM process is highly efficient and GPU-parallelizable, taking only 0.04 seconds to process a 300x300 image patch—nearly ten times faster than previous state-of-the-art methods like PolyMapper.
Key Results and Impact
The inclusion of frame field learning significantly improves geometric accuracy. On the CrowdAI Mapping Challenge dataset, the method achieved a "max tangent angle error" of 31.9°, a substantial improvement over standard U-Net approaches (51.9°). Qualitatively, the results are much closer to human-annotated ground truth, featuring clean 90-degree corners even in dense urban environments.
By integrating geometric constraints directly into the learning process, this approach provides a robust and scalable solution for high-quality automated mapping.
Summary updated