ANSI-C program: create_diff_par.c
NAME
create_diff_par - create DIFF/GEO parameter file for image
registration, geocoding and differential interferometry
SYNOPSIS
create_diff_par <PAR1> <PAR2>
<DIFF_par> [PAR_type] [iflg]
<PAR1> | (input) image parameter file 1 (see PAR_type option) |
<PAR2> | (input) image parameter file 2 (or - if not provided) |
<DIFF_par> | (input/output) DIFF/GEO parameter file |
[DIFF_par] | PAR1 and PAR2 parameter file type (enter - for
default): 0: OFF_par ISP offset and interferogram parameters 1: SLC/MLI_par ISP SLC/MLI parameters (default) 2: DEM_par DIFF/GEO DEM parameters |
[iflg] | interactive mode flag (enter - for default) 0: non-interactive 1: interactive (default) |
EXAMPLE
create_diff_par 19990915.mli.par 19991020.mli.par 19990915_19991020.diff_par 1DESCRIPTION
create_diff_par reads
two parameter files (*.off, *.slc.par, *.mli.par, or *.dem_par)
and creates a DIFF parameter file used for image registration,
terrain geocoding, and 2- and 3-pass differential
interferometry.
The parameter files provide the image geometry (number of cols and rows) and pixel dimensions for the first and second files respectively. Instead of a second parameter file - can be typed to indicate that the geometric specifications (i.e. number of cols and rows) of the two images are identical.
In the interactive mode, the user is queried to provide the number of locations to estimate the range and azimuth offsets between two images. These images may be the intensity images associated with two interferograms or a SAR intensity image and a simulated SAR image produced from a DEM with the program geocode. The exact definitions and formats of the individual parameters are specified in DIFF_par.
Automated processing in a script can be implemented using by setting the iflg parameter to 0. In this case default values fot the number of range and azimuth offsets, patch size for offset measurement, and the SNR threshold to accept a measurement are used.
create_diff_par
19990915.mli.par 19991020.mli.par
19990915_19991020.diff_par 1 0
create_diff_par 19990915.mli.par
19991020.mli.par 19990915_19991020.diff_par 1 < input
where input is a file containing a sufficient number
of newlines to automatically select default values as
required.
SEE ALSO
DIFF_par, gc_map, gc_map_grd,
typedef_ISP.h, typedef_DIFF.h.