Real-time free viewpoint video from uncalibrated cameras using plane-sweep algorithm

Songkran Jarusirisawad, Hideo Saito, Vincent NozickWorkshops @ ICCV 2009

Abstract

Generating high-quality free-viewpoint video (FVV) typically requires rigorous, high-precision camera calibration, a process that is often tedious and fragile. This paper introduces a system capable of real-time FVV using "uncalibrated" cameras. By performing a plane-sweep algorithm within a Projective Grid Space (PGS) and offloading computations to the GPU, the proposed method achieves interactive frame rates of up to 30 fps without needing internal camera parameters such as focal length or optical centers.

Introduction

Free Viewpoint Video allows users to navigate 3D scenes dynamically as if controlling a virtual camera. However, traditional Video-Based Rendering (VBR) methods rely on "strong calibration," involving precise knowledge of both intrinsic (internal optics) and extrinsic (position and orientation) parameters for every camera. Any slight movement in the setup can invalidate the calibration, making these systems difficult to maintain in real-world environments.

To address this, the authors propose a "weakly calibrated" approach. By combining Projective Grid Space with a GPU-accelerated plane-sweep algorithm, they enable live video streaming from standard webcams with minimal initial setup and high robustness to camera movement.

Methodology

Projective Grid Space (PGS)

The core of the system is the Projective Grid Space (PGS). Unlike Euclidean space, which defines the world in physical units like meters, PGS defines the 3D environment using the image coordinates of two "basis" cameras. As shown in Figure 4, this creates a 3D coordinate system ($P, Q, R$) where $P$ and $Q$ correspond to the $x,y$ coordinates of the first basis camera, and $R$ is derived from the $x$ coordinate of the second basis camera.

Projective Grid Space (PGS) definition using two basis cameras to establish a 3D coordinate system.

Weak Calibration and Trifocal Tensors

To integrate additional cameras into this space, the system utilizes trifocal tensors. This allows for the projection of 3D points from the PGS onto any camera in the setup using only point correspondences. This "weak calibration" bypasses the need for complex traditional calibration matrices, making the system significantly easier to deploy.

Plane-Sweep in PGS

The plane-sweep algorithm functions by "sweeping" a series of virtual planes through the scene. For each pixel in a virtual view, the algorithm determines which plane provides the most consistent color across all active camera views. In this implementation, the planes are defined along the $R$-axis of the PGS, allowing for an intuitive setup where "near" and "far" boundaries can be adjusted directly on the basis camera images.

The plane-sweep algorithm in PGS, illustrating virtual planes swept between 'near' and 'far' boundaries.

GPU Acceleration

To achieve real-time performance, the entire plane-sweep and color-consistency check is implemented using OpenGL fragment shaders. The system leverages homographies to warp images between views, a task for which modern GPUs are highly optimized. This implementation resulted in a speedup of 300 to 500 times compared to CPU-based processing.

Experimental Results

The system was evaluated using a setup of five Logitech Fusion webcams at 320x240 resolution. Using a "leave-one-out" methodology, the authors synthesized virtual views from the position of a real camera to compare the output against ground truth data.

Performance and Quality

The GPU implementation maintained a steady 30 fps (the webcam hardware limit) when using up to 60 planes. Even with 90 planes, the system stayed above 15 fps. In contrast, the CPU version struggled at a mere 0.06 fps.

Quality metrics indicated a Peak Signal-to-Noise Ratio (PSNR) of approximately 21-22 dB. The $d^{90}$ error, measuring the distance of misaligned pixels, was roughly 10-11 pixels. The results suggest a "sweet spot" for real-time applications at around 60-80 planes, where gains in quality begin to diminish relative to computational cost.

Conclusion and Future Work

The proposed system successfully demonstrates real-time FVV from uncalibrated cameras. While effective, the method faces limitations such as discretization artifacts (ghosting) when objects fall between planes and constraints on virtual camera movement within the region defined by the basis cameras. Future work may involve more sophisticated color-consistency scores or increasing the plane density as GPU capabilities continue to evolve.

Summary updated

BibTeX
@inproceedings{jarusirisawad2009real,
  author = {Songkran Jarusirisawad and Hideo Saito and Vincent Nozick},
  title = {{Real-time free viewpoint video from uncalibrated cameras using plane-sweep algorithm}},
  booktitle = {Workshops @ ICCV},
  year = {2009},
  doi = {10.1109/iccvw.2009.5457493},
}
Figure