MatLab routines for evaluating the quality of white-matter connectomes generated using diffusion-weighted imaging.
mrtrix_tck2pdb.m
will convert from the mrtrix
format to the pdb
format, which can then be read into memory using mtrImportFibers
. When you save the resulting output of that function into a mat-file, you can feed it directly into the LiFE routines, as demonstrated here: https://github.com/francopestilli/life/blob/master/scripts/life_demo.m#L73
Error using feComputeSignal (line 41)
Inner matrix dimensions must agree.
Error in feComputeVoxelSignal (line 21)
voxDSig = feComputeSignal(S0, bvecs, bvals, voxTensors);
Error in feConnectomeBuildModel>(parfor body) (line 82)
voxelPSignal = feComputeVoxelSignal(fe,usedVoxels(vv));
Error in feConnectomeBuildModel (line 78)
parfor vv = 1:nVoxels
Error in feConnectomeInit (line 95)
fe = feConnectomeBuildModel(fe);
Error in life_demo (line 84)
fe = feConnectomeInit(dwiFile,fgFileName,feFileName,[],dwiFileRepeat,t1File);