ANSI-C program: product_cpx.c
NAME
product - Calculation of product=(data_1 )*(datat_2) betweeen two
complex value data images.
SYNOPSIS
product <f1> <f2> <product>
<width> [start] [mlines] [conj_flag]
<pwr1> | (input) data file 1 (FCOMPLEX) |
<pwr2> | (input) data file 2 (FCOMPLEX) |
<product_out> | (output) product data_1 * data_2 (FCOMPLEX) |
<width> | number of samples/row |
[start] | starting line for computing product (default: 0 = first line) |
[nlines] | number of lines used for product computation (default: - corresponding to all lines) |
[conj_flag] | conjugation flag: 0: none (default) 1: conjugate f2 before multiplication |
EXAMPLE
product 20070423.hh.slc 20070423.hv.slc
20070423.hh_hv.product 2500 0 - 1
The product between the HH- and the HV-polarized channels of a polarimetric dataset is computed. The conjugation flag is set to one thus meaning that the product is taken between the first data file and the conjugate of the second data file.
DESCRIPTION
product_cpx estimates the product between two complex value
images. This program is particularly useful for the derivation of
polarimetric measures, such as the elements of the correlation
and the coherency matrix. For this the option of conjugating the
second data file has been included. The conjugate of a complex
value number corresponds to a complex number having the same real
part and the opposite imaginary part, i.e. the same mangnitude
and the opposite phase.
The input and the output data are binary files of type
FCOMPLEX.
SEE ALSO
typedef_ISP.h .
© Copyrights for Documentation, Users Guide and Reference Manual by Gamma Remote Sensing, 2009.
UW, CW,MS last change
20-Nov-2009..