Ex: INP=IPIC
where IPIC is the input image file specification. IPIC may be
in byte, halfword (16-bit integer), fullword (32-bit integer), or floating
point (REAL*4) data format. IPIC may be up to 20,000 pixels in width (sample
size) and of arbitrary length (line or vertical dimension), and may be
located on disk or magnetic tape.
Ex: OUT=OPIC
where OPIC is the output image file specification. The output data format is
specified by the OFORM parameter. OPIC may be up to 20,000 pixels in width
(sample size) and of arbitrary length (line or vertical dimension), and must
be located on random-access disk storage.
SIZE=(1,1,NL,NS)
where NL and NS specify the number of lines and samples in the output image.
If the SIZE parameter is ommitted, the output image size should be specified
via the ZOOM, LZOOM, and/or SZOOM parameters.
Ex: Enlarging a 3x3 image to a 9x9 image can be achieved in the
following ways:
SIZE A B SIZE=(1,1,9,9)
or SIZE A B NL=9 NS=9
or SIZE A B ZOOM=3
or SIZE A B LZOOM=3 SZOOM=3
NL=n
where n is an integer specifying the number of lines in the output image.
The parameters NL and NS may be used instead of the SIZE parameter to specify
the size of the output image.
NS=n
where n is an integer specifying the number of samples in the output image.
The parameters NL and NS may be used instead of the SIZE parameter to specify
the size of the output image.
NOTE: The same restrictions that pertain to the SIZE parameter also pertain
to NL and NS.(See HELP SIZE)
Keyword OFORM specifies the data format of the output image. Valid values are BYTE for byte output, HALF for halfword (16-bit integer) output, FULL for fullword (32-bit integer) output, and REAL for 32-bit floating-point output. If defaulted, the output data format is set equal to the input data format.
AREA=(SL,SS,NL,NS)
where SL, SS, NL, and NS are all integers specifying the starting line,
starting sample, number of lines, and number of samples, respectively, of
the input area. The input area defaults to (1,1,NLI,NSI) where NLI and NSI
are the number of lines and number of samples in the input image.
NOIN specifies that no interpolation is to be performed. A nearest neighbor is used to compute each output sample value. The default is to perform interpolation.
ZOOM=z
where z is an integer or floating point number specifying the output image
size as a ratio of the input image size (the zoom factor). The image size
is scaled by the factor z in both line and sample dimensions. Note that
the line and sample zoom factors may be specified independently via the
LZOOM and SZOOM parameters. I.e. ZOOM=2 is equivalent to LZOOM=2 SZOOM=2.
The zoom factor is identical in function as in VIDS or IDX. If z is
positive, the input picture size is multiplied by z. If z is negative,
the picture size is divided by -z. Note that z=-2 is equivalent to z=0.5.
Specification of a zoom factor overrides the corresponding NL and/or NS
values in the VICAR SIZE field. If a zoom factor is not specified the
output picture size defaults to the corresponding NL and/or NS value in
the SIZE field.
LZOOM=z
where z is an integer or floating point number specifying the magnification
or reduction factor of the image in the line (vertical) dimension. If z is
positive, the line dimension is multiplied by z. If z is negative, the line
dimension is divided by -z. Note that z=-2 is equivalent to z=0.5.
Specifying LZOOM overrides the corresponding NL value in the VICAR SIZE
field. If LZOOM is not specified the output line dimension defaults to the
corresponding NL value in the SIZE field.
SZOOM=z
where z is an integer or floating point number specifying the magnification
or reduction factor of the image in the sample (horizontal) dimension. If z
is positive, the sample dimension is multiplied by z. If z is negative, the
sample dimension is divided by -z. Note that z=-2 is equivalent to z=0.5.
Specifying SZOOM overrides the corresponding NS value in the VICAR SIZE
field. If SZOOM is not specified the output line dimension defaults to the
corresponding NS value in the SIZE field.
SCALE=s
where s is an integer or floating point number specfying an optional
scaling to be applied to the output DN values: OUTDN=s*OUTDN. If SCALE
is not specified, no scaling is performed.
LIMITS=(I1,I2) where I1 and I2 are integers specifying the lower and upper limits of the output DN range. All DN's outside this range are set equal to ILO and IHI. The defaults are 0 and 255 for byte output, -32768 and 32767 for halfword output, and -2147483648 and 2147483647 for fullword data. This DN range check is applied to floating point output.