中文说明:本算法基于光的衍射原理,由于A=BT,通过强度还原相位其实并不容易。通过循环与迭代,二维的傅里叶变换可以求出一个图形的相位,并将这个图像近似还原。参数可改,图片读入在之前改就行(imread)。这是GS最简单的算法之一,却很有效,有广泛的应用。压缩包中有实例和原理图片。在光场重构中有很大作用。
English Description:
This algorithm is based on the principle of light diffraction, because a = BT, it is not easy to restore the phase by intensity. Through the cycle and iteration, the phase of a figure can be obtained by two-dimensional Fourier transform, and the image can be approximately restored. Parameters can be changed, the image read in before changing (imread). This is one of the simplest algorithms of GS, but it is very effective and widely used. There are examples and principle pictures in the compressed package. It plays an important role in light field reconstruction.