Abstract
We present a novel approach to reference-based super-resolution (RefSR) specifically for dual-camera systems (DCSR) in smartphones. By utilizing a telephoto lens as a high-resolution reference for a wide-angle image, we achieve high-fidelity upscaling. Our method introduces Aligned Attention Modules to handle spatial misalignments and a self-supervised domain adaptation strategy for real-world images. Experiments on a new 4K dataset (CameraFusion) and public benchmarks show significant improvements over state-of-the-art methods in both quantitative metrics and visual quality.
Introduction
Most modern smartphones feature an asymmetric camera system: a wide-angle (main) lens and a telephoto lens. While the wide-angle lens captures a large field of view (FoV), it lacks the fine detail of the telephoto lens. Reference-based Super-Resolution (RefSR) aims to use the high-res telephoto image to "fill in the blanks" of the wide-angle shot.
Challenges in Dual-Camera SR
Two major hurdles exist in practical DCSR:
- Spatial Misalignment: Because the lenses are physically separated, the images have different viewpoints, scales, and rotations. Standard patch-matching techniques often fail to align these perfectly, leading to blurry results.
- The Domain Gap: Most SR models are trained on synthetic data (like bicubic downsampling). When applied to real-world smartphone photos—which have complex sensor noise and different Image Signal Processing (ISP) pipelines—these models often degrade in performance.
Methods
Our pipeline consists of two main components: Feature Warping and Adaptive Fusion.
Aligned Attention Module (AAM)
Instead of standard patch-matching, the AAM uses a Local Spatial Transformer Network. This allows the model to implicitly learn inter-patch transformations, correcting for slight rotations or scale differences before the features are fused.
Adaptive Fusion and Fidelity Loss
Not every reference patch is a perfect match. The model generates a learnable confidence map to weight information from the reference versus the original image. To prevent the model from ignoring the reference (the "idleness" problem), we introduce a Fidelity Loss that forces the network to maximize similarity between the output and high-confidence reference patches.
Self-supervised Real-image Adaptation (SRA)
To bridge the gap between training and reality, we propose a fine-tuning stage. We take real-world pairs, downsample them, and use the original wide-angle image as a "pseudo ground truth" while enforcing a fidelity loss to ensure the model learns to transfer details from the telephoto reference.
Datasets
We utilize two primary datasets:
- CUFED5: A standard benchmark for RefSR containing 11,871 training pairs.
- CameraFusion: A new dataset specifically for this task, consisting of 146 pairs of 4K images captured from real smartphone main and telephoto cameras. This dataset reflects the actual geometric and color discrepancies found in mobile photography.
Experimental Results
Our proposed method, Ours-l1, shows significant gains over previous leaders like TTSR and SRNTT:
- Quantitative Evaluation: On the CUFED5 dataset, the model achieved a PSNR of 27.30, outperforming the previous best (TTSR-l1 at 27.09). On the CameraFusion dataset, we observed a larger jump, hitting 36.98 PSNR compared to the next best at 36.28.
- Qualitative Comparison: Visual results show that while other methods produce "hallucinated" or blurry textures, our method reconstructs sharp, readable text and fine facial features.
- User Study: In a human preference test on Amazon Mechanical Turk, users preferred our results over the next-best competitor (TTSR) by a nearly 90% preference rate.
Conclusion
By integrating alignment-aware attention and domain-specific adaptation, this work sets a new standard for dual-camera super-resolution. While computational complexity remains a hurdle for real-time mobile implementation, the results demonstrate the power of leveraging asymmetric camera systems for high-fidelity imaging. Our code and data are available at https://tengfei-wang.github.io/Dual-Camera-SR/index.html.
Summary updated