Abstract: We present a plane-sweep algorithm for removing occluding objects in front of the objective scene from multiple weakly-calibrated cameras. Projective grid space (PGS), a weak cameras calibration framework, is used to obtain geometrical relations between cameras. Plane-sweep algorithm works by implicitly reconstructing the depth maps of the targeted view. By excluding the occluding objects from the volume of the sweeping planes, we can generate new views without the occluding objects. The results show the effectiveness of the proposed method and it is fast enough to run in several frames per second on a consumer PC by implementing the proposed plane-sweep algorithm in graphics processing unit (GPU).
Introduction
In the field of computer vision, Augmented Reality (AR) typically focuses on the addition of virtual elements to a real-world environment. Conversely, Diminished Reality (DR) aims to digitally remove real objects from a scene to reveal the background behind them. This process, often referred to as "inpainting," is technically challenging when using a single camera, as the system must guess the hidden content. While multi-camera setups allow the system to "see around" occluders, traditional methods rely on strong camera calibration—requiring precise knowledge of internal lens parameters and 3D positioning—which is often tedious and fragile to maintain.
This paper proposes a real-time DR system that utilizes multiple weakly-calibrated cameras. By leveraging Projective Grid Space (PGS) and a GPU-accelerated plane-sweep algorithm, the system can synthesize clean, occluder-free views from arbitrary perspectives without requiring rigorous physical measurements or intrinsic camera data.
Methodology
Projective Grid Space (PGS)
The core of the "weak calibration" approach is Projective Grid Space. Unlike Euclidean space, which defines the world in physical units like meters, PGS defines the 3D environment using the 2D pixel coordinates of two "basis" cameras. This framework establishes geometric relationships (using trifocal tensors) based solely on matching points between camera feeds, bypassing the need for complex intrinsic calibration.
The Plane-Sweep Algorithm
To synthesize a virtual viewpoint, the system employs a plane-sweep algorithm. This method "sweeps" a series of virtual planes through the 3D space. For every pixel in the target virtual view, the algorithm projects that point onto all available physical camera feeds.
If the color at a projected point is consistent across multiple cameras, the algorithm assumes it has encountered a solid surface. High color variance indicates an outlier or an occluder. By implementing this scoring and rendering process in GLSL (OpenGL Shading Language), the system leverages the parallel processing power of the GPU to achieve interactive speeds.
The "Diminished" Trick
The removal of an object is achieved through volume exclusion. A user defines "near" and "far" planes within the PGS to bound the volume containing the unwanted occluder. By restricting the algorithm to search for color consistency only within the volume behind the occluder, the system effectively "looks through" the unwanted object to find the background information provided by the other cameras.
Experimental Results
The system was evaluated using a setup of six consumer webcams at 320x240 resolution. Processing was handled by a PC equipped with an Intel Core2 DUO 3.0 GHz and an NVIDIA Quadro FX 570 GPU.
- Performance: The system achieved interactive frame rates of approximately 10.0 FPS when using 20 virtual planes. Increasing the depth resolution to 100 planes reduced the speed to 1.76 FPS. The authors identified 60 planes as the optimal balance between visual quality and performance.
- Quality: Using Peak Signal-to-Noise Ratio (PSNR) as a metric, the system scored between 28.2 and 28.5 dB compared to ground-truth images of the scene without occluders. Visual results demonstrated the successful erasure of dynamic objects to reveal the background.
Discussion and Limitations
While effective, the current system has several limitations. The definition of the "near" and "far" planes currently requires manual user input. Additionally, while the scene can be dynamic, the physical cameras must remain stationary to maintain the validity of the initial PGS calibration. Finally, the use of unsynchronized consumer webcams can lead to ghosting artifacts during fast-moving sequences. Future work may involve natural feature tracking to automate the calibration process and improve the robustness of the system in more varied environments.
Summary updated