TL;DR
This paper introduces a novel deep learning approach for removing obstructions like reflections and fences from image sequences captured by a moving camera. By decomposing the scene into background and obstruction layers and leveraging motion differences, their method achieves state-of-the-art results on challenging real-world scenarios.
What Problem Does This Paper Address?
Capturing clear images is often hindered by obstructions such as window reflections, fences, or raindrops. While single-image methods exist, they struggle with the inherent ill-posed nature of the problem. Multi-frame approaches offer a promising solution by exploiting motion differences between the background and obstructing elements, as these elements often exist at different depths relative to the camera. However, existing multi-frame methods often rely on computationally expensive optimization processes and strict assumptions (e.g., brightness constancy) that can lead to brittle performance, especially on out-of-distribution or complex real-world images. This paper aims to bridge this gap by developing a learning-based multi-frame approach that is robust to these limitations.
Methods
The core of the proposed method is a learning-based, multi-frame obstruction removal framework that combines the strengths of optimization-based and data-driven approaches. It operates in a coarse-to-fine manner across multiple pyramid levels.
- Initial Flow Decomposition: Instead of relying on dense optical flow estimation for each layer, the method first predicts a uniform motion vector for both the background and reflection layers at the coarsest level. This is achieved using a CNN that extracts features and then estimates these global motion vectors. This approach is more robust than dense flow estimation at this initial stage.
- Background/Reflection Layer Reconstruction: This module reconstructs the clean background and obstruction layers. It leverages the estimated flow fields to warp and align input frames. A key innovation here is the use of a deep CNN that takes multiple warped frames, difference maps, visibility masks, and previously reconstructed layers as input to predict a residual map for the target layer. This module is designed to handle an arbitrary number of input frames due to its use of weight sharing and max pooling.
- Optical Flow Refinement: After reconstructing the layers, the method refines the optical flow fields using a pre-trained PWC-Net. This step helps to improve the accuracy of the layer decomposition.
The training involves a two-stage process: first, pre-training on synthetic data using a supervised loss that includes flow and image reconstruction losses, and then fine-tuning on real-world data using an unsupervised warping consistency loss. Meta-learning is also employed to accelerate the adaptation to new sequences.
Datasets
- Synthetic Data: The authors generated synthetic sequences for training by using the Vimeo-90k dataset. They randomly selected background and reflection sequences, applied augmentations (color, noise, JPEG compression, blur, vignetting), and blended them using a realistic reflection image synthesis model.
- Controlled Sequences: The paper evaluates on controlled sequences from Xue et al. [20] which provide ground-truth for background and reflection layers.
- Collected Sequences: The authors also collected six new sequences with ground-truth for reflection, fence, and semi-transparency scenarios. For semi-transparent scenes, only ground-truth background images were available.
- Real-world Sequences: The method was tested on various real-world sequences, including those from [20], and self-captured sequences using an iPhone 11 and Google Pixel 3.
Key Insights and Ideas
- Uniform Motion Vector Initialization: Predicting a single motion vector per layer at the coarsest level is more robust than dense flow estimation for initial layer separation, especially in challenging scenarios.
- Learning-based Layer Reconstruction: Using a CNN to reconstruct layers from flow-warped images allows the model to implicitly learn to handle errors in flow estimation and violations of brightness constancy, which are common issues in traditional methods.
- Coarse-to-Fine Pyramid Structure: Decomposing the problem into multiple levels of increasing resolution allows for more stable and accurate layer separation and flow estimation.
- Meta-learning for Fast Adaptation: Employing meta-learning significantly speeds up the fine-tuning process on new sequences, making the method more practical for real-world applications.
- Extensibility: The framework is designed to be flexible and can be adapted to other obstruction removal tasks like fence and raindrop removal with minimal modifications.
Key Results
- Quantitative Performance: The proposed method significantly outperforms existing state-of-the-art methods (including single-image and multi-frame approaches) on various metrics (SSIM, NCC, LMSE, PSNR) across controlled, collected, and synthetic datasets. For instance, on controlled sequences, their method achieved higher SSIM and NCC scores compared to methods like Li and Brown [14], Guo et al. [15], and Alayrac et al. [19].
- Qualitative Results: Visual comparisons show that the method effectively removes reflections and fences, producing cleaner background and obstruction layers with better temporal coherence compared to prior work. It also handles challenging scenarios like non-planar backgrounds and moving objects.
- Efficiency: With meta-learning, the online optimization process is sped up by 4x-5x, achieving similar or better quality.
Limitations and Future Work
- Failure Cases: The paper acknowledges that the method struggles with highly dynamic scenes with multiple layers of reflections or severe occlusions, where flow estimation becomes unreliable. Figure 18 illustrates a failure case with complex reflections, and Figure 19 shows a scene with a highly dynamic object (cat) where the method produces blurry reconstructions.
- Adherent Raindrops: While the method can handle adherent raindrops, severe occlusions caused by them can still pose a challenge, as seen in Figure 20.
- Future Work: The authors suggest that the framework can be extended to other layer decomposition problems. The current work focuses on improving the visual quality of obstruction removal, and future work could explore further enhancements in handling dynamic scenes and more complex obstruction types.
Summary updated