You are on page 1of 3

Wavefront reconstruction using iterative been proposed in the literature,5,6 but they essentially apply

Fourier transforms to square or rectangular domains. The method described


here applies to domains with any arbitrary shape.
Frangois Roddier and Claude Roddier The basis of the method is an extrapolation of the wave-
front beyond the boundaries using a Gershberg type algo­
University of Hawaii, Institute for Astronomy, 2680 rithm. 7 A flow chart of the algorithm is shown in Fig, 1. One
Woodlawn Drive, Honolulu, Hawaii 96822. starts with two arrays of numbers which are the sampled
Received 4 February 1991. wavefront x and y slopes inside the pupil domain and zeros
Sponsored by James B. Breckinridge, Jet Propulsion Lab­ outside the domain. An FFT algorithm is used to take the
oratory. Fourier transform of these arrays which represent functions
0003-6935/91/111325-03$05.00/0. of u and υ. The Fourier transform of the x slope is multiplied
© 1991 Optical Society of America. by u, that of the y slope is multiplied by υ. Both arrays are
The problem of obtaining a linear least-squares wavefront added, and the result is divided by u2 + υ2 everywhere except
estimate from an array of wavefront slope measurements has at the origin where the ratio is undetermined. Since we seek
long been discussed in the literature. 1,2 Noll3 has shown that the solution which has zero mean, we put zero at the origin.
the solution is that of a Poisson equation with Neumann The division by u2 + υ2 can be considered as an apodization.
boundary conditions. Succesive over relaxation (SOR) algo­ An even stronger apodization can be used at the beginning to
rithms are generally used to solve the problem numerically.4 accelerate convergence.8 Next, one takes an inverse Fourier
Here we present a novel algorithm based on fast Fourier transform. A result of the apodization is that the signal now
transform (FFT) subroutines. extends beyond the initial boundaries. However, we are
The basic idea is that the Laplacian operator ▿2 = ∂2/∂x2 + interested only in the part within the boundaries which is our
∂ /∂y2 translates into a multiplication by u2 + υ2 in the
2
first wavefront estimate. The next step consists of taking
Fourier (u,υ) domain. Hence by taking the Fourier trans­ the x and y derivative of this estimate. The result will in
form of the wavefront Laplacian ▿2W, dividing it by u2 + υ2, general differ from the original data. The rms difference
and taking an inverse Fourier transform one should be able between the two set of numbers is a measure of the current
to retrieve the wavefront surface W. This is the basis of error in the reconstruction process. The algorithm consists
Fourier methods for solving differential equations. This of putting back the original data inside the domain where
simple approach would hold for a wavefront with no bound­ measurements have been made, whereas keeping the extrap­
ary (function with unbounded support). In practice the olated signal outside the domain. The process is then iterat­
wavefront Laplacian is multiplied by the pupil transmission ed. When the error becomes below a preassigned level, the
function Pix,y), and its Fourier transform is, therefore, con­ next wavefront estimate is computed and the iterative pro­
volved by the Fourier transform of P{x,y). As a result the cess is stopped.
simple property indicated above no longer holds. A proper Both the above described algorithm and a SOR algorithm
treatment should take the signal boundaries into account have been applied to the same simulated data. On 128 X
using boundary conditions. Fourier methods have already 128-pixel arrays the computing time was found to be approx-

10 April 1991 / Vol. 30, No. 11 / APPLIED OPTICS 1325


