Coded Illumination for Improved Lensless Imaging

Yucheng Zheng, M. Salman Asif · DOI

TL;DR

This paper introduces a novel approach to enhance image quality in lensless cameras by combining them with coded illumination patterns. By strategically illuminating a scene with multiple patterns, the authors significantly improve the reconstruction quality and overcome the inherent ill-conditioning of lensless imaging systems, offering a path towards more robust and higher-performing compact imaging devices.

What Problem Does This Paper Address?

Lensless cameras, such as FlatCam, offer advantages like being thin, lightweight, and flexible, making them ideal for applications where traditional cameras are impractical (e.g., under-display sensors, wearable devices). However, a major drawback is the poor image quality due to the ill-conditioned nature of their underlying measurement systems. This ill-conditioning means that small errors in measurements can lead to large errors in the reconstructed image, and the system struggles to distinguish fine details. Existing methods often rely on complex regularization or deep learning, which can be sensitive to data mismatches. This paper aims to address this fundamental ill-conditioning problem directly by introducing coded illumination.

Methods

The core idea is to illuminate the scene with a sequence of carefully designed patterns and capture multiple measurements with the lensless camera. The authors model the imaging process as a linear system where the scene is multiplied element-wise by illumination patterns before being captured by the lensless camera's coded mask.

Key methodological contributions include:

  • Coded Illumination Framework: Proposing a new framework that integrates coded illumination with mask-based lensless cameras.
  • Separable Imaging Model: Utilizing a separable model for both the coded mask and illumination patterns, which simplifies the reconstruction process and reduces computational complexity. This allows the problem to be broken down into smaller, independent sub-problems.
  • Illumination Pattern Design: Investigating and designing various illumination patterns, with "shifting dots" and "Hadamard" patterns showing superior performance in terms of reconstruction quality and system conditioning.
  • Fast Recovery Algorithm: Developing a fast and low-complexity recovery algorithm that exploits the separable structure of the system, avoiding the need to store all measurements or build large system matrices. This algorithm uses an iterative approach to update estimates of system parameters.

Datasets

The paper does not introduce new datasets. Instead, it uses:

  • Simulated data: Generated to test various aspects of the proposed method, including different illumination patterns, sensor-to-mask distances, and numbers of sensor pixels.
  • Real hardware data: Captured using a custom-built prototype with various test scenes, including planar targets (printed cards, color charts, resolution targets) and objects with depth variations (Thorlabs box, cookie bag).

Key Insights and Ideas

  • Coded Illumination as a Conditioner: The most significant insight is that coded illumination fundamentally improves the conditioning of the lensless imaging system. This is demonstrated by the flatter singular value distribution of the system matrices when using coded illumination compared to uniform illumination.
  • Orthogonal Patterns Excel: Shifting dots and Hadamard patterns, which form orthogonal bases, consistently outperform random or uniform illumination patterns in terms of reconstruction quality. This is attributed to their ability to better separate scene information.
  • Trade-off Between Speed and Quality: The number of illumination patterns directly impacts reconstruction quality and system conditioning. More patterns lead to better results but also increase acquisition time, highlighting a practical trade-off.
  • Robustness to System Imperfections: The proposed method shows robustness to factors like small sensor-to-mask distances and under-determined systems (when sensor measurements are binned), which are common challenges in lensless imaging.
  • Deep Learning Limitations: The paper suggests that while deep learning methods can improve appearance, they may struggle to recover missing details from ill-conditioned systems, especially when there's a mismatch between training and testing conditions. The proposed method, by improving system conditioning, offers a more stable and generalizable solution.

Key Results

  • Significant PSNR Improvement: Reconstructed images using coded illumination (e.g., 49 shifting dots) achieve significantly higher Peak Signal-to-Noise Ratio (PSNR) compared to uniform illumination, often by several decibels. For instance, PSNR values can increase from around 16-22 dB with uniform illumination to over 30-40 dB with coded illumination.
  • Improved Resolution and Detail: Qualitative results show a dramatic improvement in resolving fine details, textures, and text in reconstructed images when using coded illumination. Features that are completely blurred or indistinguishable with uniform illumination become clear.
  • Robustness to Sensor Binning: Even when sensor measurements are binned to create an under-determined system (e.g., 64x64 measurements for a 128x128 scene), the coded illumination method can still produce recognizable and stable reconstructions, whereas uniform illumination degrades significantly.
  • Performance with Ambient Light: While strong ambient light can degrade performance, Hadamard patterns show better dynamic range and reconstruction quality compared to shifting dots under very bright conditions, though shifting dots are still preferred when ambient light is moderate.
  • Non-Lambertian Object Handling: The method performs well on most non-Lambertian objects, but highly reflective surfaces like CDs can still cause artifacts due to model mismatch.

Limitations and Future Work

  • Resolution Limit: The resolution of reconstructed images is ultimately limited by the resolution of the illumination patterns.
  • Hardware Complexity: Coded illumination hardware (like programmable projectors) can add cost and complexity.
  • Dynamic Scenes: The current model requires multiple measurements, making it unsuitable for capturing dynamic scenes. Future work could explore faster acquisition or alternative approaches for dynamic scenes.
  • Ambient Light Sensitivity: Performance can be affected by strong ambient light, although Hadamard patterns offer some mitigation.
  • Non-Lambertian Objects: The assumption of Lambertian surfaces is violated by highly reflective objects, leading to artifacts.
  • 3D and Dynamic Scene Reconstruction: While the framework is extensible, reconstructing 3D and dynamic scenes requires further work.
  • Co-located Camera and Projector: In the current setup, the camera and projector are co-located, limiting direct depth estimation advantages.
  • Non-separable Systems: Extending the coded illumination concept to convolutional models (like DiffuserCam) is possible but introduces significant calibration and reconstruction complexity challenges.

Future work could focus on developing faster acquisition methods, integrating coded illumination with more advanced lensless camera designs, and addressing the challenges of non-Lambertian objects and dynamic scene capture.

Summary updated

BibTeX
@article{zheng2021coded,
  author = {Yucheng Zheng and M. Salman Asif},
  title = {{Coded Illumination for Improved Lensless Imaging}},
  journal = {IEEE Trans. Computational Imaging},
  year = {2021},
  doi = {10.1109/tci.2023.3234898},
}
Figure