Unrolled primal-dual networks for lensless cameras

Oliver Kingshott, Nick Antipa, Emrah Bostan, Kaan Akşit

TL;DR

This paper introduces a novel "unrolled primal-dual network" that significantly improves image reconstruction quality from lensless cameras. By learning both the forward and adjoint models of the imaging system, their method overcomes limitations of traditional approaches that rely on fixed, experimentally measured point-spread functions, leading to more accurate and detailed images.

What Problem Does This Paper Address?

Lensless cameras, which use a mask instead of a traditional lens, offer advantages like thinness and the potential for compressed sensing. However, reconstructing images from these cameras is challenging. Traditional methods often model the imaging process as a simple convolution with a single, fixed point-spread function (PSF). This assumption breaks down when dealing with optical aberrations or scenes with varying depths, leading to blurry images with lost details. While deep learning has been applied, existing methods often rely heavily on post-processing or struggle to accurately model the complex light transport in lensless systems. This paper aims to bridge this gap by developing a physically informed, learned reconstruction method that can correct for model errors and produce high-quality images without requiring extensive post-processing or large network capacities.

Methods

The core of this work is an "unrolled primal-dual network." This architecture is inspired by classical optimization algorithms like ADMM but is adapted for learned reconstruction. Key innovations include:

  • Learned Forward and Adjoint Models: Instead of using a fixed, experimentally measured PSF, the network learns its own forward (convolution) and adjoint (cross-correlation) operators. These are represented by learnable kernels, allowing the model to adapt to the specific imaging characteristics of the lensless camera.
  • Physically Informed Optimization: The primal-dual framework embeds these learned operators within an iterative optimization process. This structure allows the network to leverage physical principles of image formation while simultaneously learning to correct for model inaccuracies.
  • End-to-End Training: The entire network, including the learned kernels and the iterative update steps, is trained end-to-end using paired lensless measurements and ground truth images from a lensed camera.
  • Per-channel vs. Mixed-channel Models: The authors explore two variants: a per-channel model that processes each color channel independently and a mixed-channel model that allows cross-channel communication. The mixed-channel model aims for better high-frequency recovery, while the per-channel model focuses on color accuracy.

Datasets

  • DIV2K Dataset: Used for training and testing the proposed model. The authors mention capturing 8000 training images and 1000 test images from this dataset.
  • DiffuserCam Dataset: Used for evaluation and comparison with existing state-of-the-art methods (Monakhova et al. [2019], Zeng and Lam [2021]).
  • In-house Lensless Camera Prototype Dataset: The authors built their own lensless camera prototype and captured data from it for validation.

Key Insights and Ideas

  • Learning the PSF is Crucial: The paper strongly suggests that assuming a single, fixed PSF is a major bottleneck for lensless imaging. Learning these operators allows the model to adapt to real-world complexities like aberrations.
  • Primal-Dual Framework for Efficiency: By unrolling an optimization algorithm, the authors achieve high-quality reconstructions with fewer parameters and potentially faster inference compared to very deep, purely data-driven networks.
  • Correcting Model Error is Key: The authors emphasize that their method's success stems from directly addressing model error, rather than relying solely on powerful denoisers or post-processing. This leads to more faithful reconstructions.
  • Trade-off between Color Accuracy and Detail: The exploration of per-channel vs. mixed-channel models highlights a potential trade-off in lensless imaging, where optimizing for one aspect might impact the other.

Key Results

  • Improved Image Quality: The proposed method achieves state-of-the-art image quality, with reported improvements of up to +5dB PSNR compared to methods that assume a fixed PSF.
  • Quantitative Metrics: The paper presents PSNR, SSIM, and LPIPS scores that demonstrate the superiority of their method over existing approaches like ADMM and MMCN. For example, their "Ours (Mixed)" model achieves PSNRs in the mid-20s, significantly higher than ADMM's ~12-20.
  • Parameter Efficiency: The learned primal-dual approach requires a fraction of the parameters compared to some previous works, making it more efficient.
  • Faster Reconstruction: While not explicitly quantified in terms of speedup against all methods, the unrolled nature of the network suggests potential for faster inference than traditional iterative methods.
  • Qualitative Improvements: Visual comparisons show that the proposed method recovers finer details, sharper edges, and more accurate textures compared to baseline methods, which often produce over-smoothed or artifact-ridden images.

Limitations and Future Work

  • Explainability of Learned Models: The authors acknowledge that a thorough investigation is needed to understand the physical interpretations of their learned forward models.
  • Performance on In-house Prototype: While the method performs well, reconstructions from their custom camera prototype show slightly lower quality compared to benchmark datasets, possibly due to the specific diffuser used not perfectly matching the inspiration sources.
  • Spatial Adaptability of Kernels: The current model lacks an explicit mechanism to apply learned kernels to specific spatial regions, which could be a direction for future improvement.
  • Color Accuracy vs. Detail: Further work is suggested to address potential color fringing artifacts and explore better phase mask designs or loss functions for improved color accuracy.
  • Field-Varying Aberrations: Future research could focus on developing models that explicitly correct for field-varying aberrations using measured or simulated PSFs.

Summary updated

BibTeX
@inproceedings{kingshott2022unrolled,
  author = {Oliver Kingshott and Nick Antipa and Emrah Bostan and Kaan Akşit},
  title = {{Unrolled primal-dual networks for lensless cameras}},
  booktitle = {Optics},
  year = {2022},
  doi = {10.1364/oe.475521},
}
Figure