Depth-Aware Image Compositing Model for Parallax Camera Motion Blur

German F. Torres, Joni-Kristian Kämäräinen

Abstract

Traditional image deblurring often assumes a uniform blur kernel across the entire image plane. However, real-world camera motion—particularly lateral movement or "parallax"—results in spatially varying blur where foreground objects smear more significantly than the background. This paper introduces the Image Compositing Blur (ICB) model, a novel framework that treats images as a stack of depth-based layers. By discretizing the scene into $L$ depth layers and utilizing alpha-matting for blending, the ICB model achieves high-fidelity deblurring with a 30x–50x reduction in memory consumption compared to pixel-wise baselines. Validated on new synthetic (VirtualCMB) and real-world (RealCMB) datasets, the model demonstrates superior performance at depth discontinuities and robustness to noisy depth data.

1. Introduction

Camera motion blur is a pervasive issue in photography, typically modeled as a convolution of a sharp image with a blur kernel. While many algorithms assume this kernel is spatially invariant, this assumption fails in 3D scenes where camera translation (parallax) occurs. In such cases, the blur is depth-dependent: objects closer to the camera exhibit larger displacement than those in the distance. Modeling this variation is computationally expensive, often requiring a unique kernel for every pixel. Furthermore, handling "depth discontinuities"—the boundaries where blurry foregrounds overlap sharp backgrounds—remains a significant challenge for existing methods.

2. The Image Compositing Blur (ICB) Model

The authors propose the ICB model to address the computational and qualitative shortcomings of previous spatially varying blur models.

2.1 Layered Discretization

Rather than calculating a unique blur for every pixel, the ICB model discretizes the scene into $L$ discrete depth layers. Each layer corresponds to a specific depth range and is assigned a single blur kernel derived from the camera's trajectory and the layer's mean depth. This discretization allows the model to approximate complex parallax blur with high accuracy while drastically lowering computational overhead.

2.2 Alpha-Matting and Occlusion Handling

To reconstruct the final blurred image, the layers are blended using alpha-matte terms. A critical innovation in this work is the handling of occlusions—areas that are revealed or hidden during camera motion. The authors employ a smoothing and dilation technique on depth regions to ensure natural transitions at object boundaries, avoiding the "ghosting" artifacts common in simpler models.

2.3 Neural Representation with SIREN

For the task of deblurring, the system represents the sharp latent image using a coordinate-based Multi-Layer Perceptron (MLP) known as SIREN (Sinusoidal Representation Networks). The ICB model serves as a differentiable bridge: the MLP generates a sharp image, the ICB model applies depth-aware blur, and the resulting output is compared against the observed blurry image to optimize the MLP's weights.

3. Experimental Setup

To evaluate the model, the researchers developed two specialized datasets:

  • VirtualCMB: A synthetic dataset created in the Unity engine, containing 983 image pairs. It provides perfect ground-truth for depth and camera paths across "Macro" (close-up), "Trucking" (lateral), and "Standard" scenarios.
  • RealCMB: A real-world collection of 58 image pairs captured with an iPhone. This dataset utilizes the device's LiDAR sensor to provide synchronized RGB data, depth maps, and camera poses, reflecting the "noisy" conditions of consumer hardware.

4. Key Insights

The research highlights that depth-dependent blur is most pronounced in near-field photography and high-speed lateral motion (the "Macro and Trucking Rule"). A significant finding is that scene discretization into layers is highly effective; the model demonstrates that a finite number of depth layers can approximate complex parallax blur with high accuracy. Moreover, the ICB model proved surprisingly robust to the inherent noise in LiDAR-generated depth maps, outperforming baselines on real-world data.

5. Results

The ICB model demonstrates substantial improvements in both efficiency and quality:

  • Memory Efficiency: The model achieved a 32x reduction in memory usage for real-world datasets and up to a 50x reduction for high-resolution synthetic data compared to Pixel-Wise Blur (PWB) models.
  • Restoration Quality: When paired with SIREN, the ICB approach outperformed state-of-the-art deep learning models like Restormer and MPRNet on the RealCMB dataset in terms of PSNR and SSIM.
  • Visual Fidelity: Qualitative analysis shows that ICB handles depth discontinuities far better than traditional methods, producing cleaner edges and reducing artifacts at the boundaries of overlapping objects.

6. Conclusion and Future Work

The Image Compositing Blur model provides a physics-grounded, efficient solution for parallax-induced motion blur. While it currently relies on external metadata (depth maps and camera trajectories), it sets a new benchmark for depth-aware restoration. Future research aims to integrate the estimation of depth and trajectory directly into the model, potentially enabling high-quality deblurring for standard imagery without specialized sensors.

Summary updated

BibTeX
@inproceedings{torres2023depth,
  author = {German F. Torres and Joni-Kristian Kämäräinen},
  title = {{Depth-Aware Image Compositing Model for Parallax Camera Motion Blur}},
  booktitle = {SCIA},
  year = {2023},
  doi = {10.1007/978-3-031-31435-3\_19},
}
Figure