Phase Retrieval Algorithms: A Comparison: J. R. Fienup
Phase Retrieval Algorithms: A Comparison: J. R. Fienup
J. R. Fienup
Iterative algorithms for phase retrieval from intensity data are compared to gradient search methods. Both
the problem of phase retrieval from two intensity measurements (in electron microscopy or wave front sens-
ing) and the problem of phase retrieval from a single intensity measurement plus a non-negativity constraint
(in astronomy) are considered, with emphasis on the latter. It is shown that both the error-reduction algo-
rithm for the problem of a single intensity measurement and the Gerchberg-Saxton algorithm for the prob-
lem of two intensity measurements converge. The error-reduction algorithm is also shown to be closely re-
lated to the steepest-descent method. Other algorithms, including the input-output algorithm and the con-
jugate-gradient method, are shown to converge in practice much faster than the error-reduction algorithm.
Examples are shown.
measurement (as in astronomy) the first three steps are where y is defined as in Eq. (10). The asymmetry in the
identical to the first three steps of the Gerchberg-Saxton use of the N- 2 factor above was chosen because of the
algorithm, Eqs. (6)-(8), and the fourth step is given similar asymmetry in the definition of the discrete
by Fourier transform in Eqs. (2) and (3). When the
squared error is zero, a solution has been found.
gk+:1(x) = {k(X). x7, (10) In the following the error-reduction algorithm is
wOi Xc hv shown to converge, and this convergence property holds
where -y is the set of points at which gk(x) violates the for all the applications of the error-reduction algorithm
and combining this with Eq. (18) gives the desiredI re- ITERATION k
10 102 103
sult
EF'k+1 < E0k S< EFk. (22)
That is, the error can only decrease (or stay the same)
at each iteration.
In practice, the error-reduction algorithm usually
decreases the error rapidly for the first few iterations lo-I.
but much more slowly for later iterations.1 2 9 12 The
speed of convergence also depends on the type of con- cY
straints imposed. Convergence seems to be reasonably 0
oc
fast for the problem of two intensity measurements but tY
ag x
=(9)
g
Z_
E g(y) exp[-i2iru y/N], g(x) -gk(x) = [(x) -gk(x)J
IG(u) a[G(u)12]1/ 2
1 aIG(u)1 2
In fact, since G (u) I = IF(u) , moving to g(x) reduces
dg(x) d9g(x) 21G(u)I g(x) the error, Eq. (12), to exactly zero. As a final step in one
G(u) exp[i27ru x/N] + G*(u) exp[-i27ru x/N ]. (25) iteration the new estimate should be made to satisfy the
2IG(u)l object-domain constraints, which is accomplished by
using Eq. (10).
Therefore, Eq. (23) becomes Comparing this new estimate with that of the error-
reduction algorithm described in Sec. II, it is seen that
dgB = N- 2 F [G(u) - F(u)IG(u)/IG(u)] exp[i27ru *x/N] they are identical. That is, the error-reduction iterative
, ~~U Fourier transform algorithm can be looked on as a rapid
+N- 2 y [G*(u) - F(u)IG*(u)/1G(u)J] method of implementing a double-length step steep-
U
Jgkx)- x4-,
INPUT (43)
XeY.