Nonrigid Structure from Motion in Trajectory Space

Ijaz Akhter, Yaser Sheikh, Sohaib Khan, Takeo KanadeNeurIPS 2008

Introduction

Recovering 3D structure from a sequence of 2D images is a classic computer vision challenge. When the object is rigid (like a building), the problem is well-understood. However, when the object is nonrigid (like a person dancing or a face smiling), the problem becomes "ill-posed"—there are infinitely many 3D configurations that could project to the same 2D points.

Traditional approaches solved this by assuming the object's shape at any instant is a combination of a few "basis shapes." The catch? These basis shapes are highly specific to the object. A basis for a smiling mouth won't help you reconstruct a walking person. Consequently, researchers had to estimate both the 3D structure and the object-specific basis simultaneously, which is computationally unstable and often fails when the motion is highly fluid or lacks a large rigid component.

This paper revolutionizes Nonrigid Structure from Motion (NRSfM) by shifting the focus from "shape space" to "trajectory space." By modeling the 3D evolution of an object as a linear combination of predefined, generic basis trajectories, the authors drastically reduce the number of unknowns, enabling the reconstruction of highly complex, nonrigid motions from a single moving camera.

Methods: The Shift to Trajectory Space

The authors propose a "lateral" shift in perspective. Instead of looking at the spatial arrangement of points at one moment (shape), they look at the path a single point takes over time (trajectory).

Comparison of representing nonrigid motion in shape space versus trajectory space.

Key Innovations

  1. Trajectory Duality: They mathematically demonstrate that representing a sequence in shape space is dual to representing it in trajectory space. If a motion can be described by $k$ basis shapes, it can also be described by $k$ basis trajectories.
  2. Predefined Generic Basis: Unlike shape bases, which are object-specific, trajectory bases can be generic. Because physical motion is constrained by forces and inertia, it tends to be smooth. The authors use the Discrete Cosine Transform (DCT) as a predefined basis.
A 3D point trajectory represented as a linear combination of predefined basis trajectories, such as the Discrete Cosine Transform (DCT).
  1. Factorization: By using a known basis (DCT), they remove the need to estimate the basis vectors during computation. The problem reduces to finding the rotation matrices and a small set of coefficients. This significantly reduces the number of unknowns and improves estimation stability.

Key Insights and Ideas

  • Physics as a Constraint: The "aha moment" is that while shapes are arbitrary, trajectories are physically motivated. A tree swaying or a person walking follows a path dictated by wind speed or muscle flexion. This smoothness makes trajectories compressible in frequency space (hence why DCT works so well).
  • Object Independence: You don't need to know what you are looking at to reconstruct it. The same DCT basis works for a dancing human, a swimming shark, or a bending dinosaur.
  • Stability through Reduction: By treating the basis as "known" (predefined DCT), the algorithm avoids the "ambiguity" trap that plagues shape-basis methods, which often get lost trying to define the object's structure and its motion at the same time.

Datasets and Results

The authors validated their approach using a mix of synthetic, motion-capture, and real-world data, including the CMU Mocap Database, the Shark Dataset, and real video sequences like a face sequence from the PIE dataset and a clip from The Matrix.

The "Trajectory Space" method significantly outperformed state-of-the-art shape-basis methods in both accuracy and stability:

  • Quantitative: On the "Drink" dataset, the trajectory method achieved a reconstruction error of 0.025, compared to 0.339 and 3.51 for competing methods.
  • High Nonrigidity: The method successfully reconstructed a "person dancing"—a sequence with extreme deformation that caused previous methods to fail or produce garbled results.
  • Camera Motion: The authors found that increased camera motion actually improves reconstruction stability, providing a clear relationship between the degree of deformation and the required camera movement.

Limitations and Future Work

  • Smoothing Effect: Because the method uses a truncated DCT basis (keeping only low frequencies), it has a "smoothing" effect on the reconstruction. While this helps with noise, it might discard very high-frequency, jittery movements.
  • Basis Selection: While DCT proved highly effective, the authors suggest that other unitary transforms (like Wavelets or Hadamard) could be explored.
  • Hybrid Approaches: A promising future direction is a "synergistic" approach that uses both shape and trajectory bases concurrently to capture the best of both worlds—spatial structure and temporal smoothness.

Summary updated

BibTeX
@inproceedings{akhter2008nonrigid,
  author = {Ijaz Akhter and Yaser Sheikh and Sohaib Khan and Takeo Kanade},
  title = {{Nonrigid Structure from Motion in Trajectory Space}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2008},
}
Figure