Self-Holo
March 7, 2023 · View on GitHub
Diffraction model-informed neural network for unsupervised layer-based computer-generated holography.
Paper
X. Shui, H. Zheng, X. Xia, F. Yang, W. Wang, and Y. Yu, “Diffraction model-informed neural network for
unsupervised layer-based computer-generated holography,” Opt. Express 35(25), (2022).
Dataset
The RGB-D datasets are from TensorHolography.
High-level Structure
The code is organized as follows:
./src/
train.pytrains the selfholo.dataLoader.pyloads a set of images.complex_generator.pyis the target complex_amplitude generator.holo_encoder.pyis the phase encoder.selfholo.pyis the pipeline of selfholo.propagation_ASM.pycontains the angular spectrum method.perceptualloss.pycontains mseloss and perceptualloss.predict.pypredicts 2D holograms or 3D holograms.utils.pycontains utility functions.
We recommend that the readers to experiment with different upsampling approaches or different CNN frameworks
to further improve the quality of the images.
Running the test
python ./src/train.py --run_id=selfholo
Ackonwledgement
We are thankful for the open source of NeuralHolography, HoloEncoder,and HoloEncoder-Pytorch-Version. These works are very helpful for our research.