Deep learning for real-time single-pixel video

Catherine F. Higham, Roderick Murray‐Smith, Miles J. Padgett, M. EdgarScientific 2018

Abstract

Single-pixel cameras capture images without the requirement for a multi-pixel sensor, enabling the use of state-of-the-art detector technologies and providing a potentially low-cost solution for sensing beyond the visible spectrum. One limitation of single-pixel cameras is the inherent trade-off between image resolution and frame rate, with current compressive (compressed) sensing techniques being unable to support real-time video. In this work we demonstrate the application of deep learning with convolutional auto-encoder networks to recover real-time 128 × 128 pixel video at 30 frames-per-second from a single-pixel camera sampling at a compression ratio of 2%. In addition, by training the network on a large database of images we are able to optimise the first layer of the convolutional network, equivalent to optimising the basis used for scanning the image intensities. This work develops and implements a novel approach to solving the inverse problem for single-pixel cameras efficiently and represents a significant step towards real-time operation of computational imagers. By learning from examples in a particular context, our approach opens up the possibility of high resolution for task-specific adaptation, with importance for applications in gas sensing, 3D imaging and metrology.

Introduction

Single-pixel cameras (SPCs) offer a compelling alternative to traditional multi-pixel sensors, particularly for imaging at wavelengths where multi-pixel arrays are prohibitively expensive, such as infrared or terahertz. By using a single detector—like a photomultiplier tube—and a spatial light modulator (SLM) such as a Digital Micro-mirror Device (DMD), these systems can reconstruct scenes with high sensitivity.

However, SPCs are traditionally limited by a "time penalty." Achieving high resolution requires a large number of sequential measurements. While Compressive Sensing (CS) techniques have reduced the number of measurements needed by exploiting image sparsity, the reconstruction process remains iterative and computationally intensive. This has historically prevented real-time, high-resolution single-pixel video, as the mathematical reconstruction could not keep pace with standard frame rates.

Methods: Hardware-Software Co-design

To overcome these limitations, researchers developed a Deep Convolutional Auto-encoder Network (DCAN). This architecture is uniquely designed to bridge the gap between physical hardware and digital reconstruction. The system is divided into two primary functional components:

  1. The Encoding Layer: This layer mimics the physical hardware. It consists of binary filters representing the patterns loaded onto the DMD. During training, these weights are regularized to take binary values, effectively "learning" the most efficient basis for scanning the scene.
  2. The Decoding Layers: Once the single-pixel detector captures the light intensities, a series of convolutional layers reconstructs the image. Unlike iterative CS methods, this approach is deterministic and feed-forward, allowing for near-instantaneous reconstruction.
Experimental setup of the single-pixel camera system, including the physical device (a) and the optical schematic (b).

Training and Datasets

The model was trained using the STL-10 dataset, which contains 100,000 unlabeled images. These images were converted to grayscale and resized to resolutions up to 128×128. The training process involved two stages: first, training an ideal decoder without noise, and then retraining the encoding layer with simulated experimental noise and binary constraints to ensure robustness against real-world detector fluctuations.

Key Results

The DCAN approach successfully demonstrated real-time performance, reconstructing 128×128 video at 30 frames per second using only 333 measurements per frame. This represents a 98% compression ratio, requiring only 2% of the data typically needed for a full raster scan.

In both simulations and physical experiments, the deep learning approach outperformed traditional $l_1$ minimization and Hadamard-based methods in terms of Peak Signal-to-Noise Ratio (PSNR) and Structural Similarity Index (SSIM). The resulting video showed superior visual fidelity, producing more natural features and better contrast on diagonal lines compared to the blocky artifacts often seen in traditional compressive sensing.

Conclusion and Future Work

By shifting the computational burden from the reconstruction phase to a pre-calculated training phase, this work breaks the iteration loop that has long hindered single-pixel imaging. The optimized patterns discovered by the network suggest that when measurements are scarce, the system prioritizes low-resolution structural integrity, adding fine details as the measurement budget increases.

Future developments may involve task-specific training—for example, optimizing the network specifically for gas plumes or human faces—to achieve even higher fidelity in specialized applications. Additionally, balancing network depth with real-time throughput remains a key area for engineering optimization as resolutions continue to scale.

Summary updated

BibTeX
@inproceedings{higham2018deep,
  author = {Catherine F. Higham and Roderick Murray‐Smith and Miles J. Padgett and M. Edgar},
  title = {{Deep learning for real-time single-pixel video}},
  booktitle = {Scientific},
  year = {2018},
  doi = {10.1038/s41598-018-20521-y},
}
Figure