ANSI-C program: subtract_phase.c
NAME
subtract_phase - Subtraction of phase image from complex
interferogram.
SYNOPSIS
subtract_phase <interf_in> <phase_file>
<interf_out> <width> [factor]
<interf_in> | input interferogram (complex format: pairs of float) |
<phase_file> | interferometric phase data (float) |
<interf_out> | output interferogram (input interferogram - scaled phase) (complex) |
<width> | number of samples/line |
[factor] | constant scale factor for input phase data [default=1.0] |
EXAMPLE
subtract_phase 1352_1610.flt 1352_1610.unw 1352_1610.diff
2500
DESCRIPTION
subtract_phase subtracts a phase image from complex
interferogram. The phase of the output interferogram corresponds
to the phase of the input interferogram minus the phase of the
corresponding pixel in the input phase image. The magnitude of
the output interferogram is equal to the magnitude of the input
interferogram.
subtract_phase may be
used for example to subtract an unwrapped phase image from an
interferogram. This may be useful for the following:
a) to improve the phase unwrapping by subsequent filtering and
(if necessary) phase unwrapping of the flattened
interferogram
b) obtain a coherence estimate which is not (or less) influenced
by the phase changes due to the terrain.
subtract_phase is ncluded as a tool to explore and apply new methods to improve phase unwrapping and coherence estimation.
SEE ALSO
typedef_ISP.h.