Introduction
Segmenting individual buildings in dense urban skylines presents a significant challenge for computer vision. While semantic segmentation can distinguish "building" from "sky," instance segmentation—identifying each unique structure—is complicated by tight packing, complex occlusions, and varying lighting conditions. This paper, originally presented at CVPR 2014 by Rashmi Tonge, Subhransu Maji, and C. V. Jawahar, introduces a shape-constrained Markov Random Field (MRF) approach designed to exploit the inherent geometric structure of cityscapes.
Methodology: Shape-Constrained MRFs
The authors propose a framework that moves beyond generic pixel-labeling by incorporating domain-specific geometric priors.
The Tiered Assumption
A key observation is that skylines typically follow a "tiered" or layered structure. Buildings generally stand on a ground plane and overlap in a predictable front-to-back order. This allows the algorithm to model the scene as a series of layers, simplifying the inference of occluded boundaries by looking at labels from top to bottom.
Geometric Priors and Optimization
The paper explores three variations of the MRF model:
- Rectangle MRF: Constrains each building instance to a rectangular shape defined by its left, top, and right boundaries. This significantly reduces the search space and allows for rapid optimization using integral images.
- Tiered MRF: Uses dynamic programming to find an x-monotonic curve for the roofline, accommodating more complex, non-flat roof geometries.
- Refined MRF: A hybrid approach that first uses the Rectangle MRF for localization and then refines the top boundary using dynamic programming to precisely match the actual roofline.
Feature Representation
To handle the inconsistencies of color caused by shadows and reflections, the authors utilize Textons. These texture-based features capture repetitive architectural patterns like windows and balconies, providing a more robust "fingerprint" for individual buildings than color alone.
The Skyline-12 Dataset
To evaluate their method, the authors introduced the Skyline-12 Dataset. This benchmark consists of 120 high-resolution images from 12 iconic global cities, including New York, Tokyo, and Hong Kong. Crucially, the dataset provides pixel-level masks for over 4,000 individual buildings, offering a much more rigorous test for instance segmentation than previous "building-vs-background" datasets.
Experimental Results
The proposed Refined MRF demonstrates superior performance in both accuracy and computational efficiency.
Accuracy and Speed
The Refined MRF achieved a Mean Average Overlap (MAO) of 63.4%, outperforming standard MRF techniques (62.3%). More importantly, the geometric constraints led to a dramatic increase in speed. The Refined MRF processed 3-megapixel images in approximately 9.2 seconds, compared to 69.5 seconds for standard $\alpha$-expansion graph cuts—a nearly 10x speedup.
Automatic Initialization
When integrated with automated segmentation tools like gPb, the shape-constrained approach improved baseline accuracy by 25-40%. This suggests that geometric priors are highly effective at correcting noisy initial estimates in structured environments.
Conclusion and Future Work
The research highlights that for specific domains like urban architecture, incorporating "hard" geometric constraints can lead to more robust and efficient vision systems. While the current model struggles with highly irregular or concave structures (e.g., domes), it provides a powerful foundation for parsing the structured complexity of the world's skylines. Future work may focus on relaxing the rectangular assumption to accommodate a wider variety of modern architectural forms.
Summary updated