A Simple Framework for 3D Lensless Imaging with Programmable Masks

Yucheng Zheng, Yi Hua, Aswin C. Sankaranarayanan, M. Salman Asif · DOI

Introduction

Traditional cameras rely on lenses to map scene points to sensor pixels. Lensless cameras, which replace lenses with thin masks like aperture or phase plates, offer significant advantages in size, cost, and specialized applications such as X-ray imaging or microscopy. However, reconstructing the original 3D scene from the sensor's shadow-like measurements is a complex "nonlinear inverse problem." Existing methods often struggle with either slow computational speeds or the requirement for hundreds of measurements, making them impractical for dynamic or dense scenes.

This paper introduces a streamlined framework for 3D lensless imaging that utilizes a programmable mask to capture as few as eight measurements. By integrating a fast Fourier-domain recovery algorithm with data-driven mask optimization and a neural refinement network, the authors achieve high-quality depth and intensity estimation with significantly lower computational overhead than previous state-of-the-art methods.

Methods

The proposed framework is built upon three core pillars designed to optimize both the hardware capture and the software reconstruction process.

  1. Fast Multi-Plane Recovery Algorithm: The authors leverage the property that convolutional systems become diagonal in the Fourier domain. By decoupling the 3D reconstruction into independent systems for each frequency coefficient, the problem can be solved in parallel, drastically reducing processing time.
  2. Differentiable Mask Design: Utilizing a Liquid Crystal on Silicon (LCoS) display as a programmable mask, the entire imaging pipeline is implemented as a differentiable network. This allows for the use of backpropagation to "learn" optimal mask patterns tailored to the statistics of natural scenes, moving beyond traditional fixed coded apertures.
  3. Refinement Network: To address artifacts in raw reconstructions, a U-Net architecture is employed as a post-processing step. This network transforms the stack of reconstructed depth planes into a clean, all-in-focus RGB image and a continuous-valued depth map.
The 3D lensless imaging pipeline, from scene capture with a programmable mask to final image and depth map reconstruction.

Key Results

The framework was validated using synthetic data from the NYU Depth and Middlebury datasets, as well as a physical prototype.

  • Efficiency and Speed: The algorithm reconstructs eight depth planes in just 0.33 seconds. This is a significant improvement over "depth pursuit" optimization methods, which can take over two minutes. Furthermore, high-quality results are achieved with only 8 to 10 measurements, compared to the hundreds typically required by other multi-shot methods like SweepCam.
  • Performance of Learned Masks: Quantitative evaluations demonstrate that "Learned" masks significantly outperform traditional patterns such as Maximum Length Sequences (MLS) or random apertures. As shown in the performance metrics, the learned masks provide superior SSIM and depth accuracy across varying numbers of captured masks.
Quantitative comparison of SSIM and depth accuracy for different mask patterns as a function of the number of measurements.
  • Hardware Validation: Real-world experiments with the physical prototype successfully demonstrated the ability to separate objects at different depths (e.g., a net at 30mm and a duck at 100mm) using only eight shots.

Limitations and Future Work

Despite its efficiency, the method currently requires static scenes due to the multi-shot nature of the capture. The model also assumes a convolutional relationship, which may falter with non-Lambertian surfaces or small sensor sizes that crop measurements. Future research directions include end-to-end joint optimization of the mask and refinement network to further enhance low-shot 3D imaging capabilities and better handle complex occlusions.

Summary updated

BibTeX
@inproceedings{zheng2021simple,
  author = {Yucheng Zheng and Yi Hua and Aswin C. Sankaranarayanan and M. Salman Asif},
  title = {{A Simple Framework for 3D Lensless Imaging with Programmable Masks}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00260},
}
Figure