Changes the scale of an image by replicating or deleting pixels.
Changes the scale of an image by deleting or replicating pixels from the input image and producing the zoomed output image. The image may be scaled independently in the line and sample direction.
- IN
- Input image(s). The input image(s) may be BYTE, INTEGER*2, INTEGER*4, or REAL*4.
- OUT
- Output image. Data type will be the same as the input.
- SCALFACT
- Scale factor(s). Scaling factors in the line and sample directions. They must be nonzero integers.
- IN
- Input image(s). The input image(s) may be BYTE, INTEGER*2, INTEGER*4, or REAL*4.
- OUT
- Output image. Data type will be the same as the input.
- SCALFACT
- Scale factor(s). Scaling factors in the line and sample directions. They must be nonzero integers.
This performs an expansion of the input image IN.IMG using a window of 100 lines and 100 pixels centered at the input file coordinates (250,250) specified by the window used. The zoom is performed by a factor of 4 in the line direction and a factor of 2 in the sample direction. The image Z.DAT will be 400 x 200 with the starting pixel of the input image at 200,200.
This performs a scale reduction on image file WASH.DAT. The input window is 512 x 512 and the image WASH.DAT is reduced by 2 in the line and sample directions. The image ZOOM.DAT will be 256 x 256 with the starting pixel of the input image at 1,1.
ZOOM alters images by replicating and deleting pixels based on user-input scale factors for the line and sample axes.If subcommand -EXPAND is specified, the scale of the image is increased. For a given input image line, each pixel will be replicated by a factor of SCALFACT(2). After performing the replication, each line will then be replicated by a factor of SCALFACT(1). If the resulting image is displayed, it will appear "closer."
If subcommand -REDUCE is specified, the scale of the image is reduced. For a given input image line, every SCALFACT(2) pixel, beginning with the starting pixel, is retained and all other pixels are deleted. Every SCALFACT(1) line, beginning with the first line, is then retained and all other lines are deleted. The minimum output image size possible is 1 X 1. If the resulting image is displayed, it will appear to be "further away."
An error occurred when creating the history file.
The minmax file could not be created.
A nonfatal error was encountered during processing. The image data is probably valid.
A fatal error was encountered during processing. The output image file is not deleted, and processing is terminated. The message that is displayed immediately preceding this error message is the specific error that was encountered.
The input images are not of the same data type. Use COPY to change the data types so they are the same.
The <XXXXXX> file could not be opened and processing is terminated. Verify that the image named in the <XXXXXX> parameter exists.
The calculated size of the output image is less than one. Do not reduce the input image by such a large factor or increase the size of the input image.
The input images do not have the same window size. Correct the input images window size.