Parsing Images of Architectural Scenes

Alexander C. Berg, Floraine Grabler, Jitendra MalikICCV 2007

Introduction

Understanding urban environments from a street-level perspective remains a significant challenge in computer vision. While generic object detection identifies isolated items, architectural scenes possess a deep "pictorial structure" where components like windows, doors, and rooflines exist in strict spatial relationships to the building facade. This paper proposes a hierarchical approach to "parsing" these scenes, moving from coarse environmental categories to fine-grained architectural details. By leveraging global context to resolve local ambiguities, the system achieves a nuanced understanding that enables advanced applications like semantic architectural search.

Hierarchical Parsing Methodology

The core of the proposed system is a multi-stage pipeline built around a Conditional Random Field (CRF) model. Unlike static classifiers, this approach adapts to the unique characteristics of each image through a process of "bootstrapping."

  1. Coarse Recognition: The system first performs a generic parse to identify broad regions: sky, building, foliage, and street. This stage uses features such as color histograms, contour orientations, and absolute image position.
  2. Image-Specific Bootstrapping: Once high-confidence regions for "building" and "sky" are identified, the system fits new, image-specific color models. This allows the algorithm to adapt to specific lighting conditions—for instance, recognizing a pale grey sky in one photo versus a deep blue one in another.
  3. Detailed Parsing: With the building boundaries established, the system searches for fine-grained structures. It detects windows and doors by identifying nearly right angles and T-junctions in the contour map, constrained by the previously identified facade area.
The hierarchical parsing pipeline: from the original image to coarse visual categories, image-specific color bootstrapping, and the final detailed parse identifying windows and boundaries.

Dataset and Results

The researchers evaluated their approach using a custom dataset of 300 hand-labeled images representing diverse global architectural styles. This variety ensures that the model learns structural rules rather than just specific regional appearances.

Examples from the architectural dataset, showcasing the variety of styles, lighting, and perspectives the system must handle.

The system's performance was measured using Relative Information Gain (R). Key findings include:

  • Feature Synergy: Combining color, texture, and position yielded significantly higher information gain (e.g., 0.88 for sky) than any single feature.
  • Contextual Constraints: The authors demonstrated that global parameters (like facade color) are more effective constraints for parsing than simple local pixel-to-pixel smoothing.
  • Semantic Search: The detailed parse allows for sophisticated queries. Users can search for buildings based on layout—such as "three rows of windows"—or find similar architectural elements across a database of hundreds of detected windows.

Conclusion and Future Work

This research highlights the power of domain-specific constraints in computer vision. By treating a building as a structured object with its own "grammar," the system outperforms generic scene-parsing methods. While the current implementation relies on some heuristics that may require further generalization for non-Western architectural styles, it provides a robust foundation for future 3D urban modeling and semantic image retrieval.

Summary updated

BibTeX
@inproceedings{berg2007parsing,
  author = {Alexander C. Berg and Floraine Grabler and Jitendra Malik},
  title = {{Parsing Images of Architectural Scenes}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2007},
  doi = {10.1109/iccv.2007.4409091},
}
Figure