Help for AVERAGE
PURPOSE:
AVERAGE takes up to 48 input images and averages them together to make an
output image
If the size parameter is entered then only that portion of the image
is averaged and the image produced is the size of the SIZE parameter.
That is, if you enter size=(10,10,50,50) then the output will be
50 lines by 50 samples
Internally, the buffers are of DOUB format so that precision is preserved.
All inputs must be the same format. Multiband images not supported.
EXECUTION:
Example
AVERAGE INP=(A,B,C) OUT=D will average images A, B, and C to form D.
If the size parameter is used (SIZE=(SL,SS,NL,NS)), only the defined area in
each input image will be used to create the new file.
PROGRAM LIMITATIONS
1. The input and output images can be BYTE, HALF, FULL or REAL data.
2. Maximum number of samples is 20000 per line. The sum of the number
of samples per line for the input images must not exceed 120000.
3. Multi-band images are not supported
WRITTEN BY: Steve Pohorsky 1 Jul 1983
COGNIZANT PROGRAMMER: Ray Bambery
REVISION: 1 5 Oct 1984
3-94 CRI MSTP S/W CONVERSION (VICAR PORTING)
16-May-2011 Ray Bambery - Changed internals to DOUB format
Allow BYTE, HALF, FULL, or REAL data for input
PARAMETERS:
INP
STRING - Input image files
OUT
STRING - Output image file
SIZE
INTEGER - Region of input files
to be concatenated
SL
INTEGER - Starting line
SS
INTEGER - Starting sample
NS
INTEGER - Number of lines
NL
INTEGER - Number of samples
See Examples:
Cognizant Programmer: