An electronic-optical method is described for obtaining the phase of an arbitrary complex 2-D wavefront. The method consists of intensity detection, limiting, pulse width normalization, differentiation, dc filtering, and integration. Theoretical analyses and experimental confirmation are included. Applications of this scheme that are discussed include space variant processing, adaptive optics, ...