Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

XVOL-TRANSFORM-VOLUME

source files: xvol.[ch]

SYNTAX

(XVOL-TRANSFORM-VOLUME
  :VOXELS <grl:voxels>
  :RESULT-IN <grl>
  :TRANSFORM <modelling-matrix>
[ :FILTER-SHAPE { :IMPULSE | :BOX | :TRIANGLE | :QUADRADIC | :MITCHELL  } ]
)

DESCRIPTION

This function is intended to be used for applying fairly arbitrary 4x4 transforms to a sampled volume, for example to rotate and scale a brain slightly.

The :VOXELS argument must (currently) be a 256x256x256 or 128x128x128 16-bit voxel array.

The :TRANSFORM argument must be a 4x4 tranform matrix. This matrix specifies the location of the :RESULT-IN points within the :VOXELS array, which for this purpose is currently understood to occupy a space with the origin at the center and the extremes at (-1.0, 1.0) on each axis.

The :RESULT-IN argument must (currently) be a 256x256x256 or 128x128x128 16-bit voxel array, and is also understood to implicitly occupy a space with the origin at the center and the extremes at (-1.0, 1.0) on each axis.

The :FILTER-SHAPE parameter is currently ignored.


Go to the first, previous, next, last section, table of contents.