有会相位恢复算法的吗?能帮我看看下面的代码错哪儿了吗?不胜感激 O{rgZ/4Au
F!VC19<1O8
2d centered Fourier transform,居中的傅里叶变换 l[^bo/
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% `xkJ.,#Io
% Citation for this code and algorithm: .1MXQLy
% Tatiana Latychevskaia and Hans-Werner Fink EkV v
% "Practical algorithms for simulation and reconstruction of digital in-line holograms", `SWf)1K
% Appl. Optics 54, 2424 - 2434 (2015) @4_CR
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% hHoc7
% The code is written by Tatiana Latychevskaia, 2002 WKpHb:H
% The version of Matlab for this code is R2010b aO'$}rDf$
WJ\YKXG
function [out] = FT2Dc(u0); KoQvC=+WI
rQK2&37-,@
[Nx, Ny] = size(1i,1j); SZc6=^$
#hzs,tvvD
f1 = zeros(Nx,Ny); P/t$xqAL
qO>BF/)a(
for ii = 1:Nx W"|89\p}
for jj = 1:Ny <