Authors: Yunhui Gao ([email protected]) and Liangcai Cao ([email protected])
HoloLab, Tsinghua University
Figure 1. Comparison of different holographic reconstruction methods in imaging a swimming paramecium.
Holography is a powerful technique that records the amplitude and phase of an optical field simultaneously, enabling a variety of applications such as label-free biomedical analysis and coherent diffraction imaging. Holographic recording without a reference wave has been long pursued because it obviates the high experimental requirements of conventional interferometric methods. However, due to the ill-posed nature of the underlying phase retrieval problem, reference-free holographic imaging is faced with an inherent tradeoff between imaging fidelity and temporal resolution. Here, we propose a general computational framework, termed spatiotemporally regularized inversion (STRIVER), to achieve motion-resolved, reference-free holographic imaging with high fidelity. Specifically, STRIVER leverages signal priors in the spatiotemporal domain to jointly eliminate phase ambiguities and motion artifacts, and, when combined with diversity measurement schemes, produces a physically reliable, time-resolved holographic video from a series of intensity-only measurements. We experimentally demonstrate STRIVER in near-field ptychography, where dynamic holographic imaging of freely swimming paramecia is performed at a framerate-limited speed of 112 fps. The proposed method can be potentially extended to other measurement schemes, spectral regimes, and computational imaging modalities, pushing the temporal resolution toward higher limits.
Figure 2. Holographic videos of live paramecia.
The code has been implemented using Matlab 2022b. Older visions may be sufficient but have not been tested.
- Phase retrieval using simulated data. Run
demo_sim.m
with default parameters. - Phase retrieval using experimental data. First follow the instruction here to download the data. Then run
demo_exp.m
with default parameters.
The basic demo codes provide intuitive and proof-of-concept implementations for beginners, but are far from efficient. To facilitate faster reconstruction, we provide an optimized version based on CPU or GPU, which can be found at demo_sim_fast.m
and demo_exp_fast.m
for simulation and experimental data, respectively. To enable GPU usage, simply set gpu = true;
in the code.
Table 1 and Figure 3 show the runtime (200 iterations) for different video dimensions. The results are obtained using a laptop computer with Intel® Core™ i7-12700H (2.30 GHz) CPU and Nvidia GeForce RTX™ 3060 GPU.
Video dimension | CPU (1) | GPU (1) | CPU (10) | GPU (10) |
---|---|---|---|---|
128 |
10.15 s | 5.05 s | 49.63 s | 7.53 s |
256 |
44.27 s | 8.78 s | 200.67 s | 17.98 s |
512 |
159.19 s | 22.71 s | 779.55 s | 59.57 s |
1024 |
611.11 s | 97.81 s | 3093.24 s | 299.10 s |
Table 1. Runtimes (for 200 iterations) using GPU and CPU for different sample dimensions. The number in the parenthesis denotes the subiteration number for the proximal update.
Figure 3. Runtimes (200 iterations) using CPU and GPU for different sample dimensions. The number in the parenthesis denotes the subiteration number for the proximal update.
For algorithm derivation and implementation details, please refer to our paper:
Yunhui Gao and Liangcai Cao, "Motion-resolved, reference-free holographic imaging via spatiotemporally regularized inversion," Optica 11(1), 32-41 (2024). Publication page | Paper (PDF) | Supplement (PDF)
@article{gao2024motion,
title={Motion-resolved, reference-free holographic imaging via spatiotemporally regularized inversion},
author={Gao, Yunhui and Cao, Liangcai},
journal={Optica},
volume={11},
number={1},
pages={32--41},
year={2024},
publisher={Optica Publishing Group}
}