Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trk file converted from fe or fg is not readable in trackvis #54

Open
jcha9928 opened this issue Feb 9, 2017 · 1 comment
Open

trk file converted from fe or fg is not readable in trackvis #54

jcha9928 opened this issue Feb 9, 2017 · 1 comment
Assignees

Comments

@jcha9928
Copy link

jcha9928 commented Feb 9, 2017

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

@htakemur
Copy link
Collaborator

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.

@htakemur htakemur self-assigned this Feb 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants