dMRI-Lab 1.0
|
Functions | |
function | spectrum2scalar (in l1file, in l2file, in l3file, in volfile, in varargin) |
function spectrum2scalar | ( | in | l1file, |
in | l2file, | ||
in | l3file, | ||
in | volfile, | ||
in | varargin ) |
These eigenvalues can be computed from the diffusion tensor using the dti2spectrum function.
l1file | The largest eigenvalue. |
l2file | The file to save the second largest eigenvalue. |
l3file | The file to save the smallest eigenvalue. |
volfile | A string specifying the file to save a scalar map with the scalar measure computed by the function. |
varargin | Optional arguments passed as -name value pairs |
Mandatory Inputs:
Optional Arguments scalar: A string, one of:
Westin's coeffcient can also be computed with a RMS normalizing factor as:
mask: a MxNxP array of logicals. Only those voxels where mask is true are processed, the others are filled with [0,0,1].
Example: