该程序是基于文献“P. W. M. Tsang and T.-C. Poon, “Novel method for converting digital Fresnel hologram to phase-only hologram based on bidirectional error diffusion,” Opt. Express 21(20), 23680–23686 (2013).”所提方法编写的,用于计算全息中的相位恢复问题。采用该算法可快速将复振幅全息转化为纯相位全息,而无需迭代计算
1