reslice


Purpose:

This is the program that takes .air files and uses the information that they contain to load the corresponding image file and generate a new, realigned file.


Usage:

reslice.air-file output [options]

options:


where the following definitions apply:


.air-file
name of the input reslice parameter file
output
name of the output image file (.hdr or .img suffix optional)
alternate-reslice-file
name of an alternate reslice file that is spatially equivalent (same voxel sizes and dimensions) to the default reslice file specified in the .air-file
intensity-scale-factor
multiplicative intensity rescaling factor
x-dim, y-dim, z-dim
output file dimensions
x-size, y-size, z-size
output file voxel sizes
x-shift, y-shift, z-shift
shifts to apply to output file (in voxels)
model
one of the following should be selected:
  • 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
  • 6. 3D windowed scanline sinc
  • 7. 3D unwindowed scanline sinc
  • 10. 3D scanline chirp-z
  • 11. scanline chirp-z in original xy plane, linear along z
x-half-windown width, y-half-window width, z-half-window-width
The half-window widths which should only be supplied for windowed sinc interpolation models. Models 2-4 require two half-window widths. Models 5 and 6 require three half-window widths.
NOTE:
The program interpolates output to create cubic voxels by default unless overridden by -k or -p option.


Examples:

reslice pet.air newpet

reslice pet.air newpet -o

reslice pet.air newpet -k -o

reslice pet.air newpet -o -z 43 2.25


Comments:


Error messages: (alphabetical)

See also: Generic error messages

File '___' not created because of matrix size incompatibility...
  • The reslice file matrix dimensions don't match those stored in the .air file.
  • Your .air file has gotten associated inappropriately with a different reslice file.
  • The programs scanair, and identify may help you sort it all out.
File '___ not created because of voxel size discrepancy...
  • The reslice file voxel sizes don't match those stored in the .air file
  • Your .air file is inappropriately associated with an incorrect reslice file
  • The programs scanair, and identify may help you sort it all out.



See also:


Modified: October 25, 1997

© 1995-97 Roger P. Woods, M.D.(rwoods@ucla.edu)