Single Pixel Imaging and Compressive Sensing: A Practical Tutorial Journal: Journal of Optics
Dennis Scheidt · 2026
Read Single Pixel Imaging and Compressive Sensing: A Practical Tutorial Journal: Journal of Optics by Dennis Scheidt (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2601-15248.txt.
Introduction
Dennis Scheidt gives a hands-on guide to imaging with a single pixel. His 2026 arXiv tutorial deals with single pixel imaging and compressive sensing. Instead of an array of sensors, the method uses one bucket detector, a simple photodiode, to sample a patterned light field.
That design is cheap and works where sensor arrays do not. It suits odd wavelengths and noisy settings, where it can gather signal well. The tutorial walks through how the method works in practice. It is aimed at readers who want to build or use such a camera.
Catalog record
| CREATOR | Dennis Scheidt |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 27 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2601-15248
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Single Pixel Imaging and Compressive Sensing: A Practical Tutorial Journal: Journal of Optics Dennis Scheidt Abstract Single Pixel Imaging is an emerging imaging technique that employs a bucket detector (photodiode) to sample a spatially modulated light field, rather than measuring the spatial distribution with an array of detectors. This approach provides a low-cost alternative for imaging at unconventional wavelengths and enables improved signal collection in noisy measurement environments. Furthermore, it allows the application of compressive sensing to reduce the amount of acquired data and measurement time, facilitating live or in vivo imaging applications. This tutorial presents the experimental implementation of measurement bases and compressive sensing reconstruction methods, including both deterministic algorithms and deep learning approaches. Accompanying Python notebooks guide readers through the reproduction of the presented results and support the application of the methods to their own work. PACS 0042 MSC 0078 1 Introduction Single Pixel Imaging (SPI) was introduced in 2006 by Baraniuk and co-workers [ 6 ] as a method to reconstruct images using a single photodetector, in contrast to conventional cameras based on CCD or CMOS sensor arrays. In SPI, an object is sequentially illuminated with spatial patterns, typically defined by an orthogonal basis, using a digital micromirror device (DMD). The light reflected or transmitted by the object is collected and measured by a single photodiode (bucket detector). By recording the intensity associated with each pattern, the image can be reconstructed. A key advantage of SPI is its applicability at wavelengths where CCD or CMOS sensors are inefficient or unavailable, providing a cost-effective alternative for such spectral regions. The conceptual foundations of SPI can be traced back to ghost imaging, developed in the 1990s by Klyshko and Shih [ 29 , 23 ] , where spatial information is retrieved from intensity correlations. Building on this idea, Computational Ghost Imaging (CGI) replaces correlated photon pairs with spatial light modulators (SLMs) that encode known patterns onto the illumination field [ 22 ] . CGI has been extended to holographic techniques enabling amplitude and phase measurements [ 4 ] . Although SPI and CGI differ primarily in their illumination schemes, they are closely related and are treated as equivalent for the purposes of this tutorial [ 22 , 11 ] . Similar single-pixel approaches have also been combined with interferometry to measure the phase of optical fields, where intensities are recorded at a single camera pixel or through spatial filtering followed by photodetection [ 18 , 20 , 38 , 28 ] . A major advancement in SPI is the incorporation of compressive sensing (CS), which enables image reconstruction from a subset of the measurement basis elements by exploiting signal sparsity. CS-based SPI has been successfully applied to complex wavefront imaging [ 3 , 12 , 13 ] and to enhance light transmission through scattering media [ 8 , 30 ] . The high refresh rates of modern DMDs (several kHz) have further enabled applications such as dynamic wavefront correction [ 18 ] , retinal imaging [ 7 ] , and light focusing through biological tissue and random scattering media [ 33 , 2 ] . Recent work has also demonstrated that the ordering of Hadamard bases can significantly affect reconstruction quality in compressive SPI [ 10 , 9 , 36 ] . Conventional CS reconstruction typically relies on \ell_{1} -minimization, which can be computationally expensive and often slower than the data acquisition itself [ 14 , 34 ] . As an alternative, deep learning approaches shift the computational burden to the training phase, after which reconstructions can be performed in milliseconds on standard CPUs [ 35 ] . This enables high-speed and real-time SPI applications, including kHz-rate image reconstruction [ 33 , 5 , 2 ] . This tutorial first describes the experimental implementation of SPI using digital micromirror devices (DMDs) and spatial light modulators (SLMs) (Sec. 2 ). It then addresses image reconstruction using different measurement bases, employing both deterministic compressive sensing algorithms (Sec. 3 ) and deep learning methods (Sec. 4 ). Two Python notebooks are provided to reproduce the reconstruction and training procedures presented in this tutorial Python notebooks. 2 Methods 2.1 Experimental Setup Conventional cameras measure the spatial intensity distribution of light using a two-dimensional array of detectors, such as CCD or CMOS sensors. In contrast, Single Pixel Imaging (SPI) employs a single photodetector (bucket detector) that integrates the intensity of a spatially modulated light field. A schematic of a typical experimental setup is shown in Fig. 1 A. A collimated input field x is incident on a DMD or SLM, where it is sequentially modulated by an orthogonal measurement basis \Phi . The modulated field is projected onto a detector using a lens with focal length f , which can be arranged either in an imaging configuration or with the detector placed in the focal plane, provided that the entire field is collected. The distances s (SLM to lens) and i (lens to detector) satisfy the imaging equation 1/f=1/i+1/s . A CCD camera may also be used as a bucket detector by integrating the signal over all pixels. Figure 1: A) Basic setup for Single Pixel Imaging. The input field x is represented by the dog picture. On the SLM a row vector of the Hadamard basis is projected, selecting only designated parts of the input field. The selected field is then projected by a lens onto a detector where the intensity y_{i} is measured by integrating the intensity over the whole detector surface. B) Different measurement bases of size N=16 and the projection of the second measurement vector onto a (4\times 4) 2d grid for sampling with a SLM or DMD. The measurement basis consists of orthogonal row vectors \Phi_{i} that are mapped onto a two-dimensional m\times n superpixel grid of the SLM. Typically, a square subsection of size n\times n is used, where n=\alpha\sqrt{N} with \alpha\in\mathbb{N} to ensure a direct mapping of the basis elements (Fig. 1 B). Each basis vector \Phi_{i} is reshaped row-wise into a two-dimensional pattern and projected onto the SLM. The corresponding detector signal is given by y_{i}=\Phi_{i}\cdot x. By repeating this procedure for all basis vectors, the input field can be reconstructed as x=\Phi^{-1}y. (1) The measurement basis does not need to be implemented on a two-dimensional grid, but it can also be applied to one-dimensional structures, such as a ring, for example when sampling Bessel beam–like light fields [ 24 ] . In interferometric SPI setups, such as those used to measure complex wavefronts, interference effects arising from the size of the measurement modes can limit reconstruction performance. This is because the pixels on a DMD or SLM are typically at least an order of magnitude larger than the sampled image source, which can introduce phase aberrations that appear in amplitude reconstructions [ 26 ] . 2.2 Measurement Bases A measurement basis \Phi is defined as an orthogonal matrix whose vectors satisfy \Phi_{i}\cdot\Phi_{j}=\delta_{ij} . Commonly used bases in SPI include the canonical (identity), random Gaussian, and Hadamard bases [ 15 ] . The canonical basis corresponds to the identity matrix and directly samples individual spatial elements. The Hadamard basis consists of entries \pm 1 and is defined for sizes N=2^{n} . It is constructed recursively using