Computational holography involves creating complex holographic patterns, which is both fundamental and computationally intensive. This process presents significant challenges, particularly in achieving real-time hologram generation. This study presents a thorough comparison and analysis of computational efficiency for computing polygon-based computer-generated holograms (CGH) in terms of programming language (Python and MATLAB), execution hardware (CPU and GPU) and algorithms (interpolation-based and analytical-based). We open-sourced all the codes used for polygonal CGH executed in both MATLAB and Python, offering valuable insights into the performance suitability of different algorithms and languages. Basically, MATLAB demonstrates superior performance over Python, especially for CPU calculations, whereas it performs similarly when utilizing a graphics processing unit (GPU) and an accelerated algorithm like the wavefront recording plane (WRP) method. Analytical-based method and interpolation-based method are not consistently superior; the former performs well when addressing small matrices (e.g., using WRP), while the latter performs well when addressing large matrices.
Gupta, A, Wang, F, Das, B, Kumar, R, Blinder, D, Ito, T & Shimobaba, T 2024, 'Performance evaluation of polygon-based holograms in terms of software, hardware and algorithms', Optics Communications, vol. 573, 131021. https://doi.org/10.1016/j.optcom.2024.131021
Gupta, A., Wang, F., Das, B., Kumar, R., Blinder, D., Ito, T., & Shimobaba, T. (2024). Performance evaluation of polygon-based holograms in terms of software, hardware and algorithms. Optics Communications, 573, Article 131021. https://doi.org/10.1016/j.optcom.2024.131021
@article{b968226a3b724a9a84c37f77728ba4f6,
title = "Performance evaluation of polygon-based holograms in terms of software, hardware and algorithms",
abstract = "Computational holography involves creating complex holographic patterns, which is both fundamental and computationally intensive. This process presents significant challenges, particularly in achieving real-time hologram generation. This study presents a thorough comparison and analysis of computational efficiency for computing polygon-based computer-generated holograms (CGH) in terms of programming language (Python and MATLAB), execution hardware (CPU and GPU) and algorithms (interpolation-based and analytical-based). We open-sourced all the codes used for polygonal CGH executed in both MATLAB and Python, offering valuable insights into the performance suitability of different algorithms and languages. Basically, MATLAB demonstrates superior performance over Python, especially for CPU calculations, whereas it performs similarly when utilizing a graphics processing unit (GPU) and an accelerated algorithm like the wavefront recording plane (WRP) method. Analytical-based method and interpolation-based method are not consistently superior; the former performs well when addressing small matrices (e.g., using WRP), while the latter performs well when addressing large matrices.",
keywords = "Computer-generated hologram, Graphics processing unit, MATLAB, Polygon-based method, Python, Wavefront recording plane method",
author = "Anuj Gupta and Fan Wang and Bhargab Das and Raj Kumar and David Blinder and Tomoyoshi Ito and Tomoyoshi Shimobaba",
note = "Funding Information: The authors express sincere appreciation to the Japan Society for the Promotion of Science (P22752, P23378, 22H03607, 19H01097) and IAAR Research Support Program, Chiba University for their invaluable support. The authors also acknowledge CSIR, India for their financial support under project number MLP2014 to carry out this research work. Publisher Copyright: {\textcopyright} 2024 The Authors",
year = "2024",
month = dec,
day = "15",
doi = "10.1016/j.optcom.2024.131021",
language = "English",
volume = "573",
journal = "Optics Communications",
issn = "0030-4018",
publisher = "Elsevier",
}