A Variational Method for Scene Flow Estimation from Stereo Sequences

Frédéric Huguet, Frederic DevernayICCV 2007

Introduction

In computer vision, the estimation of a scene's 3D motion field—known as scene flow—represents a significant challenge. While optical flow captures 2D motion on an image plane and disparity captures depth in stereo pairs, scene flow provides a complete 3D vector field describing how every point in a scene moves over time. Traditional approaches often decouple these problems, solving for 2D motion and 3D structure independently. However, such methods frequently suffer from inconsistencies; for instance, independent optical flow calculations for left and right cameras may not correspond to a single physical 3D movement.

This paper introduces a unified variational framework that jointly optimizes for both 3D structure and motion in a single energy-minimization step. By coupling these constraints, the authors achieve more robust and consistent scene flow estimations than previous decoupled techniques.

The Variational Framework

The core of the proposed method is a global energy function designed to be minimized. The authors utilize a minimal parametrization approach, optimizing only four variables per pixel: the 2D optical flow $(u, v)$ in the left image, the disparity $d$ at time $t$, and the disparity $d'$ at time $t+1$. From these four parameters, the complete 3D scene flow can be analytically derived.

Relationship between stereo and temporal flow in the proposed framework.

Key Innovations

  • Joint Optimization: The energy function incorporates four "data terms" that enforce consistency across the stereo pair at time $t$, the stereo pair at time $t+1$, and the temporal flow in both the left and right cameras.
  • Robustness to Discontinuities: A specific regularization function ($\Psi$) is employed to allow the algorithm to handle outliers and preserve sharp edges in both geometry and motion.
  • Occlusion Handling: The method explicitly computes occlusion maps ($\beta$ functions) to prevent hidden pixels from corrupting the estimation.
  • Multi-resolution Solver: To manage large displacements and avoid local minima, the algorithm operates on an image pyramid, refining details from coarse to full resolution.

Experimental Evaluation

The framework was evaluated using a combination of synthetic benchmarks and real-world sequences.

Datasets

  • Middlebury Benchmarks: Adapted versions of the Venus, Teddy, and Cones datasets were used, with simulated motion created by camera shifts.
  • Rotating Sphere: A synthetic "stress test" featuring a textured sphere with hemispheres rotating in opposite directions. This test highlights the algorithm's ability to recover motion boundaries where 3D reconstruction alone might fail.
  • Real-World Sequences: High-resolution stereo video of human facial movements, involving complex rotations and motion boundaries.
Results on the rotating sphere synthetic dataset showing recovered motion fields and error maps.

Key Results

The method demonstrated high accuracy, achieving low RMS errors on standard benchmarks (e.g., 0.31 pixels for flow on the Venus set). A critical finding was that projecting the 3D scene flow back into 2D outperformed state-of-the-art single-camera optical flow methods, proving that stereo information significantly stabilizes motion estimation. Furthermore, qualitative results on the "Rotating Sphere" and real-world sequences showed superior preservation of sharp motion boundaries compared to traditional methods.

Conclusion and Future Work

By avoiding the linearization of optical flow constraints and instead warping images during optimization, the authors achieved significant gains in accuracy for large displacements. The coupling of stereo and motion constraints effectively reduces the search space, leading to more stable results.

While mathematically elegant, the variational approach is computationally intensive. Future work suggested by the authors includes developing deterministic continuous functions for occlusion handling and leveraging GPU-based solvers to move toward real-time performance.

Summary updated

BibTeX
@inproceedings{huguet2007variational,
  author = {Frédéric Huguet and Frederic Devernay},
  title = {{A Variational Method for Scene Flow Estimation from Stereo Sequences}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2007},
  doi = {10.1109/iccv.2007.4409000},
}
Figure