translateCoordinate(i, nim, verbose=FALSE)
nim
.nifti
.nifti
object and an index vector
in the voxel space of the object and translates that voxel index into
the continuous coordinate space defined by the object's qform and
sform.Please note:
i
varies most rapidly, etc.qfac
which is either -1 or 1.
qfac
is stored in pixdim[0]
. If pixdim[0]
!= 1
or -1, which should not occur, we assume 1.
xyzt
are set in xyzt_units
field.nifti
-class object with translated coordinates.