Authors: Yunhui Gao (gyh21@mails.tsinghua.edu.cn) and Liangcai Cao (clc@tsinghua.edu.cn)
Figure 1. (a) Schematic of the in-line holographic imaging system. (b) Captured raw hologram of a transparent Fresnel zone plate. Scale bar 1 mm. (c) Retrieved phase distribution. (d) Rendered surface height profile.
Matlab 2019a or newer. 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. - Try on your own experiment data. Prepare a hologram and an optional reference image, run
preprocessing.m
and set the experiment parameters (e.g. pixel size, wavelength, and sample-to-sensor distance). Then rundemo_exp.m
and see how it works.
For algorithm derivation and implementation details, please refer to our paper: