Camera Calibration from Dynamic Silhouettes Using Motion Barcodes

Gil Ben-Artzi, Yoni Kasten, Shmuel Peleg, Michael Werman

Abstract

Computing the epipolar geometry between cameras with very different viewpoints is often problematic as matching points are hard to find. In these cases, it has been proposed to use information from dynamic objects in the scene for suggesting point and line correspondences. We propose a speed up of about two orders of magnitude, as well as an increase in robustness and accuracy, to methods computing epipolar geometry from dynamic silhouettes. This improvement is based on a new temporal signature: motion barcode for lines. Motion barcode is a binary temporal sequence for lines, indicating for each frame the existence of at least one foreground pixel on that line. The motion barcodes of two corresponding epipolar lines are very similar, so the search for corresponding epipolar lines can be limited only to lines having similar barcodes. The use of motion barcodes leads to increased speed, accuracy, and robustness in computing the epipolar geometry.

TL;DR

This paper introduces "motion barcodes"—a simple but powerful temporal signature—to calibrate cameras with widely different viewpoints where traditional feature matching fails. By representing the presence of a moving silhouette on a line as a binary sequence over time, the authors achieve a 100x speedup in computing epipolar geometry compared to previous silhouette-based methods.

The Challenge of Wide-Baseline Calibration

To reconstruct a 3D scene from multiple cameras, one must first determine the relative pose of the cameras, a process known as calibration. Traditional methods rely on finding "matching points" (e.g., SIFT or SURF features) visible in both views. However, in "wide-baseline" scenarios—such as two cameras viewing a person from opposite sides—the appearance changes so drastically that standard algorithms fail to find reliable correspondences.

In these cases, researchers utilize dynamic silhouettes—the moving outlines of objects. While silhouettes provide geometric constraints (tangent lines to the silhouette must correspond to epipolar lines), searching for the correct matching lines is computationally expensive. It is essentially a "needle in a haystack" problem, requiring the testing of thousands of potential line pairs to find those that satisfy the epipolar geometry.

Methodology: The Motion Barcode

The core innovation presented is the Motion Barcode, a temporal signature that significantly prunes the search space for corresponding lines.

Wide-baseline viewpoints and their corresponding silhouettes used for epipolar geometry estimation.
  1. The Barcode Generation: For any candidate line in a video frame, a binary sequence (the barcode) is generated. If the line intersects a foreground silhouette in frame t, the bit is 1; otherwise, it is 0.
  2. Temporal Matching: Since corresponding epipolar lines observe the same 3D object at the same time, their barcodes should be nearly identical. The algorithm restricts its search to line pairs with highly correlated barcodes.
  3. Two-Phase Approach:
    • Offline: Barcodes are precomputed for candidate lines, specifically those tangent to the silhouette's convex hull.
  4. Online: A RANSAC (Random Sample Consensus) approach finds the best fundamental matrix by sampling from high-correlation line pairs.
  5. Iterative Optimization: The initial calibration is refined using a cost function combining spatial distance (proximity to silhouettes) and temporal correlation (barcode matching).

Experimental Evaluation

The approach was evaluated on four datasets: Kung-Fu Girl (synthetic), Boxer, Street Dancer, and Dancing Girl (real-world). These datasets feature significant viewpoint changes and complex human motion.

Key Results

  • Efficiency: The method is approximately 100x faster than previous state-of-the-art silhouette-based methods.
  • Accuracy: The approach consistently achieves sub-pixel accuracy. On the synthetic Kung-Fu dataset, it reached 0.8-pixel accuracy in just 4 non-linear optimizations, compared to 134 for the baseline.
  • Reliability: In the Kung-Fu dataset (300 camera pairs), the proposed method failed on only 2 pairs, while the baseline failed on 78.

Discussion

The primary insight is that in wide-baseline settings, what an object looks like (spatial) is unreliable, but when it occupies a certain 3D space (temporal) is an invariant. By requiring barcodes to match, the search space for RANSAC is reduced by orders of magnitude, making the algorithm both faster and more robust to noise.

Limitations and Future Work

  • Occlusions: Background objects blocking the silhouette in one view can cause barcode mismatches.
  • Silhouette Quality: The method depends on effective background subtraction; noisy or "broken" silhouettes degrade performance.
  • Requirement for Motion: The method cannot calibrate cameras viewing static scenes, as barcodes would remain constant.

Future work may involve extending these temporal signatures to handle complex occlusions or integrating them with other sensors for more robust "in-the-wild" calibration.

Summary updated

BibTeX
@inproceedings{benartzi2016camera,
  author = {Gil Ben-Artzi and Yoni Kasten and Shmuel Peleg and Michael Werman},
  title = {{Camera Calibration from Dynamic Silhouettes Using Motion Barcodes}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  url = {https://openreview.net/forum?id=rkZHbaZdZH},
}
Figure