Deep Residual Network for Joint Demosaicing and Super-Resolution

Ruofan Zhou, Radhakrishna Achanta, Sabine Süsstrunk

Introduction

Digital imaging pipelines typically treat demosaicing and super-resolution (SR) as independent, sequential tasks. Demosaicing reconstructs full color from a Bayer-patterned sensor, while SR increases spatial resolution. However, this sequential approach often leads to "error accumulation": artifacts introduced during demosaicing, such as "zippering" or false colors, are treated as legitimate image features by subsequent SR algorithms, which then amplify and sharpen them.

This paper proposes a deep residual network designed to perform joint demosaicing and super-resolution in a single end-to-end step. By mapping directly from raw Bayer data to high-resolution RGB, the model bypasses the creation of intermediate artifacts and learns a more robust representation of the scene.

Proposed Architecture

The proposed feed-forward fully-convolutional residual network consists of three primary stages:

  1. Color Extraction: A convolutional layer with a stride of 2 separates the single-channel Bayer input into distinct color features. These are then processed by a sub-pixel convolution layer to restore the original spatial resolution.
  2. Feature Mapping: The core of the network comprises 24 residual blocks. These blocks utilize Parametric ReLU (PReLU) activations and omit batch normalization to preserve the range flexibility necessary for high-fidelity image restoration.
  3. Reconstruction: A final sub-pixel convolutional layer upsamples the features to the target high resolution, followed by a convolution layer that produces the final 3-channel RGB output.

Experimental Methodology

The model was trained using the RAISE dataset, which contains over 8,000 high-quality uncompressed raw images. To ensure the network learned to reconstruct true scene details rather than sensor noise or existing artifacts, the researchers developed a rigorous data preparation pipeline. High-resolution (16MP) images were downsampled to 4MP to create "clean" ground truth, which were then further downsampled and masked with a digital Bayer pattern to create the 1MP input samples.

Results and Discussion

The joint model demonstrates significant improvements over sequential state-of-the-art methods. Quantitatively, the proposed network achieved a mean PSNR of 31.41 dB and an SSIM of 0.9476, representing an average improvement of approximately 1.3 dB over combinations like DemosaicNet and SRCNN.

Qualitative and quantitative comparison of the proposed joint model against sequential baselines on a sample from the RAISE dataset.

Visually, the joint approach effectively eliminates common artifacts. While sequential methods often exhibit jagged edges (zippering) and moiré patterns in high-frequency regions, the proposed residual network produces much cleaner results that closely match the high-resolution reference. Furthermore, the joint model is computationally efficient; it performs both tasks faster than some standalone demosaicing networks (619ms vs 650ms).

Conclusion

By unifying demosaicing and super-resolution into a single deep learning framework, this research addresses the fundamental problem of artifact amplification in imaging pipelines. The resulting model is not only more accurate but also more efficient and generalizable to various color filter array patterns. Future work may extend this architecture to handle real-world sensor noise and multi-scale video super-resolution.

Summary updated

Abstract

The two classic image restoration tasks, demosaicing and super-resolution, have traditionally always been studied independently. That is sub-optimal as sequential processing, demosaicing and then super-resolution, may lead to amplification of artifacts. In this paper, we show that such accumulation of errors can be easily averted by jointly performing demosaicing and super-resolution. To this end, we propose a deep residual network for learning an end-to-end mapping between Bayer images and high-resolution images. Our deep residual demosaicing and super-resolution network is able to recover high-quality super-resolved images from low-resolution Bayer mosaics in a single step without producing the artifacts common to such processing when the two operations are done separately. We perform extensive experiments to show that our deep residual network achieves demosaiced and super-resolved images that are superior to the state-of-the-art both qualitatively and quantitatively.
BibTeX
@inproceedings{zhou2018deep,
  author = {Ruofan Zhou and Radhakrishna Achanta and Sabine Süsstrunk},
  title = {{Deep Residual Network for Joint Demosaicing and Super-Resolution}},
  booktitle = {CIC},
  year = {2018},
  url = {https://openreview.net/forum?id=2fEaRv9PLK},
}
Figure