This repository presents a computational framework to simulate off-axis holograms, aimed at generating a comprehensive database of focused and defocused off-axis simulated holograms for training deep learning models. By leveraging the MNIST database to represent various microscopic geometries, this framework efficiently produces defocused holograms via the angular spectrum method. The holograms are created by the amplitude superposition of a complex-valued plane object wave with a plane reference wave. This robust tool automates the simulation of the recording process, facilitating mass production of holograms and enhancing the development and training of deep learning models in DHM applications.
The reconstruction process followed the following publication: R. Castañeda, C. Trujillo, A. Doblas, “In-focus quantitative phase imaging from defocused off-axis holograms: synergistic reconstruction framework,” Optics Letters 48(23), 6244–6247 (2023). Please also refer to: R. A. Castañeda Quintero, “Improvements in Digital Holographic Microscopy,” PhD dissertation, University of Memphis (2022).
A total of 30’972 512x512 holograms were simulated, alongside their corresponding amplitude and phase reconstructions, for a total of 92’216 images. The complete dataset generated using this algorithm (distances from -50 to 50 mm with a step of 1mm) can be downloaded at: https://www.kaggle.com/datasets/mariareyb/simulated-out-of-focus-holograms
For more details on these models, please refer to the following publications. These are also the recommended citations if you use this tool in your work: (Pending Publication). In the meantime, you may use: @misc{mpreyb_offaxis_holosim_2024, author = {Rey Barrera, Maria Paula}, title = {offaxis_holosim: Simulation of Off-axis DHM holograms}, howpublished = {\url{https://github.com/mpreyb/offaxis_holosim/tree/main}}, year = {2024}, note = {GitHub repository, accessed: 2025-11-11} }
Copyright 2024 Universidad EAFIT Licensed under the MIT License; you may not use this file except in compliance with the License.
Applied Sciences and Engineering School, EAFIT University (Applied Optics Group)
- Maria Paula Rey (mpreyb@eafit.edu.co)
- Raul Castañeda (racastaneq@eafit.edu.co)