VPYRAMIDVisionX V4
NAME
vpyramid − Reduce (or magnify) an image by a factor of 2^n
SYNOPSISvpyramid [-H] [if=<inputfile>] [of=<outputprefix>] [n=] [-m]
DESCRIPTIONvpyramid reduces the size of an image in x and y by a factor of 2^n. Pixel averaging is used to get the output values. By default, n=1, which makes the scaling factor equal 2, and the image size is quartered.The -m option allows the inverse operation: magnification by a factor of 2^n. The magnification algorithm replicates each pixel value 2^n times in the output.
OPTIONS
if= |
Input File |
|||
of= |
Output File |
|||
n= |
Scaling factor -> 2^n |
|||
-m |
Magnification (instead of reduction) |
* |
Image size must be power of 2 | ||
* |
Handles short and byte images | ||
* |
n must be between 0 and 4 --> scaling factor between 1 and 16 |
--
SEE ALSO--
vmag, vzmag
Benjamin Stein, Fall 2001