Fast 2D border ownership assignment

Ching Lik Teo, Cornelia Fermüller, Yiannis Aloimonos

TL;DR

This paper introduces a high-speed method for determining "border ownership"—identifying which side of a visual boundary is the foreground object and which is the background. By leveraging Structured Random Forests (SRF) and a novel set of bio-inspired features, the authors achieve state-of-the-art accuracy while running roughly 100 times faster than previous optimization-based approaches.

Introduction

In computer vision, detecting an edge is only half the battle. To truly understand a scene, a system must know border ownership (BOWN): the information regarding which side of a boundary "owns" the edge (the foreground) and which side is being occluded (the background).

Traditionally, BOWN has been treated as a complex post-processing step. Researchers would first detect edges and then use computationally expensive global optimization techniques, like Conditional Random Fields (CRFs), to "guess" the depth ordering. These methods are often too slow for real-time applications and struggle to integrate local cues effectively. This paper aims to make BOWN assignment both fast and accurate by treating it as a single-step learning problem.

Methodology

The authors propose a unified framework using Structured Random Forests (SRF). Unlike standard random forests that predict a single label, SRFs can predict structured patches, such as a small map of oriented boundaries.

Visual breakdown of the three core feature types: HoG-like descriptors, spectral features from contour tokens, and Gestalt-like grouping features.

The core innovation lies in the three types of features fed into the forest:

  1. HoG-like Descriptors: These capture local shape, specifically looking for convexity and concavity, which are strong indicators of foreground objects.
  2. Spectral Features (Extremal Edges): Based on the psychophysical concept of "image folds," the authors use PCA on "Sketch Tokens" to find basis functions that represent shading and illumination changes. These "spectral" signatures differ significantly between foreground and background regions.
  3. Gestalt-like Grouping (Mid-level Cues): The authors generalized a mathematical operator called "image torque." While originally used to find closed loops, they expanded it to detect four distinct patterns: closure, radial, spiral, and hyperbolic. These patterns help the model recognize object-like structures even in cluttered scenes.

By combining these, the SRF predicts both the boundary location and its ownership orientation simultaneously in about 0.1 seconds for a standard image.

Datasets

The model was trained and evaluated on two major benchmarks:

  • Berkeley Segmentation Dataset (BSDS): A standard for 2D boundary detection. The authors used a subset of 200 images with specific ownership annotations.
  • NYU Depth V2: A dataset of indoor scenes. Because it includes depth maps, the authors were able to automatically generate high-density ground truth labels for border ownership, providing a much larger training set than BSDS.

Key Insights

  • BOWN as a Local-to-Global Problem: While BOWN feels like a global property, the authors show that local "spectral" and "shape" cues are incredibly informative. You don't always need a global CRF if your local features are smart enough.
  • The Power of NYU Depth for 2D Tasks: The authors demonstrated that features learned from indoor depth data (NYU) actually improve performance on outdoor natural images (BSDS). This suggests that the "physics" of extremal edges and shading is consistent across environments.
  • Generalizing Torque: The mathematical leap to turn "image torque" into a general-purpose Gestalt detector is a clever way to encode mid-level vision (the stage between pixels and objects) into a format a random forest can easily digest.

Results

Examples of input images and their corresponding border ownership assignments for outdoor (BSDS) and indoor (NYU Depth V2) scenes. Source, p. 1

Examples of input images and their corresponding border ownership assignments for outdoor (BSDS) and indoor (NYU Depth V2) scenes.
  • Speed: The method processes a 320x240 image in ~0.1s. For comparison, the previous state-of-the-art (2.1D-CRF) took roughly 15 seconds—a 150x speedup.
  • Accuracy: On the BSDS dataset, the method achieved 74.7% accuracy, outperforming the Global-CRF (69.1%) and 2.1D-CRF (68.9%).
  • Ablation: The study showed that while HoG features are a good baseline (72%), adding spectral and Gestalt features provided the necessary boost to reach state-of-the-art levels.

Limitations and Future Work

  • Static Images Only: The current work focuses entirely on 2D spatial cues. The authors acknowledge that motion (temporal cues) and focus/blur are also massive indicators of border ownership in the real world.
  • Semantic Integration: The model currently uses "bottom-up" cues. It doesn't "know" that a person is an object; it just sees the convexity and shading. Integrating high-level semantic labels (e.g., "this is a car") could further refine ownership in ambiguous cases.
  • Complexity of Gestalt Patterns: While the four generalized torque patterns are useful, there are many other Gestalt principles (like symmetry or common fate) not yet captured by this framework.

Summary updated

BibTeX
@inproceedings{teo2015fast,
  author = {Ching Lik Teo and Cornelia Fermüller and Yiannis Aloimonos},
  title = {{Fast 2D border ownership assignment}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  doi = {10.1109/cvpr.2015.7299147},
}
Figure