Abstract
In this paper, we propose an approach to multi-class semantic segmentation of urban areas in high-resolution aerial images with class-specific object priors for buildings and roads. Model design is challenged by highly heterogeneous object appearances and shapes that require priors beyond standard smoothness or co-occurrence assumptions. The data term of our energy function consists of a pixel-wise classifier that learns local co-occurrence patterns in urban environments. To specifically model the structure of roads and buildings, we add high-level shape representations for both classes by sampling large sets of putative object candidates. Buildings are represented by sets of compact polygons, while roads are modeled as a collection of long, narrow segments. To obtain the final pixel-wise labeling, we use a Conditional Random Field (CRF) with higher-order potentials that balances the data term with the object candidates. We achieve overall labeling accuracies of > 80%.
1. Introduction
Semantic segmentation in urban environments is notoriously difficult at high resolutions (0.1m – 1m). While deep learning and standard classifiers have improved, they often struggle with high intra-class variability. For example, a "road" might contain cars, shadows, or markings that confuse a pixel-wise classifier, leading to fragmented results. Similarly, "buildings" often end up with "jaggy" or blurred boundaries.
Standard spatial priors, such as simple smoothness constraints, are insufficient to capture the complex geometry of man-made structures. This research aims to bridge the gap between low-level pixel data and high-level architectural "common sense"—the idea that roads are long and thin, and buildings are compact polygons. By using a CRF with higher-order cliques, the model moves beyond simple pixel-wise classification to ensure topological consistency.
2. Methodology
The proposed approach follows a "recover-and-select" pipeline consisting of three main stages: context-aware classification, hypothesis generation, and CRF inference.
2.1 Context-Aware Classification
Instead of looking at a single pixel, the model extracts features (SIFT, Textons, etc.) from a large 160x160 pixel neighborhood. This allows the classifier to incorporate surrounding context; for instance, a pixel is more likely to be a road if it is flanked by buildings. This context-aware approach significantly outperforms standard multi-scale texture filters.
2.2 Hypothesis Generation (The "Recover" Phase)
The system generates an over-complete set of potential object candidates to serve as higher-order cliques:
- Buildings: The model thresholds initial likelihoods and applies a Watershed algorithm on a normalized Digital Surface Model (nDSM) to separate merged buildings. It then generates multiple $\alpha$-shapes, ranging from concave to convex, to create polygonal candidates.
- Roads: Using Laplacian-of-Gaussian (LoG) filters to detect different road widths, the model employs a 3D Fast Marching algorithm to find minimum-cost paths, creating a network of potential road segments.
2.3 CRF Inference (The "Select" Phase)
All generated candidates are treated as "higher-order cliques" in a CRF using a $P^N$-Potts model. This acts as a soft constraint: if a majority of pixels in a candidate clique (like a proposed building polygon) have high building scores, the CRF "pulls" the dissenting pixels (such as a chimney or a small shadow on the roof) into the building class. This allows the data (pixels) and the prior (shapes) to negotiate the final label.
3. Experimental Evaluation
The approach was evaluated on the Vaihingen dataset, an ISPRS benchmark with a 0.25m ground sampling distance. The model achieved an overall accuracy of 82.42%, significantly outperforming the "Winn" baseline (73.69%).
For the critical "Building" and "Road" classes, the context-aware classifier alone reached >80% precision and recall. The CRF further refined these results, particularly improving the F1-score for buildings from 84% to 86%. Qualitatively, the model successfully repaired building shapes that were previously fragmented and connected road segments that were occluded by trees or shadows.
4. Discussion and Conclusion
A major insight of this work is that while higher-order priors provide marginal gains in pixel-wise accuracy metrics, they offer significant topological improvements. Sharpening building corners and closing gaps in road networks makes the resulting maps much more usable for GIS systems.
Future work may address the current reliance on data-driven heuristics for sampling. Formulating the generation of building shapes and road widths as a joint regression and classification problem—perhaps using structured prediction like Hough Forests—could provide a more principled and accurate framework. Additionally, while more efficient than Marked Point Processes, the computational overhead of generating thousands of hypotheses remains a consideration for large-scale deployment.
Summary updated