Fig. 1. Flow chart of the iterative Fourier transform algorithm used
to reconstruct a wavefront W from the measured wavefront slopes
∂W/∂x and ∂W/∂y. Fig. 3. Flow chart of an iterative Fourier transform algorithm used
to reconstruct a wavefront W from the wavefront Laplacian mea­
sured from out of focus images.10
imately the same. However, the new algorithm was found to
produce better wavefront estimates especially near the
edges. This is clearly demonstrated in Fig. 2, which shows placians obtained directly from extra-focal images.9,10 Fig­
an example of wavefront reconstruction. The full line is a ure 3 shows a flow chart of a similar algorithm which recon­
section of the original 2-D wavefront (spherical aberration). structs wavefronts from wavefront Laplacians estimated by
A circular pupil was used with a 30-pixel radius. The dashed taking the difference between the illuminations in symmetri­
line is the same section reconstructed with the SOR algo­ cally defocused images. The boundary conditions are taken
rithm. The dash/dot line is the section reconstructed with into account by forcing to zero the radial derivative within a
the FFT based algorithm. narrow band surrounding the boundaries. This is equiva­
The approach described above is quite general and can lent to solving the Poisson equation with a zero radial edge
also be used to reconstruct wavefronts from wavefront La- slope as a Neumann boundary condition. Indeed the differ-

Fig. 2. Example of wavefront reconstructions


from wavefront slopes. Full line, original wave-
front; dashed line, reconstructed wavefront using
the SOR algorithm. Dash/dot line, reconstructed
wavefront using iterative Fourier transforms.

1326 APPLIED OPTICS / Vol. 30, No. 11 / 10 April 1991


ence between extra-focal images produces a narrow edge 2. R. H. Hudgin, "Wave-Front Reconstruction for Compensated
signal which is a measure of the wavefront radial edge slope. Imaging," J. Opt. Soc. Am. 67, 375-378 (1977).
This signal can also be considered as a Laplacian equal to the 3. R. J. Noll, "Phase Estimates from Slope-Type Wave-Front Sen-
difference between the wavefront radial slopes on each sides sors," J. Opt. Soc. Am. 68, 139-140 (1978).
of the edge. By forcing the outer slope to zero, one forces the 4. W. H. Southwell, "Wave-Front Estimation from Wave-Front
inner slope to be equal to the edge signal. Unlike previously Slope Measurements," J. Opt. Soc. Am. 70, 998-1006 (1980).
described algorithms, there is no need to somewhat arbitrari- 5. R. L. Frost, C. K. Rushforth, and B. S. Baxter, "Fast FFT-Based
ly isolate the boundary wavefront slope signal from the inner Algorithm for Phase Estimation in Speckle Imaging," Appl.
wavefront curvature signal. Here one takes the sensor signal Opt. 18, 2056-2061 (1979).
as a whole. 6. K. R. Freischald and C. Koliopoulos, "Modal Estimation of a
Clearly the Gershberg algorithm can be similarly used to Wave Front from Difference Measurements Using the Discrete
solve numerically any linear differential equation with Fourier Transform," J. Opt. Soc. Am. A 3, 1852-1861 (1986).
boundary conditions on any contour shape using FFT sub- 7. R. W. Gershberg, "Super-Resolution Through Error Energy
routines. To our knowledge, this very interesting applica- Reduction," Opt. Acta 21, 709-720 (1974).
tion of the Gershberg algorithm has not been considered 8. L. M. Kani and J. C. Dainty, "Super-Resolution Using the
before. Gershberg Algorithm," Opt. Commun. 68, 11-17 (1988).
9. F. Roddier, "Curvature Sensing and Compensation: A New
This work has been supported by a grant from the Strate- Concept in Adaptive Optics," Appl. Opt. 27, 1223-1225 (1988).
gic Defense Initiative Organization, Office of Innovative Sci- 10. F. Roddier, C. Roddier, and N. Roddier, "Curvature Sensing: A
ence and Technology, and managed by the Harry Diamond New Wavefront Sensing Method," Proc. Soc. Photo-Opt. In-
Laboratories. strum. Eng. 976, 203-209 (1988).
References
1. D. L. Fried, "Least-Square Fitting a Wave-Front Distortion
Estimate to an Array of Phase-Difference Measurements," J.
Opt. Soc. Am. 67, 370-375 (1977).

10April 1991 / Vol. 30, No. 11 / APPLIED OPTICS 1327

You might also like