Learning Rigidity in Dynamic Scenes with a Moving Camera for 3D Motion Field Estimation

Zhaoyang Lv, Kihwan Kim, Alejandro J. Troccoli, Deqing Sun, James M. Rehg, Jan Kautz

Abstract: Estimation of 3D motion in a dynamic scene from a temporal pair of images is a core task in many scene understanding problems. In real-world applications, a dynamic scene is commonly captured by a moving camera (i.e., panning, tilting or hand-held), increasing the task complexity because the scene is observed from different viewpoints. The primary challenge is the disambiguation of the camera motion from scene motion, which becomes more difficult as the amount of rigidity observed decreases, even with successful estimation of 2D image correspondences. Compared to other state-of-the-art 3D scene flow estimation methods, in this paper, we propose to learn the rigidity of a scene in a supervised manner from an extensive collection of dynamic scene data, and directly infer a rigidity mask from two sequential images with depths. With the learned network, we show how we can effectively estimate camera motion and projected scene flow using computed 2D optical flow and the inferred rigidity mask. For training and testing the rigidity network, we also provide a new semi-synthetic dynamic scene dataset (synthetic foreground objects with a real background) and an evaluation split that accounts for the percentage of observed non-rigid pixels. Through our evaluation, we show the proposed framework outperforms current state-of-the-art scene flow estimation methods in challenging dynamic scenes.

Introduction

Estimating scene flow—the 3D motion of every point in a scene—is a fundamental task for robotics and autonomous driving. However, it becomes incredibly difficult when the camera itself is moving (e.g., a handheld camera or a car turning). In these scenarios, the 2D optical flow observed in the images is a "tangled" mix of two components:

  1. Ego-motion: Apparent motion caused by the camera moving through a static environment.
  2. Object motion: Actual 3D motion of dynamic objects (like people or cars).

To solve for object motion, one must first accurately estimate the camera's motion. This requires identifying which parts of the scene are static (rigid). Traditional methods often rely on brittle "piecewise rigidity" assumptions or semantic segmentation, which can fail in complex, real-world dynamics. This paper proposes a deep learning framework that jointly learns to identify rigid scene regions and estimate camera motion from RGB-D image pairs.

Methods

The authors introduce a multi-stage pipeline centered on a novel architecture designed to disentangle these motion components.

The system pipeline integrates the Rigidity-Transform Network (RTN) with a flow network to estimate 3D scene flow.
  • Rigidity-Transform Network (RTN): A fully convolutional encoder-decoder that takes two sequential RGB-D frames as input. It simultaneously predicts the relative camera pose (6DoF transformation) and a per-pixel binary rigidity mask identifying static background regions.
  • 2D Optical Flow: The system uses a standard pre-trained network (PWC-Net) to find correspondences between pixels in the two frames.
  • Pose Refinement: The predicted rigidity mask acts as a filter. The system takes the 2D flow correspondences only from the "rigid" regions and solves a robust least-squares problem to fine-tune the camera pose.
  • 3D Motion Calculation: With a refined camera pose and accurate 2D flow, the 3D scene flow is computed by back-projecting the 2D motion into 3D space.

Datasets

Training a rigidity-aware network requires ground truth for camera pose, 3D motion, and rigidity—data that is difficult to capture in the real world. To solve this, the authors created:

  • REFRESH (REal 3D From REconstruction with Synthetic Humans): A semi-synthetic dataset combining high-quality 3D reconstructions of real static environments with synthetic moving humans.
  • SINTEL Evaluation Split: A new split of the standard SINTEL benchmark based on the percentage of non-rigid pixels to test varying scene complexity.
  • TUM RGB-D: A real-world dataset used to demonstrate the model's ability to generalize from synthetic training data to noisy sensor data.

Key Results and Insights

Instead of treating rigidity as a separate semantic task, the RTN treats it as a geometric attention mechanism. By learning pose and rigidity together, the network learns to ignore "distractor" motions that would otherwise ruin camera tracking. Unlike semantic segmentation, this method learns rigidity based on epipolar geometry: if an object doesn't move relative to the background, it is rigid.

Qualitative comparison showing the effectiveness of the learned rigidity mask and the resulting projected scene flow compared to ground truth.

On the SINTEL benchmark, the proposed method significantly outperformed existing state-of-the-art optimization methods (like SRSF and VO-SF), especially in scenes with high amounts of non-rigid motion. The refinement step using the learned rigidity mask reduced the Relative Pose Error (RPE) to nearly zero in many test cases, proving that the mask effectively filters out outliers.

Limitations and Future Work

The final 3D estimation is only as good as the 2D optical flow. If the flow network fails due to extreme motion blur or occlusions, the 3D results will suffer. Additionally, the network can struggle with very small or slow-moving objects where the motion signal is indistinguishable from sensor noise. Future directions include moving toward a fully end-to-end system where flow, depth, and rigidity are all optimized within a single differentiable framework.

Summary updated

BibTeX
@inproceedings{lv2018learning,
  author = {Zhaoyang Lv and Kihwan Kim and Alejandro J. Troccoli and Deqing Sun and James M. Rehg and Jan Kautz},
  title = {{Learning Rigidity in Dynamic Scenes with a Moving Camera for 3D Motion Field Estimation}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  url = {https://openreview.net/forum?id=BkW059ZO-S},
}
Figure