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

Make a routine for reading tck files directly into LiFE #48

Open
arokem opened this issue Feb 22, 2015 · 1 comment
Open

Make a routine for reading tck files directly into LiFE #48

arokem opened this issue Feb 22, 2015 · 1 comment

Comments

@arokem
Copy link
Contributor

arokem commented Feb 22, 2015

This currently requires a bit of a loop. First you need to convert the tck file into a pdb file using mrtrix_tck2pdb, then you need to use mtrImportFibers to read that one, and finally you need to save that into a mat file, which LiFE can read (e.g. here: https://github.com/francopestilli/life/blob/master/scripts/life_demo.m#L73). It would be nice to have one routine do all of that automatically.

@francopestilli
Copy link
Owner

Yep. I will work on this. I believe we have a little issue of coordinate frames with TCK files. Those are generally sorted in IMAGE space. With 0,0,0 Top-left-up. We store pd. and mat in ACPC. With 0,0,0, in the middle of the matrix. It owed be good to do some testing.

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