VisionX V4 | VISCALE | VisionX V4 |
viscale − Rescales an image (larger) using interpolation |
viscale [if=<ifile>] [of=<ofile>] [m=x[,y[,z]]] [s=x[,y[,z]]] [-i] [-c] [-f] [-v] [-d] |
viscale scales an image to a different size using image interpolation. Zero, first, and third-order interpolation. The size of the output image is specified either by the magnification (m=) parameter or by the size (s=) parameter. If both are specified s= takes precedence. The default, if neither is specified, is linear and m=2. In this reference implementation the input image is first converted to floating point format. |
Only single channel images. |
if= |
specifies the input image |
|
of= |
specifies the output image |
|
m=<mag> |
specify the magnification in three dimensions (unspecified dimensions are set equal to last specified dimension ( e.g. z=y)). m=1 indicates no magnification. m>=1 required. |
|
s=<size> |
specify the output image size (unspecified dimensions are set equal to last specified dimension ( e.g. z=y)). s=>1 required. s= must be greater than or equal to input image dimensions. |
|
-i |
select no interpolation (i.e., zero order interpolation) |
|
-c |
select cubic interpolation -f |
|
-r |
return a float image |
|
-v |
verbose mode |
|
-d |
debug mode |
vmag(1), vzmag(1) |
K. Cronk |