In a previous paper [J. Opt. Soc. Am. A <b>12</b>, 1932 (1995)] we presented a method for phase recovery with the transport-of-intensity equation by use of a series expansion. Here we develop a different method for the solution of this equation, which allows recovery of the phase in the case of nonuniform illumination. Though also based on the orthogonal series expansion, the new method does not require any separate boundary conditions and can be more easily adjusted for apertures of various shapes. The discussion is primarily for the case of a circular aperture and Zernike polynomials, but we also outline the solution for a rectangular aperture and Fourier harmonics. The latter example may have some substantial advantages, given the availability of the fast Fourier transform.
© 1996 Optical Society of America
T. E. Gureyev and K. A. Nugent, "Phase retrieval with the transport-of-intensity equation. II. Orthogonal series solution for nonuniform illumination," J. Opt. Soc. Am. A 13, 1670-1682 (1996)