Superpixels, Occlusion and Stereo

Yuhang Zhang, Richard I. Hartley, John Mashford, Stewart Burn

Introduction

Stereo matching—the process of calculating depth by finding correspondences between two images—is a fundamental challenge in computer vision. It is frequently compromised by two main issues: occlusion and boundary blurring. Occlusions occur when pixels in one view are hidden in the other, often leading standard graph-based methods to force "false matches" that corrupt depth estimates. Boundary blurring, or "fattening," happens when smoothing constraints in Markov Random Field (MRF) models fail to distinguish between texture changes and true depth discontinuities. This paper introduces a robust iterative framework that combines superpixel segmentation with explicit occlusion modeling to overcome these challenges.

Methodology

The proposed method reduces computational complexity and improves boundary accuracy by operating on superpixels rather than individual pixels. This approach anchors depth boundaries to color and texture boundaries, which typically coincide in natural scenes.

The iterative stereo matching framework, alternating between superpixel-level optimization and occlusion map refinement.

The algorithm follows a six-step iterative loop:

  1. Superpixel Segmentation: Over-segmenting images into patches of similar color to reduce the number of variables in the optimization problem.
  2. Symmetric Matching: Performing disparity estimation in both left-to-right and right-to-left directions.
  3. Cross-Checking: Identifying occlusions by comparing the two resulting depth maps for inconsistencies.
  4. Occlusion Constraint: Enforcing a novel constraint where an occluded pixel must be hidden by a visible pixel at a smaller depth.
  5. Modified Energy Function: Adjusting the MRF's unary costs to penalize labels that violate the occlusion constraint with infinite cost.
  6. Iterative Refinement: Repeating the process until the occlusion map stabilizes.

By performing MRF optimization at the superpixel level, the authors achieve significant speedups—reducing processing time for the "Art" dataset from 88 seconds (pixel-level) to 29 seconds.

Results

Evaluation on the Middlebury stereo benchmark, particularly the "Art" and "Cones" image pairs, demonstrates the method's effectiveness in handling complex geometries and significant occluded regions.

Qualitative results on the 'Art' image pair, showing the input image and the resulting high-fidelity depth map.

The system produces a clean occlusion map and shows rapid convergence. In the "Art" dataset, the percentage of reliable matches increased from approximately 51% to 74% within just a few iterations. This illustrates a "chain reaction" of discovery where identifying initial occlusions allows the energy minimizer to find better matches for nearby visible pixels, which in turn reveals more occlusions in the next pass.

Conclusion and Future Work

The "Superpixels, Occlusion and Stereo" framework provides a faster and more accurate alternative to traditional pixel-based stereo matching by successfully eliminating the "fattening" effect at object boundaries. While the method is currently dependent on the quality of the initial superpixel segmentation, future work aims to integrate segmentation and matching more closely, potentially allowing superpixels to be refined dynamically as the depth map evolves.

Summary updated

BibTeX
@inproceedings{zhang2011superpixels,
  author = {Yuhang Zhang and Richard I. Hartley and John Mashford and Stewart Burn},
  title = {{Superpixels, Occlusion and Stereo}},
  booktitle = {DICTA},
  year = {2011},
  doi = {10.1109/dicta.2011.22},
}
Figure