Help for TIMSPIX

	TIMSPIX is a procedure designed to process TIMS picture products
in a throughput manner, beginning with the TIMS tapes provided by NASA's
Ames Research Center and Stennis Space Center (formerly called National 
Science and Technology Lab, or NSTL) SSC (NSTL).  There are eleven (11)
possible outputs from this procedure: one byte-format file of image data 
(*.PIX), one real-format file of auxilliary calibration data (*.AUX), six 
halfword-format files of radiance data (*.B1 through *.B6), and three byte-
format D-stretched image files with playback masks (*.RED, *.GRN, *.BLU).
A panorama correction may be performed on the D-stretched images.

	The user has the option of calibrating the TIMS imagery or performing
the D-stretch processing on the raw data.  The default is to perform the
calibration: this produces the six *.B* files. The calibrated, halfword
data is mapped to byte format prior to the D-stretch. The user may specify the
region of the image used to map the halfword data to byte data, the default 
is to use the entire image.

	The user may specify up to 10 subareas for use as training sites for 
the D-stretch procedure. The default is to use the enitre image as the 
source for the statistics. 

	The user may also specify the strip length used to create the playback
image. If no stripping is desired, the strip length should be set to the
number of scanlines in the flightline. The default is set at 3500 lines
per strip.

	IMPORTANT NOTE: TIMSPIX uses scratch files, which are deleteed at the
end of the procedure. If you have any files with the name RAWFILE, IRADFILE,
or SCRTCH* (in caps), THEY WILL BE DELETED!!!

Cognizant Programmer: Vince Realmuto                   	9 OCT 1990
Modified by Vince Realmuto				5 MAY 1993


PARAMETERS:


NAME

root name for the input and output files, i.e. MONO3 for MONO3.PIX and MONO3.AUX

SYM_NAME

symbolic name for tape device, as defined by VICAR proc TMOUNT

FLT_NAME

name of the flight line

NASA_CNTR

NASA center responsible for the TIMS flight, AMES or NSTL (SSC)

FILE_NUM

position of file on raw TIMS data tape

N_LINE

number of scan lines of TIMS data in data file

CALMODE

calibration option (CAL or NOCAL)

FITAREA

optional subarea for calc. of stats used in conversion of halfword data to byte data

DSTAREA

optional training areas for the D-stretch (max. of 10 subareas)

RECT

optional aspect ratio correction; default is to do no correction.

ASPECT

aspect (H/V) ratio used in the panorama correction

LENGTH

length of the strip used in playback

DATE

Date of data acquisition. Used to override the date in the VICAR label (yymmdd)

See Examples:


Cognizant Programmer: