Conversion from tck to mat

Dear MRTRIX community

I am trying to figure out how to convert tck files to mat to make them compatible with ExploreDTI. Does anybody know if there is a straight forward way of doing this?

Many thanks in advance
Vasilis

Hi!
did you manage to convert? if yes, could you please guide how you did it. Thanks!

There is a MatLab function within the code repository for getting contents of .tck files into MatLab. I however can’t comment on any esoteric requirements of ExploreDTI beyond that.
Rob

Hi Rob,
I managed to use the Matlab function to read the .tck file and have extracted the fiber index and 3d tract values. I am trying to align a muscle mesh (.stl) with the extracted fibres. Please correct me if wrong, the muscle mesh is already in mm and the fiber tracks values of .tck are also in mm? My T1-scan: 0.7x0.7x1 mm and Diffusion scan: 2x2x4 mm.
In the attached image, the muscle tracks and mesh are not in the same plane. Do I need to correct it only for registration i.e. scale, roatate or translate? or do I also need to do correction regarding the scan dimmensions? if yes, could you guide how to proceed?

I did ACT based deterministic tractography and I thought that the muscle mesh and the tracked fibres will automatically align, as I had already done the registration via FSL in mrtrix before performing ACT. But when I imported these in MATLAB, they both seem off.

Thanks!