table of contents
LIPSIA     Scaling to a new voxel resolution
vmapscale
This program rescales images (e.g. T1-weighted images, zmaps, contrast images, but not time series data) to a different voxel resolution. The voxel resolution of the output image is specified in millimeters by the parameters '-xreso,-yreso,-zreso'.

Instead of specifying the voxel resolution it is also possible to specify the size of the output image matrix using '-xdim,-ydim,-zdim'. If these parameters are set to '0' then a default size is used.

In the following example, an input image is scaled to a voxel resolution of 3x3x3 mm.

vmapscale -in map.v -out result.v -xreso 2.5 -yreso 2.5 -zreso 2.5


Parameters of 'vmapscale':
-help
Prints usage information.
-in
Input files. Default: (none)
-out
Output file. Default: (none)
-xreso
New voxel resolution in x-dir (mm). Default: 1
-yreso
New voxel resolution in y-dir (mm). Default: 1
-zreso
New voxel resolution in z-dir (mm). Default: 1
-xdim
Matrix size in x-dir. Default: 0
-ydim
Matrix size in y-dir. Default: 0
-zdim
Matrix size in z-dir. Default: 0
-type trilinear | NN
Type of interpolation: trilinear | NN (nearest neighbour). Default: trilinear


Max Planck Institute for Human Cognitive and Brain Sciences. Further Information: lipsia@cbs.mpg.de
Copyright © 2007 Max Planck Institute for Human Cognitive and Brain Sciences. All rights reserved.