Time-Multiplexed Coded Aperture Imaging: Learned Coded Aperture and Pixel Exposures for Compressive Imaging Systems

Edwin Vargas, Julien N. P. Martel, Gordon Wetzstein, Henry Arguello

Abstract

Compressive imaging aims to capture high-dimensional data, such as hyperspectral cubes or light fields, using standard 2D sensors. However, traditional static coded aperture (CA) systems often suffer from poor reconstruction quality due to the physical constraints of the masks. This paper introduces Time-Multiplexed Coded Aperture (TMCA) imaging, a technique that synchronizes a time-varying mask with a programmable electronic pixel shutter. By employing an end-to-end deep learning framework to jointly optimize hardware patterns and reconstruction algorithms, TMCA significantly improves the conditioning of the measurement matrix. Experimental results demonstrate that TMCA outperforms state-of-the-art methods by over 4dB in PSNR for both hyperspectral and light field imaging tasks.

Introduction

Compressive imaging is a powerful paradigm that allows for the acquisition of high-dimensional signals—such as 3D hyperspectral data or 4D light fields—from a single 2D snapshot. This is typically achieved through a Coded Aperture (CA), a physical mask that modulates incoming light to encode extra dimensions into the sensor's measurement.

Despite its potential, the performance of traditional CA systems is often limited by the physical properties of the masks. These static masks frequently result in "sparse" and highly structured measurement matrices, making the inverse problem of reconstructing the original signal mathematically difficult. The resulting images often suffer from blurriness and artifacts. This research addresses these bottlenecks by introducing a time-multiplexed approach that leverages both optical and electronic modulation.

Methodology

Time-Multiplexed Coded Aperture (TMCA)

The core innovation of this work is the Time-Multiplexed Coded Aperture (TMCA) framework. Rather than relying on a single static exposure, the system divides a single snapshot into multiple "sub-exposures." This is achieved through two primary hardware components:

  1. Time-Varying Coded Aperture: A mask that rapidly changes its pattern during the integration time of a single frame.
  2. Spatially Varying Pixel Shutter: An electronic control mechanism that turns individual sensor pixels on or off in synchronization with the mask changes.

End-to-End Deep Optics

The system is designed using a "Deep Optics" approach, where the hardware parameters and the reconstruction software are optimized simultaneously. The researchers developed a differentiable simulation of the entire optical path (the encoder) and paired it with a neural network (the decoder).

To bridge the gap between the continuous mathematics required for gradient-based optimization and the binary (on/off) nature of physical hardware, the team utilized a "forward-backward mismatch" strategy. This involves using hard thresholds during the forward simulation to mimic real-world hardware while employing smooth sigmoid functions during the backward pass to allow for stable gradient calculations.

Experimental Setup

Datasets

The TMCA method was evaluated across two distinct imaging domains:

  • Hyperspectral Imaging (HSI): Utilizing the ICVL dataset (200 high-resolution spectral images), the model was trained on 160 images and tested on 20, focusing on $256 \times 256$ crops with 12 spectral bands.
  • Light Field (LF) Imaging: The team used a combination of 100 real-world captures from the Lytro dataset and 55 synthetic light field images.

Hardware Prototypes

To validate the simulation results, the researchers constructed two physical prototypes:

  • A Digital Micromirror Device (DMD) based system for hyperspectral imaging.
  • A Liquid Crystal on Silicon (LCoS) display system for light field imaging.

Key Insights and Results

Improved Matrix Conditioning

A critical finding of this research is that time-multiplexing significantly improves the conditioning of the measurement matrix. By analyzing the eigenvalues of the matrix, the researchers demonstrated that TMCA leads to a more uniform distribution, making the reconstruction process less sensitive to noise and mathematically more robust.

Performance Gains

TMCA demonstrated substantial improvements over traditional methods like Coded Aperture Snapshot Spectral Imaging (CASSI) and Coded Light Field Photography (CLFP):

  • Hyperspectral Results: TMCA achieved a PSNR of 32.72 dB, a significant increase over the 29.66 dB reached by standard CASSI using a U-Net decoder.
  • Light Field Results: TMCA reached 34.89 dB, outperforming previous state-of-the-art deep learning baselines by approximately 2.46 dB.
  • Visual Fidelity: Qualitative analysis showed that TMCA produces sharper edges and more accurate color and angular reproduction. While baseline methods often produced "muddy" or blurred outputs, TMCA maintained high-frequency details.

Real-World Validation

Data captured from the physical prototypes confirmed that the theoretical gains translate to real-world hardware. The prototypes maintained a lead of over 4dB compared to traditional static aperture methods, proving the practical viability of the TMCA approach.

Discussion and Future Work

While TMCA represents a significant leap forward, it is not without limitations. Like most coded aperture systems, it involves blocking a portion of incoming light, which may pose challenges in extremely low-light scenarios. Additionally, while the neural network decoder is faster than traditional iterative optimization methods, real-time reconstruction (currently ~1 second per frame) remains a target for future engineering optimization.

Beyond hyperspectral and light field imaging, the authors suggest that the TMCA framework is highly extensible. Future applications could include high-dynamic-range (HDR) imaging, depth sensing, and other snapshot-based multidimensional acquisition tasks. By moving the complexity from the optical mask to the electronic control of the sensor, TMCA paves the way for high-performance compressive imaging using relatively simple optical setups.

Summary updated

BibTeX
@inproceedings{vargas2021time,
  author = {Edwin Vargas and Julien N. P. Martel and Gordon Wetzstein and Henry Arguello},
  title = {{Time-Multiplexed Coded Aperture Imaging: Learned Coded Aperture and Pixel Exposures for Compressive Imaging Systems}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00269},
}
Figure