[Paper Review] Learning to Deblur using Light Field Generated and Real Defocus Images
This paper proposes a two-stage deep learning method for single-image defocus deblurring that first trains on light field-generated image pairs for precise pixel-wise correspondence, then fine-tunes on real two-shot captured data using feature loss to bridge the domain gap. The approach achieves state-of-the-art performance by combining the accuracy of synthetic light field data with the realism of real defocus blur, outperforming prior methods on multiple benchmarks.
Defocus deblurring is a challenging task due to the spatially varying nature of defocus blur. While deep learning approach shows great promise in solving image restoration problems, defocus deblurring demands accurate training data that consists of all-in-focus and defocus image pairs, which is difficult to collect. Naive two-shot capturing cannot achieve pixel-wise correspondence between the defocused and all-in-focus image pairs. Synthetic aperture of light fields is suggested to be a more reliable way to generate accurate image pairs. However, the defocus blur generated from light field data is different from that of the images captured with a traditional digital camera. In this paper, we propose a novel deep defocus deblurring network that leverages the strength and overcomes the shortcoming of light fields. We first train the network on a light field-generated dataset for its highly accurate image correspondence. Then, we fine-tune the network using feature loss on another dataset collected by the two-shot method to alleviate the differences between the defocus blur exists in the two domains. This strategy is proved to be highly effective and able to achieve the state-of-the-art performance both quantitatively and qualitatively on multiple test sets. Extensive ablation studies have been conducted to analyze the effect of each network module to the final performance.
Motivation & Objective
- To address the challenge of spatially varying defocus blur in single-image deblurring, where accurate training data with pixel-perfect correspondence is scarce.
- To overcome the domain gap between synthetic defocus blur from light fields and real defocus blur from conventional cameras.
- To develop a deep learning framework that leverages the strengths of both light field-generated and real-world defocus image pairs.
- To improve deblurring performance by combining high-precision correspondence from light field data with realistic blur characteristics from real data.
- To validate the effectiveness of a novel dynamic residual block and multi-scale feature learning for detail restoration.
Proposed method
- The method uses a two-stage training strategy: first pre-training on the LFDOF dataset using mean absolute error (MAE) loss to exploit precise pixel-wise correspondence from light field synthetic aperture.
- Then, the model is fine-tuned on the DPDD and RealDOF datasets using perceptual feature loss to adapt to real-world defocus blur characteristics.
- A novel dynamic residual block (DRB) is introduced, incorporating adaptive residual features, dynamic kernel size, and multi-scale refinement to handle spatially varying blur.
- The DRB uses a learnable kernel size that adapts per layer, improving flexibility in modeling complex blur patterns.
- The network employs a coarse-to-fine multi-scale architecture to progressively restore high-frequency details.
- Feature loss is applied during fine-tuning to align feature representations between the restored and ground-truth images, improving perceptual quality.
Experimental results
Research questions
- RQ1Can combining light field-generated and real defocus image pairs improve generalization and performance in single-image deblurring?
- RQ2How does the domain gap between light field-generated blur and real camera blur affect deblurring performance, and how can it be mitigated?
- RQ3What is the contribution of each component in the proposed dynamic residual block (DRB) to the final deblurring quality?
- RQ4Does end-to-end training without explicit defocus map estimation outperform two-stage methods that estimate blur maps first?
- RQ5How does the dynamic kernel size in the DRB affect restoration performance across different datasets?
Key findings
- The proposed method achieves a PSNR of 25.745 on the RealDOF dataset, outperforming prior methods by a significant margin.
- The ablation study confirms that all components of the dynamic residual block (residual features, dynamic kernel, and residual refinement) are essential for optimal performance.
- The model trained with the two-stage strategy (light field pre-training + real data fine-tuning) achieves better generalization than training on either dataset alone.
- The method outperforms AIFNet by 0.726 dB in PSNR on the LFDOF test set, even without using explicit defocus map estimation.
- The optimal dynamic kernel size is 7 for RealDOF and 9 for DPDD, with kernel size 7 chosen for its balance of performance and parameter efficiency.
- Qualitative results show that only the full DRB configuration restores fine details and realistic textures, confirming the importance of architectural components.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.