Open jcha9928 opened 7 years ago
Hi Jiook,
I have note tested the conversion between fe/fg MATLAB format and trk/tck format. So, I don't have a quick solution.
There are a couple of public resources in my mind, which may help us for a better communications between LiFE and MrTrix/TrackVis.
First, MrTrix provides MATLAB function, which save the cell array information (perhaps vector of coordinate of streamlines) into MrTrix file format (presumably .tck). One idea is to check this function, to see whether we could use it to save MATLAB-based file into tck format easily or not. https://github.com/MRtrix3/mrtrix3/blob/master/matlab/write_mrtrix_tracks.m
Second, tractconverter will help to convert between tck and trk. https://github.com/MarcCote/tractconverter
Hopefully it helps.
Hi,
Thanks for the awesome program!
I was able to run demo_life using my tractography results (mrtrix), but a trackvis trk file converted from a fg matlab structure using fe2trk is not recognizable in trackvis (the file caused a run time error). Is there any easy solution to this? I would like to save the life optimized tracks into tck (mrtrix) format eventually to be able to use mrtrix functions.
Thanks so much for your help.
Best,
Jiook