A Generic Deep Architecture for Single Image Reflection Removal and Image Smoothing

Qingnan Fan, Jiaolong Yang, Gang Hua, Baoquan Chen, David P. Wipf

Abstract

Single-image reflection removal and image smoothing are fundamental yet ill-posed problems in computer vision. This paper presents CEILNet (Cascaded Edge and Image Learning Network), a unified deep learning framework that addresses these tasks by leveraging edges as a structural prior. CEILNet adopts a two-stage pipeline: first, an Edge-CNN (E-CNN) predicts the edge map of the target image; second, an Image-CNN (I-CNN) utilizes both the original input and the predicted edges to reconstruct the final output. This decoupling of structure and content allows the model to achieve state-of-the-art results across both tasks while maintaining high computational efficiency.

Introduction

Low-level vision tasks such as reflection removal and image smoothing are inherently difficult because they require separating a single input into multiple layers or components. In reflection removal, an image $I$ is a combination of background $B$ and reflection $R$ ($I = B + R$). In image smoothing, the goal is to extract the main structure while suppressing fine textures. Traditional methods often rely on complex optimization or handcrafted priors. CEILNet proposes that predicting the target's edges is a more manageable intermediate step that significantly simplifies the final reconstruction.

The CEILNet Architecture

The core of CEILNet is its cascaded structure. Both the E-CNN and I-CNN share a similar deep architecture consisting of 32 convolutional layers designed to capture both local detail and global context.

The CEILNet architecture: (a) shows the cascaded pipeline of edge prediction (E-CNN) followed by image reconstruction (I-CNN); (b) details the 32-layer convolutional block structure with residual connections.

The network employs residual blocks and a "downsampling-then-upsampling" strategy (stride-2 convolution followed by deconvolution) to expand the receptive field. A key innovation is the use of a gradient discrepancy loss, which ensures sharp transitions in the output by penalizing deviations from the ground truth gradients, preventing the blurriness common in standard MSE-based models.

Edges as a Structural Prior

The E-CNN is trained to predict the specific edge map of the desired target (e.g., the reflection-free background or the smoothed structure). This edge map serves as a "skeleton" for the I-CNN.

An example of a predicted edge map from the E-CNN, which provides a structural guide for the subsequent image reconstruction stage.

By focusing on edges first, the network can more effectively identify and preserve important structural boundaries while filtering out unwanted components like reflections or fine textures. This approach avoids the limitations of previous deep learning models that relied on handcrafted post-processing steps.

Data Synthesis and Training

To overcome the lack of real-world ground truth for reflection removal, the authors developed a sophisticated synthetic data generation method using images from the PASCAL VOC dataset. By accounting for physical properties like brightness saturation and adaptive subtraction, the synthetic data closely mimics real-world reflections. For image smoothing, the network is trained to approximate the outputs of eight traditional filters, including $L_0$ smoothing and bilateral filters, demonstrating the architecture's versatility.

Results and Discussion

CEILNet demonstrates superior performance in both tasks. In image smoothing, it achieves a PSNR of 37.10 dB for $L_0$ approximation, significantly outperforming previous deep learning models (33.37 dB). In reflection removal, it reaches 18.55 dB on synthetic benchmarks, a substantial improvement over the prior state-of-the-art (15.50 dB). Beyond accuracy, CEILNet is highly efficient, processing 640x480 images at over 8 frames per second on a GPU, making it suitable for real-time applications.

Conclusion

CEILNet provides a robust and generic solution for complex low-level vision problems. Its success highlights the power of using edges as an intermediate representation to guide deep learning models in ill-posed reconstruction tasks. The authors suggest this cascaded pipeline is highly transferable and could be extended to other domains such as image denoising and inpainting.

Summary updated

BibTeX
@inproceedings{fan2017generic,
  author = {Qingnan Fan and Jiaolong Yang and Gang Hua and Baoquan Chen and David P. Wipf},
  title = {{A Generic Deep Architecture for Single Image Reflection Removal and Image Smoothing}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.351},
}
Figure