Temporally Consistent Stereo Matching

Jiaxi Zeng, Chengtang Yao, Yuwei Wu, Yunde Jia

Overview

TC-Stereo is a novel framework that treats video stereo matching as a continuous process of temporal disparity completion followed by iterative refinement. By leveraging previous frames to initialize current estimates and refining results in both disparity and gradient spaces, it achieves state-of-the-art accuracy and temporal stability with high computational efficiency.

Problem Statement

Stereo matching—estimating depth by finding correspondences between left and right images—is a cornerstone of computer vision for robotics and autonomous driving. While most modern deep learning methods excel at single-frame estimation, they often fail when applied to video sequences.

Because standard models typically process each frame independently, they perform a "global search" for disparity every time. This leads to temporal inconsistency: the predicted depth of a static object might "jitter" or flicker between frames. This problem is exacerbated in "ill-posed" regions, such as reflective surfaces, occlusions, or low-texture areas, where the model lacks strong visual cues and produces unstable results.

Methodology

The authors introduce TC-Stereo, which moves away from independent frame processing toward a temporally linked pipeline.

Overview of the TC-Stereo framework showing temporal disparity completion and iterative refinement across frames.

The key components include:

  • Temporal Disparity Completion (TDC): Instead of starting from scratch, the model projects the disparity map from the previous timestamp onto the current viewpoint using camera poses. Since this projection is "semi-dense" (leaving holes due to motion or occlusions), a lightweight encoder-decoder module completes the map to provide a robust, dense initialization.
  • Temporal State Fusion: The hidden states from the previous frame's refinement process are fused with features from the current TDC module using a Gated Recurrent Unit (GRU) structure. This ensures the model maintains a "memory" of the scene's geometry.
  • Dual-Space Refinement: Most models only refine the disparity (depth) value. TC-Stereo refines both the disparity and the disparity gradient. While absolute depth might be hard to estimate in reflective or ill-posed areas, the gradient of the surface is often more predictable and smooth, helping to stabilize the final output.
  • Iterative Update: Following the RAFT-Stereo philosophy, the model uses a series of small updates. However, because it starts with a good temporal initialization, it can focus on local refinements rather than a global search, leading to faster convergence.

Key Insights

  • Local Search Stability: By initializing with the previous frame's data, the model performs a local search for the ground truth. This significantly reduces the "update step size" variance, which is the primary cause of temporal flickering.
  • Gradients as a Prior: In challenging regions like a shiny floor, the absolute depth might be ambiguous, but the fact that the floor is a flat plane (constant gradient) is a powerful constraint. Refining in gradient space allows the model to propagate these geometric constraints globally.
  • Efficiency through Initialization: Because the model starts "close" to the answer, it requires fewer iterations to reach high accuracy. TC-Stereo achieves superior results with only 5 iterations compared to baseline models using 32.

Experimental Results

The model was evaluated on a mix of synthetic and real-world datasets, including TartanAir, SceneFlow, KITTI 2015, and ETH3D SLAM.

Comparison of temporal consistency (a), jitter metrics (b), and update step size (c) between RAFT-Stereo and TC-Stereo.
  • Benchmark Performance: At the time of publication, TC-Stereo ranked second on the KITTI 2015 benchmark.
  • Temporal Consistency: On the TartanAir dataset, the model reduced the jitter metric ($|\Delta d|$) significantly compared to RAFT-Stereo (e.g., from 0.35px down to 0.21px in all regions).
  • Speed: The system is highly efficient, processing frames in approximately 0.09 seconds, making it suitable for near-real-time applications.
  • Generalization: The model outperformed existing SOTA methods like IGEV-Stereo in zero-shot tests on the ETH3D dataset, proving its robustness across different environments.

Limitations

The model's reliance on temporal links is its primary vulnerability in specific scenarios:

  • Extreme Motion: Very fast-moving objects or rapid camera "teleportation" can break the temporal correspondence, as there may be little to no overlap between adjacent frames.
  • Pose Sensitivity: The projection step relies on accurate camera poses. Large errors in pose estimation can lead to incorrect initializations.
  • Degradation: In cases where the temporal link fails completely, the model essentially reverts to a standard global search, losing its consistency advantages.

Summary updated

BibTeX
@inproceedings{zeng2024temporally,
  author = {Jiaxi Zeng and Chengtang Yao and Yuwei Wu and Yunde Jia},
  title = {{Temporally Consistent Stereo Matching}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72751-1\_20},
}
Figure