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:
- 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.
- 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.
- 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.
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