Use this procedure to calculate polarization signatures from an AIRSAR compressed stokes matrix.

Syntax


ENVI_DOIT, 'AIRSAR_POLSIG_DOIT', BANDS=array, BFNAME=string array, FNAME=string array, FNL=integer, FNS=integer, GENFAC=array, /IN_MEMORY, OFFSET=array, OUT_BNAME=string array, OUT_NAME=string, R_FID=variable, ROI_ID=array

Keywords


BANDS

Use this keyword to specify a three-element array of ones and zeros, indicating whether you used the C, L, or P bands. A value of 1 indicates you used that band. BANDS must be three elements long, regardless of the size of FNAME.

BFNAME

Use this keyword to specify a three-element string array, where each element specifies C, L and P annotations for the header description. BFNAME must be three elements long, regardless of the size of FNAME.

FNAME

Use this keyword to specify a string array of compressed stokes matrix file names for C, L and/or P bands, respectively. If you did not use a file, set the array element to ''.

FNL

Use this keyword to specify the number of lines in the AIRSAR image.

FNS

Use this keyword to specify the number of samples per line in the AIRSAR image.

GENFAC

Use this keyword to specify an array of COMP SCALE FACTORS for each of the files specified by FNAME.

IN_MEMORY

Set this keyword to specify that output should be stored in memory. If you do not set IN_MEMORY, output will be stored on disk and you must specify OUT_NAME (see below).

OFFSET

Use this keyword to specify an array of long integers representing header offsets for each of the files specified by FNAME.

OUT_BNAME

Use this keyword to specify a string array of output band names.

OUT_NAME

Use this keyword to specify a string with the output filename for the resulting data. If you set the keyword IN_MEMORY, you do not need to specify OUT_NAME.

R_FID

ENVI Classic library routines that result in new images also have an R_FID, or “returned FID.” This is simply a named variable containing the file ID to access the processed data. Specifying this keyword saves you the step of opening the new file from disk.

ROI_ID

Use this keyword to specify an array of ROI IDs returned from a call to ENVI_GET_ROI_IDS. Each ID in the array will use the corresponding ROI to calculate both a co-polarization and cross-polarization image.

API Version


4.2