Level 2 Help for GAINOFF

INP

The first file is the image file, in VICAR format. It may be either in BSQ or
BIL organization, and BYTE, HALF, FULL, or REAL format.

The second file must be an ASCII file of three columns of numbers. The second
column will be used as the spectral gain, and the third column used as the
spectral offset. The first column is ignored. The ASCII file may contain headers
and annotation, and must have the same number of rows of numbers as the number
of bands to be processed.


OUT

Name of the output image file. The output file will be in BIL format, 
regardless of the format of the input image.


SIZE

The size parameter determines the boundaries in the input
file from which the computation is to take place.  It is specified
as  (SL,SS,NL,NS), where
	SL is the starting line 
	SS is the starting sample
	NL is the number of lines to be copied
	NS is the number of samples (pixels) in each line


BANDS

The bands parameter determines the bands in the input
file from which the computation is to take place.  It is specified
as (SB,NB), where
	SB is the starting band
	NB is the number of bands to be copied


INGAIN

INGAIN is a value multiplied to all input pixels prior to the application of
individual gains.  It may be used to get the units of the image to match the
units of the gains.


OUTGAIN

OUTGAIN is a value multiplied to all pixels immediately prior to output. It
may be used to rescale the data into a reasonable range for byte or halfword 
output.