medinria: Read/Write Diffusion Tensor Data from/to NIFTI File
Description
Read/Write diffusion tensor data from/to NIfTI file. Interface functions to MedINRIA.
Usage
medinria2tensor(filename)
tensor2medinria(obj, filename, xind = NULL, yind = NULL, zind = NULL)
Arguments
filename
file name for the tensor data.
obj
object of class "dtiTensor"
xind
index to define a subcube in x-direction. If is.null(xind)
all voxel indices are used.
yind
index to define a subcube in y-direction. If is.null(yind)
all voxel indices are used.
zind
index to define a subcube in z-direction. If is.null(zind)
all voxel indices are used.
Value
For function medinria2tensor
: object of class "dtiTensor"
.
Examples
Run this code# NOT RUN {
# }
# NOT RUN {
demo(dti_art)
# }
Run the code above in your browser using DataLab