Deep Hybrid Camera Deblurring for Smartphone Cameras

Jaesung Rim, Junyong Lee, Heemin Yang, Sunghyun Cho

TL;DR

This paper introduces HCDeblur, a novel deep learning framework for smartphone cameras that tackles low-light motion blur by leveraging a hybrid camera system. By fusing a long-exposure wide image with a burst of short-exposure ultra-wide images, HCDeblur achieves state-of-the-art deblurring quality, producing significantly sharper results than existing methods.

What Problem Does This Paper Address?

Smartphones, despite their impressive capabilities, struggle with low-light photography. Their compact sensors and lenses necessitate longer exposure times, making them highly susceptible to motion blur caused by hand shake or moving subjects. While various deblurring techniques exist, achieving practical, high-quality results, especially for significant blurs, remains a challenge. Existing methods often rely on single images, which lack sufficient information, or require specialized hardware like event cameras, making them unsuitable for everyday smartphones.

Methods

HCDeblur employs a two-pronged deep learning approach using a smartphone's built-in wide and ultra-wide cameras as a hybrid system.

  • Hybrid Camera System: The core idea is to capture two types of images simultaneously: a single, long-exposure wide image (which suffers from blur) and a burst of short-exposure ultra-wide images. These ultra-wide bursts provide crucial motion and detail information that is lost in the blurred wide image.
  • HC-DNet (Hybrid Camera Deblurring Network): This network takes the blurred wide image and uses the ultra-wide burst images to estimate pixel-wise motion trajectories. These trajectories are then used to construct blur kernels, which are fed into a kernel-deformable block (KDB) within a U-Net architecture. The KDB adaptively handles image features based on the estimated blur kernels, enabling more effective deblurring.
  • HC-FNet (Hybrid Camera Fusion Network): This network acts as a refinement stage. It takes the output from HC-DNet and further enhances it by leveraging the full sequence of ultra-wide burst images as reference frames. This step helps to recover fine details and correct any remaining artifacts.
  • FOV Alignment and Motion Estimation: A crucial preprocessing step involves aligning the ultra-wide images to the wide image, accounting for their different fields of view and optical centers. This is achieved using a homography estimation based on a plane sweep method. Pixel-wise motion trajectories are also extracted from the ultra-wide bursts using optical flow estimation (specifically, the RAFT network).

Datasets

The authors introduce the HCBlur dataset for training and evaluation, comprising two parts:

  • HCBlur-Syn: A synthetically generated dataset with 8,568 pairs of blurred wide images and corresponding ground-truth sharp images, along with ultra-wide burst images. This dataset was created by averaging frames from sharp wide videos and simulating realistic noise and blur synthesis.
  • HCBlur-Real: A real-world dataset containing 471 pairs of blurred wide images and ultra-wide bursts, collected from various indoor and night scenes. This dataset is used for evaluation with no-reference metrics, as ground truth is unavailable.

Key Insights and Ideas

  • Leveraging Multi-Camera Systems: The paper demonstrates that the inherent multi-camera setup in modern smartphones can be repurposed for advanced image processing tasks like deblurring, rather than just for different focal lengths.
  • Burst Ultra-Wide for Wide Deblurring: The key insight is that short-exposure ultra-wide bursts, despite their different FOV and lower resolution, contain invaluable motion and detail cues that can significantly improve the deblurring of a long-exposure wide image.
  • Kernel-Deformable Blocks: The introduction of KDBs in HC-DNet is critical. Instead of directly using estimated blur kernels, KDBs learn to predict offsets for deformable convolutions, making the deblurring process more robust to potential inaccuracies in kernel estimation.
  • Refinement with Burst Images: HC-FNet's success highlights the power of using the entire burst sequence for refinement, going beyond simple averaging or single-frame referencing.

Key Results

  • State-of-the-Art Performance: HCDeblur significantly outperforms existing single-image, reference-based, and kernel-based deblurring methods on both HCBlur-Syn and HCBlur-Real datasets, achieving the highest PSNR and SSIM scores.
  • HC-DNet Alone is Strong: Even the HC-DNet component, which performs kernel-based deblurring, surpasses most other methods, underscoring the effectiveness of the hybrid camera approach.
  • Qualitative Improvements: Visual comparisons show HCDeblur producing much sharper details, clearer text, and fewer artifacts compared to methods like NAFNet-64 and MotionETR, especially in challenging low-light and high-blur scenarios.
  • Robustness to Alignment: The paper notes that their method is designed to be robust to minor misalignments, a common issue in reference-based methods.

Limitations and Future Work

  • Computational Overhead: The current implementation relies on the RAFT optical flow network, which contributes to a relatively high inference time (around 4 seconds), making it unsuitable for real-time on-device applications.
  • Optical Flow Dependency: The method's performance can degrade if optical flow estimation fails, particularly in extremely noisy or textureless images.

The authors suggest future work could focus on optimizing the optical flow network or replacing it with more efficient alternatives, and exploring acceleration techniques to achieve real-time performance. Investigating methods to mitigate performance degradation when optical flow estimation is unreliable is also a promising direction.

Summary updated

BibTeX
@inproceedings{rim2024deep,
  author = {Jaesung Rim and Junyong Lee and Heemin Yang and Sunghyun Cho},
  title = {{Deep Hybrid Camera Deblurring for Smartphone Cameras}},
  booktitle = {SIGGRAPH (Conference Paper Track)},
  year = {2024},
  doi = {10.1145/3641519.3657507},
}
Figure