Aaron Wetzler

Publications

Deep Stereo Matching with Dense CRF Priors

Ron Slossberg, , Ron Kimmel

arXiv:1612.01725 · 2016

A stereo-matching network that fine-tunes a patch matcher and dense disparity regularization together to estimate horizontal shifts from rectified image pairs.

KITTI street input imageCorresponding disparity prediction from the authors' method
Left-camera KITTI image and the authors’ predicted disparity, from the first example in Figure 2 of the paper.

Overview

Disparity is the horizontal shift between matching points in a rectified stereo pair. The paper starts with the fast MC-CNN patch matcher and builds a cost volume with one score for each candidate shift at each pixel.

Iterative mean-field updates refine the disparity distributions in a dense conditional random field (CRF). Gaussian weights depend on pixel position and color. A learned compatibility matrix controls how disparities at different pixels influence each other. The unrolled updates allow the matching network and CRF weights to be fine-tuned jointly.

Training and limitations

The paper reports a Torch and CUDA implementation. The authors tuned the Gaussian widths separately and evaluated the network with several combinations of semi-global matching (SGM) and MC-CNN postprocessing.

Figure 3 shows KITTI failures on near objects with large disparities. The authors suggest that the smaller real-image training set provided limited examples of these cases.

Synthetic stereo example

Compare local stereo matching with iterative spatial or edge-aware filtering on a generated image pair. The controls select saved results from the calibrated preset.

Computed comparison of a synthetic stereo pair, its known disparity and the new Python reference outputs
Python estimates for one generated pair with known disparity.

On this pair, calibrating the appearance kernel reduced mean disparity error from 1.33 to 0.86 px. The original matching costs, disparity compatibility and update rule are the same in both runs. Calibration and held-out results.

Paper validation results

The paper reports disparity error rates on 40 held-out KITTI 2015 pairs and 100 held-out FlyingThings3D pairs. Each column gives the percentage of evaluated pixels above the indicated error threshold.

With postprocessing, MC-CNN + CRF lowers both reported FlyingThings3D error rates compared with MC-CNN + SGM. On KITTI it lowers the 1-pixel error from 12.73% to 12.55%, while the 3-pixel error rises from 3.78% to 5.12%. These results come from the authors’ validation split.

With MC-CNN postprocessing

PipelineKITTI 3 pxKITTI 1 pxFlyingThings3D 3 pxFlyingThings3D 1 px
MC-CNN + SGM3.78%12.73%9.66%11.96%
MC-CNN + CRF5.12%12.55%8.85%10.98%
MC-CNN + CRF + SGM4.7%11.74%8.85%11.02%
Without MC-CNN postprocessing
PipelineKITTI 3 pxKITTI 1 pxFlyingThings3D 3 pxFlyingThings3D 1 px
MC-CNN + SGM4.74%14.45%14.01%15.88%
MC-CNN + CRF6.54%15%12.1%13.88%
MC-CNN + CRF + SGM5.32%13.03%10.88%12.64%
DispNetCorr1D9.97%31.36%9.12%14.21%

Table 1 and original evaluation in the paper

Code

Python code and sample outputs

A CPU example builds matching costs from a synthetic pair and runs dense CRF mean-field updates with fixed compatibility. It includes known disparities, reproducible error measurements and a notebook. The paper’s learned matcher and benchmark results are separate from this example.

Open repository

BibTeX

@misc{Slossberg2016DeepStereo,
  author = {Slossberg, Ron and Wetzler, Aaron and Kimmel, Ron},
  title = {Deep Stereo Matching with Dense {CRF} Priors},
  year = {2016},
  eprint = {1612.01725},
  archivePrefix = {arXiv},
  primaryClass = {cs.CV},
  doi = {10.48550/arXiv.1612.01725},
  url = {https://arxiv.org/abs/1612.01725}
}

Download BibTeX