reslice_vector AIR 5.0


Purpose:

This program takes a vector field file and uses the information that it contains to load the corresponding image file and generate a new, realigned file.


Usage:

reslice_vector vector-field output [options]

options:
[-a alternate-reslice-file]
changes the file to be resliced
[-d divide-by-intensity-scale-factor]
scales output by dividing by specified factor
[-df divide-by-intensity-scale-factor-file]
scales output by dividing by factor specified in file
[-n model {half-window-widths}]
changes interpolation model
[-o]
grants permission to overwrite output
[-s multiplicative-intensity-scale-factor]
scales output using specified multiplicative factor
[-sf multiplicative-intensity-scale-factor-file]
scales output using multiplicative factor specified in file
[-w .warp-file]
a .warp file to be combined with the vector field
where the following definitions apply:
alternate-reslice-file [-a]
name of an alternate reslice file that is spatially equivalent (same voxel sizes and dimensions) to the default reslice file specified in the vector field file
if the -w option is used to define a .warp file, the alternate reslice file must be spatially equivalent to the default reslice file specified in the .warp file
divide-by-intensity-scale-factor [-d]
output intensities are divided by this positive value
divide-by-intensity-scale-factor-file [-df]
output intensities are divided by the value in this ASCII file containing a single positive number
half-window-width [-n ...]
half the width of the window (in whole voxels) to apply when doing sinc interpolation
larger values are more accurate, but considerably slower
model [-n ...]
the interpolation model number, selected from the menu:
  • 0. nearest neighbor
  • 1. trilinear
  • 2. windowed sinc in original xy plane, linear along z
  • 3. windowed sinc in original xz plane. linear along y
  • 4. windowed sinc in original yz plane, linear along x
  • 5. 3D windowed sinc
multiplicative-intensity-scale-factor [-s]
output intensities are multiplied by this positive value
multiplicative-intensity-scale-factor-file [-sf]
output intensities are multiplied by the value in this ASCII file containing a single positive number
output [mandatory]
name of the output image file (.hdr or .img suffix optional)
vector-field [mandatory]
name of the vector-field file
.warp-file [-w]
name of the .warp-file that will be combined with the vector-field. The standard file of the .warp file must match the reslice file of the vector-field file. The file that is loaded and resliced will be the reslice file identified in the .warp file

Examples:

reslice_vector mri.vectorfield newmri -o

Comments:


Error messages: (alphabetical by case)

See also: Generic error messages
-a must be followed by an image file name
-d must be followed by a positive number
-df must be followed by a file name
-n ____ does not define a valid interpolation model
-n ____ must be followed by three positive integers
-n ____ must be followed by two positive integers
-n must be followed by a valid interpolation model number
-s must be followed by a positive number
-sf must be followed by a file name
-w must be followed by a .warp file name
Unable to parse ____
Unable to parse argument ____, which was expected to begin with a '-'

See also:


Modified: December 15, 2001
© 2001   Roger P. Woods, M.D.(rwoods@ucla.edu)