A practical way to resolve ambiguities in wavefront reconstructions by the transport of intensity equation.