A two-layer Conditional Random Field for the classification of partially occluded objects

Sergey Kosov, Pushmeet Kohli, Franz Rottensteiner, Christian HeipkearXiv 2013

Introduction

Standard image labeling techniques in computer vision often struggle when one object hides another. In typical semantic labeling, a pixel is assigned a single class (e.g., road, building, or tree). This "flat world" assumption forces a choice between the "hider" and the "hidden," leading to inaccuracies in mapping infrastructure that exists beneath overhanging objects like trees or bridges.

This paper introduces a two-layered Conditional Random Field (tCRF) designed to explicitly model the 3D structure of a scene. By assigning two labels to every pixel—one for the base object and one for the occluding object—the system can effectively "see through" obstacles and infer the presence of occluded features.

Methodology: The Two-Layered CRF

The core innovation of this research is the architectural split of the labeling process into a base level ($x^b$) and an occlusion level ($x^o$).

The two-layered CRF graphical model, illustrating the dependencies between the occlusion level ($x^o$), the base level ($x^b$), and the observed data ($y$).

Key Components

  1. Layered Architecture: The base level represents static background objects (roads, grass, buildings), while the occlusion level accounts for dynamic or overhanging objects (trees, cars). A "void" class is utilized in the occlusion layer when the base layer is directly visible.
  2. Inter-Level Interaction Potential: This component models the statistical likelihood of specific pairings. For instance, the model learns that a tree is more likely to occlude grass or a road than a building in specific urban contexts.
  3. Association Potentials: Random Forests are employed to calculate initial label probabilities based on local features, including color, height data from Digital Surface Models (DSM), and HOG descriptors.
  4. Inference and Training: The model utilizes Loopy Belief Propagation to determine the most probable global configuration of labels, while the Powell search method optimizes the model parameters.

Experimental Setup

The tCRF was evaluated on two distinct datasets to prove its versatility:

  • Vaihingen Dataset: Aerial Color-Infrared images with accompanying DSMs, featuring classes such as asphalt, buildings, and trees.
  • StreetScene Dataset: Urban street-view images where reference polygons include hidden parts of objects, providing a rigorous test for occlusion recovery.

Results and Discussion

The tCRF demonstrated significant improvements over standard single-layer CRF models. On the Vaihingen dataset, overall base-level accuracy rose from 82.6% to 86.6%.

Qualitative results showing the tCRF's ability to classify base layers (a) and identify occluding objects (b), effectively recovering infrastructure hidden by vegetation.

Key Insights

  • Occlusion Recovery: The model successfully extracted road segments hidden entirely by tree canopies. While a standard CRF might mislabel these areas as "grass" due to their green appearance, the tCRF uses surrounding context to infer that the road continues underneath.
  • 3D Scene Inference: By treating the image as a projection of a 3D scene, the base layer can "fill in the blanks" using information from neighboring unoccluded pixels.
  • Robustness via "Void": The inclusion of a void class allows the model to revert to standard classification when no occlusion is present, ensuring it remains effective across varied scenes.

Limitations and Future Work

Despite its success, the model has limitations. Currently, the base and occlusion class sets must be mutually exclusive, meaning an object cannot act as both a hider and a hidden element simultaneously. Additionally, the model remains sensitive to very small objects, such as cars, where feature data may be insufficient for high-confidence classification.

Future research directions include extending the framework to an n-layered architecture to handle more complex scenarios (e.g., a pedestrian behind a car, which is behind a tree) and integrating specialized object detectors to refine initial label probabilities.

Summary updated

BibTeX
@misc{kosov2013two,
  author = {Sergey Kosov and Pushmeet Kohli and Franz Rottensteiner and Christian Heipke},
  title = {{A two-layer Conditional Random Field for the classification of partially occluded objects}},
  year = {2013},
  eprint = {1307.3043},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1307.3043},
}
Figure