USGS

Isis 2 Documentation


bandsyn1 Documentation

bandsyn1 - Creates stat cubes to synthesize missing data
The "bandsyn1" program was designed to be used in the "bndsynprc"
procedure, and is not meant to be used by itself. For a full
description of this program, consult the "bndsynprc" documentation.

PROGRAMMER: Jim Mathews

ParmDescriptionDefault
FROM
Input cube file name
  (default extension is .cub)
NONE
SFROM
Input subcube specifier
" "
TO
Three statistic output cubes
  (default extension is .cub)
"stat12", "stat13", "stat23"
BANDS
Band numbers to synthesize
1,2,3
BINMODE
Binning mode
  FIXED or AUTO
"FIXED"
MIN
Minimum valid value for each
  of the three input bands.
  Used with BINMODE=FIXED.
0.0,0.0,0.0
MAX
Maximum valid value for each
  of the three input bands
  Used with BINMODE=FIXED.
255.0,255.0,255.0

ADDITIONAL NOTES:

ParmDescription
FROM
Input cube file name.  If the file extension is omitted,
then ".cub" will be assumed.
SFROM
SFROM specifies the subcube using a single string for all
three dimensions of the cube.  The order of the three
dimensions is always "samples:lines:bands".
If a dimension is left blank, all the data for that
dimension is selected.  The default value of NULL for SFROM
selects the entire cube.

Any application below can be used for any dimension.
To select specific data from any dimension:
  "10-100(3):11,12,15-20:1-10(2)" =  This example will
select every third sample starting with sample 10 thru 100.
It selects lines 11 and 12, and 15-20. It selects every
other band, starting with band 1 thru 10.

There are special characters that can be used for
selecting a subcube efficiently, such as "*","#", and "~".
For examples type "help sfrom" in TAE.

**NOTE** For more examples and explanation of the many
features of the SFROM parameter, tutor the sfrom.pdf or
refer to Introduction To ISIS, Section 6, of the ISIS
User's Manual **
TO
Enter the names for the three statistic output cubes.  The
cubes will be dimensioned 256 samples by 256 lines by 2
bands.  The first band will be the sum and the second band
will be the count.  The first cube filename will be the sum
and count information for the third band.  The second file
will be the sum and count information for the second band
and the last will be for the first band.  If the file
extension is omitted, then ".cub" will be assumed.
BANDS
Enter the band numbers of the three bands you would like
synthesized.
BINMODE
Enter the binning mode.  The two valid values are FIXED
and AUTO.  In FIXED mode, the user must input the min
and max pixel values to be binned for each band.  In AUTO
mode, the program will determine the min and max values
in each band and use them as the min and max values to bin.
MIN
Enter the minimum valid value contained in each of the
three input bands.  Three values are required.  This
parameter used for BINMODE=FIXED.
MAX
Enter the maximum valid value contained in each of the
three input bands.  Three values are required.  This
parameter used for BINMODE=FIXED.

Last updated: Jan 31 2005
File: pdfs2.html

Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov

ISIS Documentation Home Page