Compressive Single-Pixel Imaging
- Compressive SPI is an indirect imaging technique that encodes scenes using structured spatial patterns and a bucket detector.
- It leverages compressive sensing by recovering underdetermined measurements with sparsity-promoting transforms and regularized optimization.
- Advanced implementations utilize differential measurements, tailored basis designs, and deep learning to enhance reconstruction speed, noise robustness, and resolution.
Searching arXiv for recent and foundational papers on compressive single-pixel imaging to support the article. {"query":"single-pixel imaging compressive sensing complementary modulation Hadamard Morlet wavelet Fourier arXiv", "max_results": 10} {"query":"all:(single-pixel imaging) AND all:(compressive sensing)", "max_results": 10} Compressive single-pixel imaging (SPI) is an indirect imaging paradigm in which a scene is encoded by a sequence of known spatial patterns and measured by a bucket detector rather than by a focal-plane array. In its standard formulation, the unknown image is probed by a measurement matrix , producing measurements , with in the compressive regime and recovery relying on sparsity or compressibility in a transform domain (Scheidt, 21 Jan 2026). Across the literature, this framework is instantiated with digital micromirror devices (DMDs), spatial light modulators (SLMs), complementary or differential acquisition, deterministic or randomized bases, and increasingly with learned optical encoders and learned decoders, enabling operation in visible, infrared, terahertz, hyperspectral, and multiphoton settings (Yu et al., 2022).
1. Forward model and compressive formulation
The common mathematical core of compressive SPI is the linear forward model
or equivalently , where is the vectorized scene, or is the pattern matrix, 0 is the vector of bucket measurements, and 1 models additive noise (Bian et al., 2017). For full-basis sampling with an orthogonal basis and 2, direct inversion or a pseudo-inverse recovers 3; for compressive SPI, 4, so the inverse problem is underdetermined and must be regularized (Scheidt, 21 Jan 2026).
The standard compressive-sensing formulation writes 5 or 6, with 7 or 8 sparse in the basis 9, yielding
0
Recovery is then posed through 1-constrained or 2-penalized optimization, for example
3
or through total-variation regularization when the image gradient is sparse (Yu et al., 2022). The tutorial treatment of SPI gives the usual compressive-sensing scaling 4 when the unknown has 5 significant coefficients in the transform domain (Scheidt, 21 Jan 2026).
This formulation extends naturally beyond monochrome 2-D imaging. In single-pixel Fourier-transform interferometry and related hyperspectral systems, the operator becomes a Kronecker product of a spatial coding basis and a spectral Fourier basis, with recovery in a joint spatial-spectral sparsifying transform (Moshtaghpour et al., 2018). In time-domain terahertz SPI, the same spatial model is applied slice-wise to time-resolved waveforms, so that each spatial coefficient carries a reconstructed temporal transient (Zanotto et al., 2019). These variants preserve the same inverse-problem structure while enlarging the object from a 2-D image to a datacube or a field indexed by time or wavelength.
2. Pattern design and sampling ensembles
Pattern design is central because it determines measurement efficiency, optical throughput, reconstruction cost, and noise sensitivity. A basic division is between randomized ensembles, deterministic orthogonal bases, and bases tailored either to image statistics or to a particular optical transfer function.
Deterministic orthogonal coding is dominated by Hadamard-type constructions. The SPI tutorial distinguishes natural ordering, Walsh ordering, and cake-cutting ordering, and notes that 6 Hadamard rows can be implemented on binary hardware by complementary measurements or by using the all-ones row as a reference (Scheidt, 21 Jan 2026). In high-efficiency variants, the deterministic basis is reordered so that low-complexity patterns appear first. Cake-cutting Hadamard SPI sorts patterns by connected-component count and reports reconstructions of 7 images at a sampling ratio of 8, with 9 runtime and 0 memory via the fast Walsh-Hadamard transform (Yu, 2019). Origami pattern construction similarly imposes a deterministic ordering of orthogonal 1 patterns and reports operation down to 2 sampling for 3 images (Yu et al., 2019).
Fourier-domain sampling replaces random projection by direct acquisition of informative spatial-frequency coefficients. The eSPI method projects sinusoidal patterns, exploits Hermitian symmetry of the Fourier spectrum of real images, and samples only the most informative frequency bands. In the reported 4 simulation, 5 coverage required 1638 patterns and achieved RMSE 6, while random patterns with linear correlation gave RMSE 7 and random patterns with compressive sensing gave RMSE 8; the real experiment used 1635 total patterns and obtained visually faithful reconstructions at about 9 dB SNR (Bian et al., 2015).
A different statistical strategy is to randomize within a structured feature family. Czajkowski et al. proposed Morlet-wavelet-correlated random patterns obtained by convolving white Gaussian noise with 2-D Morlet wavelets, so that measurements probe localized joint spatial-frequency features. In numerical tests on 0 images at 1 compression, average PSNR was 2 dB for Morlet-random patterns, compared with 3 dB for noiselets and 4 dB for Walsh-Hadamard; in optical experiments on 5 images at 6 compression, TV reconstruction yielded PSNR 7 dB for binarized Morlet-random patterns, versus 8 dB for noiselets and 9 dB for Walsh-Hadamard (Czajkowski et al., 2017).
At the opposite extreme, high-resolution sparse-scene SPI uses highly compressed map-based binary patterns displayed at full DMD resolution. One framework acquires 0 patterns for 1 images, corresponding to 2, with differential, binary, non-adaptive sampling and a map construction designed to preserve information about multiple image partitions and an unknown field of view (Stojek et al., 2022). A related high-resolution system uses approximately 3 binary patterns at a compression ratio of 4, where each pattern is about 5 on, and reports 6 Hz acquisition at 7 kHz DMD operation for sparse scenes (Pastuszczak et al., 1 Sep 2025).
3. Complementary, differential, and balanced measurements
A distinctive feature of many SPI systems is that the measurement is not taken directly as 8, but as a difference between complementary or successive patterns. This is especially natural on a DMD, because each micromirror directs light into one of two reflection arms. If 9 and 0 denote the two reflected patterns, then
1
and the first-order differential measurement
2
eliminates the large DC term and doubles the useful AC contrast, provided the two optical arms are perfectly balanced (Yu et al., 2022).
The practical problem is that the two arms are rarely perfectly matched. The system of “Secondary complementary balancing compressive imaging with a free-space balanced amplified photodetector” addresses gain and bias mismatch by acquiring two complementary differential measurements per pattern pair, 3 and 4, and then forming the second-order difference 5. In the reported derivation, all bias terms and common-mode noise cancel, leaving a balanced differential measurement proportional to 6 up to a scalar factor 7 (Yu et al., 2022). The implementation uses a silicon free-space balanced amplified photodetector with 8 mm active diameter, directly outputting the photocurrent difference between the two DMD arms. Under 9 sampling in simulation, the method matches the ideal dual-arm case and significantly outperforms an unbalanced dual-arm system even for 0–1 gain error; experimentally, at 2 sampling, its MSSIM equals conventional compressive sensing under full sampling, and DC offset and common-mode noise are reduced to within the digitizer’s noise floor (Yu et al., 2022).
Single-arm complementary modulation predates this dual-arm balancing strategy and is especially important in microscopy. In complementary microscopic ghost imaging, each random binary pattern is followed by its logical complement, and the effective bucket signal is
3
with an effective sensing row taking values in 4. This subtraction removes constant background, including lamp drift and dark counts, and halves the variance of i.i.d. noise. At 5 sampling, the reported PSNR is approximately 6 dB for complementary compressive sensing, versus approximately 7 dB for conventional compressive sensing without subtraction (Yu et al., 2015).
Differential acquisition is also the basis of differential ghost imaging and of photon-starved Hadamard SPI. The unified comparison of SPI algorithms presents the DGI estimator
8
and notes that it is used experimentally for better SNR (Bian et al., 2017). In single-photon cake-cutting Hadamard SPI, each 9 pattern is implemented by displaying a binary pattern and its complement in immediate succession; the differential count 0 restores the desired signed inner product and suppresses common-mode noise and drift (Yu, 2019).
4. Reconstruction algorithms
Reconstruction methods in compressive SPI range from non-iterative correlation and direct inverse transforms to convex optimization, regularized generalized inverses, unfolded optimization networks, and end-to-end learned decoders. The algorithmic comparison paper places these approaches in a single framework and emphasizes a three-way trade-off between capture efficiency, computational complexity, and robustness to noise (Bian et al., 2017).
Correlation-based methods are the simplest. Traditional ghost imaging and differential ghost imaging reconstruct by averaging pattern–measurement products, with DGI providing better SNR in experiments (Bian et al., 2017). When the sensing matrix has orthonormal rows or can be orthogonalized, direct inversion becomes feasible. In Morlet-pattern SPI, a pre/post-processing SVD converts a non-orthogonal matrix into an orthonormalized form suitable for standard CS solvers, while the precomputed pseudoinverse
1
is reported to be about 2 faster than CS-TV and suitable for real-time reconstruction at moderate SNR (Czajkowski et al., 2017). In terahertz SPI, Zanotto et al. used direct Hadamard decoding 3 for rapid reconstruction when only the first 4 ordered Hadamard rows are measured (Zanotto et al., 2019). In eSPI, the recovered Fourier coefficients are simply filled into a sparse spectrum and transformed by one inverse FFT (Bian et al., 2015).
Iterative model-based methods remain the dominant reference algorithms. The unified comparison includes alternating projection, conjugate gradient descent for the normal equations, Poisson maximum likelihood, and TV-regularized compressive sensing implemented with ADMM-like updates (Bian et al., 2017). The reported conclusion is precise: for comparable reconstruction accuracy, TV requires the least measurements and the least running time for small-scale reconstruction; CGD and AP run fastest in large-scale cases; and TV and AP are the most robust to measurement noise (Bian et al., 2017). TVAL3, NESTA, SPGL1, and other basis-pursuit-denoising solvers recur throughout the literature, especially when the sensing basis is not exactly orthogonal or when edge preservation is critical (Czajkowski et al., 2017). For high-resolution sparse-scene imaging, differential Fourier-domain regularized inversion (D-FDRI) replaces iterative 5-minimization by a precomputed generalized inverse in the Fourier domain, followed by a map-based refinement that zeros sectors classified as empty and rescales non-empty sectors (Stojek et al., 2022).
Deep learning enters SPI in two distinct ways: learned decoders with fixed measurement patterns, and end-to-end learning of both patterns and reconstruction. In block compressive sensing, the BCS-UNet architecture applies a fixed Bernoulli block matrix 6 to each 7 block and then reconstructs images of arbitrary size above a minimum block size through an UpsampleNet plus UNet pipeline; the reported model is trained on natural-image datasets yet reconstructs SPI-acquired binary transmissive targets with PSNR/SSIM within 8 dB/9 of simulation (Lau et al., 2022). In deep-learned orthogonal-basis SPI, a modified deep convolutional autoencoder treats the encoder weight matrix as the measurement basis and imposes binary and orthogonality regularizers; at 0 compression on 1 images, inference takes about 2 ms per frame, and non-binary learned bases achieve mean SSIM around 3 at additive white Gaussian noise level 4, above classical TV and Fourier baselines (Aguilar et al., 2022).
More recent systems combine a fast initial inverse with a refinement stage. One 5 framework first computes 6 and then applies either a few ISTA/FISTA iterations or a U-net-inspired enhancement network. At 7 and 8 Hz acquisition, the initial image yields PSNR 9–00 dB and SSIM 01–02; iterative enhancement yields 03–04 dB and 05–06; neural enhancement yields 07–08 dB and 09–10 (Pastuszczak et al., 1 Sep 2025). Self-supervised SPI reconstruction pushes the optimization prior back into the network architecture. SISTA-Net unfolds ISTA into a fidelity module and a proximal mapping module, combines CNN and visual state-space modeling, and trains only from the measurements and the physical forward model. The reported gains are about 11 dB in simulation and 12 dB average PSNR in far-field underwater experiments (Lu et al., 31 Mar 2026).
5. Hardware realizations and modality-specific extensions
The optical front-end of compressive SPI is unusually flexible because the detector is non-pixelated and the spatial coding can be implemented in many different ways. The canonical visible-light bench uses a DMD or SLM to display binary or grayscale patterns, collection optics to image the modulated field onto a photodiode or PMT, and synchronized acquisition electronics (Scheidt, 21 Jan 2026). Within that basic architecture, the literature spans microscopy, multiphoton imaging, terahertz time-domain spectroscopy, hyperspectral interferometry, stochastic analog modulators, and passive diffractive encoders.
Microscopy is an early application because single-pixel detection is compatible with low light and with wavelengths where detector arrays are expensive. In complementary microscopic ghost imaging, the microscopic image is focused onto a 13-mirror DMD rather than projecting speckles onto a tiny object, and only the 14 reflection arm is collected by a Hamamatsu PMT. The system reconstructs large images row by row and is reported to be robust under ultra-weak halogen illumination, with the unused DMD arm left open for future infrared sampling (Yu et al., 2015). In wide-field multiphoton microscopy with single-pixel detection, Wijesinghe et al. combined temporal focusing, an SLM, and Morlet-basis compressive sensing in the TRAFIX configuration. The reported faithful reconstructions reach 15, with root-mean-square error below 16 up to seven scattering lengths and with an eight-fold reduction in pattern number translating into an eight-fold faster acquisition and up to eight-fold lower cumulative light dose (Wijesinghe et al., 2019).
Terahertz and hyperspectral systems broaden the dimensionality of the forward model. In time-domain terahertz SPI, a DMD encodes binary masks onto an 17 nm beam, which photoexcites a silicon wafer and modulates THz transmission with approximately 18 depth; Hadamard-coded measurements reconstruct spatial amplitude, per-pixel temporal waveforms, time-of-flight thickness maps, and spectral images, with recognizable images down to about 19 measurements (Zanotto et al., 2019). Moshtaghpour, Bioucas-Dias, and Jacques, and related SP-FTI work, integrate Hadamard spatial coding with Fourier-transform interferometry along the optical-path-difference axis. Their formulations use 20, assume sparsity in 3-D Haar or wavelet domains, and adopt variable-density or multilevel sampling to reduce both measurement rate and light exposure relative to Nyquist FTI (Moshtaghpour et al., 2018). Numerical results for SP-FTI report reconstruction SNR around 21 dB at 22 of full measurements under measurement SNR 23 dB, while the broader hyperspectral FTI study reports SRE about 24 dB with multilevel-guided sampling at measurement-use ratio approximately 25, compared with approximately 26 dB for uniform-density sampling at the same rate (Moshtaghpour et al., 2018).
SPI can also be realized without a programmable DMD. The stochastic spatial light modulator replaces the electronic modulator by a vibrating transparent chamber filled with opaque particles; an overhead camera thresholds the random particle arrangement into a binary mask, and the resulting Bernoulli-like sensing matrix is used with TVAL3 reconstruction. The paper emphasizes application domains in which no analog to optical SLMs exists, including THz, X-ray, ultrasound, and non-optical lensless imaging (Schaake et al., 2018). At the opposite technological end, Wang et al. recast compressive SPI as a learned linear intensity transformation 27, pre-train the target matrix jointly with a shallow decoder ANN, and then optimize a wavelength-multiplexed spatially incoherent diffractive optical processor to approximate that matrix. The resulting encoder is passive and static, with acquisition limited by LED switching and detector readout rather than by SLM refresh (Wang et al., 23 Mar 2026).
A further shift is from reconstructing hyperspectral datacubes to performing spectral tasks directly from compressed measurements. HyPIS uses two spectral encoders with wavelength-dependent sine and cosine transfer functions and a DMD for spatial-temporal illumination. Three synchronized single-pixel detectors capture the unencoded, cosine-encoded, and sine-encoded signals, from which two phasor images 28 and 29 are reconstructed. The reported system generates 30 phasor frames at 31 fps, achieves 32 classification accuracy over six object classes, and remains accurate under low light and strongly non-uniform illumination (Song et al., 2 Apr 2026).
6. Performance regimes, trade-offs, and recurrent misconceptions
The performance envelope of compressive SPI is defined by a persistent coupling between measurement count, optical SNR, modulator speed, and reconstruction cost. The algorithm-comparison study makes this explicit: TV has the best capture efficiency at small scale, AP and CGD are faster at large scale, and TV and AP are most robust to Gaussian measurement noise (Bian et al., 2017). This already rules out a common simplification that “best” SPI reconstruction can be specified independently of image size, pattern family, and noise model.
A second recurrent misconception is that SPI is intrinsically restricted to very low spatial resolution. Historically, many papers reported 33 to 34 reconstructions, but this is not a hard limit of the modality. Full-resolution DMD imaging at 35 has been demonstrated with acquisition times on the order of a fraction of a second when the scene is sparse or the field of view is limited but a priori unknown (Stojek et al., 2022). A separate framework reports 36 acquisition at 37 Hz with a compression ratio of 38, but explicitly states that only spatially sparse scenes admit high-fidelity recovery at that extreme compression, while dense scenes lose fine structure (Pastuszczak et al., 1 Sep 2025). The appropriate conclusion is not that resolution is no longer a problem, but that the limiting variable has shifted from detector pixel count to scene structure, compression ratio, and compute budget.
A third misconception is that compressive SPI is synonymous with random projection plus generic 39-minimization. The literature now includes importance-sampled Fourier coefficients (Bian et al., 2015), deterministic reordered Hadamard bases such as cake-cutting and origami (Yu, 2019), Morlet feature-matched random ensembles (Czajkowski et al., 2017), deep-learned orthogonal or binary bases (Aguilar et al., 2022), and fixed passive diffractive encoders learned jointly with a shallow decoder (Wang et al., 23 Mar 2026). This suggests that “compressive SPI” is better understood as a design space in which the sensing operator is co-optimized with the optical hardware, the expected image class, and the intended reconstruction algorithm.
Noise handling is similarly more nuanced than a simple preference for differential acquisition. Complementary subtraction can remove DC terms, background drift, dark counts, and common-mode noise, but only if the differential architecture itself is stable. The dual-arm balanced-photodetector work shows that imbalance as small as 40–41 gain error can noticeably degrade uncorrected dual-arm performance, while secondary complementary balancing largely restores the ideal case; it also notes that extremely high imbalance, above 42 gain error, may reduce SNR if residual noise dominates (Yu et al., 2022). Differential measurement is therefore not merely a hardware convenience but a calibration-sensitive part of the inverse model.
Documented development paths are correspondingly diverse. Explicitly proposed directions include faster spatial modulators or LED arrays with complementary coding for high-speed operation, extension to IR and THz bands where balanced detectors are available but pixel arrays are not, hybrid optical-digital co-design of static diffractive encoders, and spectral-task pipelines that bypass high-resolution hyperspectral cubes entirely (Yu et al., 2022). The field therefore evolves not toward a single canonical SPI architecture, but toward specialized compressive imagers whose sensing basis, detector physics, and reconstruction prior are matched to modality, photon budget, and downstream task.