help > Visualize Multiple .TRK at once
Showing 1-6 of 6 posts
Display:
Results per page:
Feb 16, 2022  06:02 PM | Steven Meisler - Harvard University / MIT
Visualize Multiple .TRK at once
Hi,

Question is mostly in the title, but I would like to visualize multiple .TRK at once. When I click Add Tracks and load a new .TRK, the old .TRK will disappear from view.

Thanks,
Steven
Feb 16, 2022  07:02 PM | Chris Rorden
RE: Visualize Multiple .TRK at once
Simple solution is 
  http://trackvis.org/blog/tag/track_merge/
Note that the merged file will provide a different property tag for each track in the newly merged file, so you will be able to distinguish them when you view them with Surfice.
Feb 16, 2022  07:02 PM | Chris Rorden
RE: Visualize Multiple .TRK at once
Or if you prefer Python
  https://github.com/neurospin/pyconnectome/blob/971dfaf58895b61f4610934bd5434fb5a7062bfe/pyconnectome/utils/filetools.py#L123
Feb 16, 2022  08:02 PM | Steven Meisler - Harvard University / MIT
RE: Visualize Multiple .TRK at once
Thanks!
Sep 10, 2022  05:09 AM | Diana Lopez-Barroso - University of Malaga
RE: Visualize Multiple .TRK at once
Dear experts, I am trying to load a merged track (I used track_merge command to merge the three segments of the arcuate fasciculus that i previously dissected in Trackvis). I got a merged track as a result but when I load it in Surf Ice do not find different property tag for each track, there is only one DATASETID. When I open the merged track with Trackvis i can not find different tracks neither (so I have my three segments merged as an only track). Any idea of where could be the problem? 

thanks in advance, 

Diana López Barroso

Originally posted by Chris Rorden:
Simple solution is 
  http://trackvis.org/blog/tag/track_merge/
Note that the merged file will provide a different property tag for each track in the newly merged file, so you will be able to distinguish them when you view them with Surfice.
Sep 12, 2022  08:09 PM | Chris Rorden
RE: Visualize Multiple .TRK at once
Consider example data from here:

https://brain.labsolver.org/hcp_trk_atla...
https://pitt-my.sharepoint.com/personal/...

You can merge these two files with the command

track_merge CC.trk AC.trk AC_CC.trk

The two regions have the index 0 and 1, which you can view in Surfice by choosing the property name provided by track_merge ("DATASETID") and your preferred color scheme - here the AC is green and the CC is blue:
Attachment: dataset.jpg