A method converts an input image of noisy wrapped phases to an output
image of absolute unwrapped phases. The noisy wrapped phases in the input
image are represented as a set of re-wrapped phases and a set of phase
shifts. The set of re-wrapped phases are partitioned into a first group
and a second group. Integer differences between the phase shifts are
optimized while holding the re-wrapped phases fixed. Then, the first
group of re-wrapped phases are optimized, while holding the integer
differences between the phase shifts, and the second group of re-wrapped
phases fixed. The integer differences between the phase shifts are
optimized again, while holding the re-wrapped phases fixed. Then, the
second group of re-wrapped phases are optimized, while holding the
integer differences between the phase shifts, and the first group of
re-wrapped phases fixed. The optimizing steps are repeated until the
re-wrapped phase converge. Then, the converged re-wrapped phases and
integer differences between the phase shifts are output as an output
image of absolute unwrapped phases.