Video Reflection Removal Through Spatio-Temporal Optimization

Ajay Nandoriya, Mohamed A. Elgharib, Changil Kim, Mohamed Hefeeda, Wojciech MatusikICCV 2017

Abstract

Capturing video through glass often introduces unwanted reflections that obscure the background scene. This paper presents a novel spatio-temporal optimization framework designed to separate background and reflection layers in video sequences. By jointly solving for motion and layer separation across multiple frames, the proposed method achieves temporally coherent, flicker-free results, effectively handling complex scenarios with moving objects and varying camera motion.

Introduction

The presence of reflections in video is a common problem in computer vision, particularly when filming through windows or glass partitions. While single-image reflection removal has seen significant progress, these methods often fail when applied to video due to temporal inconsistencies. The primary challenges include temporal flickering (jittering or flashing between frames), incomplete separation where reflections remain "baked" into the background, and motion blur affecting moving objects within the scene.

Methodology

The core of the proposed approach is a global optimization problem formulated over a sequence of $n$ frames.

Spatio-Temporal Optimization

The framework utilizes an objective function composed of three primary terms:

  • Data Term ($E_d$): Enforces that the sum of estimated background and reflection layers reconstructs the original input. It employs a "double summation" strategy to maintain consistency across all frames within a temporal window.
  • Layer Prior ($E_l$): Leverages edge information (e.g., Canny edges) to distinguish between background and reflection features.
  • Spatial Smoothness ($E_s$): Ensures spatial regularity and minimizes high-frequency noise in the output layers.

Iterative Motion Initialization

To handle large displacements, the method uses iterative frame-to-frame alignment. By chaining small movements together, it constructs a robust motion model for both layers, which is more stable than direct long-range alignment, especially for faint reflections.

Moving Temporal Window

To maintain computational efficiency for long sequences, the optimization is performed within a sliding window of 5 frames.

The sliding window optimization process for temporal consistency.

As the window slides, the results for overlapping frames are averaged, ensuring smooth transitions and temporal stability throughout the video.

Experimental Evaluation

The method was evaluated on a diverse set of data, including 12 real-world sequences (outdoor, indoor, and moving vehicle shots), controlled synthetic data with local motion, and a controlled real-world dataset with ground truth obtained via a physical experimental rig.

Key Results

The proposed spatio-temporal optimization significantly outperforms existing methods in both qualitative and quantitative metrics.

Qualitative comparison of the proposed method against state-of-the-art techniques.

Quantitative analysis using Power Spectral Density (PSD) confirmed a substantial reduction in temporal artifacts compared to previous work by Xue et al. Furthermore, the method excels at recovering local motion; in sequences with moving objects, it maintains sharpness where competing methods often produce blur. On controlled real data, the approach achieved an SSIM of 0.82, surpassing the 0.77–0.78 range of other state-of-the-art techniques.

Conclusion and Future Work

By treating video as a spatio-temporal volume and solving for background and reflection layers simultaneously, this framework provides a robust solution for video reflection removal. However, the current reliance on a homography assumption limits its effectiveness in scenes with significant depth variation and parallax. Future research may explore non-planar motion models and adaptive mixing parameters to handle varying reflection intensities.

Summary updated

BibTeX
@inproceedings{nandoriya2017video,
  author = {Ajay Nandoriya and Mohamed A. Elgharib and Changil Kim and Mohamed Hefeeda and Wojciech Matusik},
  title = {{Video Reflection Removal Through Spatio-Temporal Optimization}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.264},
}
Figure