You must be logged in to post Login Register


Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Generating .trk file from scratch

UserPost

12:26 pm
December 28, 2011


ktaljan

New Member

posts 1

Hello, I am just starting out with TrackVis and am having some trouble getting tracks I make to display. For the moment all I want to do is create a track from scratch and have it display in trackvis, e.g. a track that just follows x=y=z or something like that. I've read thru the documentation on .trk format and have tried to follow it. When I open my track in trackvis it starts to load and then stalls out.

 

I can send the c program and/or .trk file to anyone who thinks they can spot my error! Help is most appreciated,

 

Kyle

11:35 am
January 4, 2012


Ruopeng

Admin

posts 406

How big is the file? Try something small to begin with, for example, just a few tracks. If you still have problem, you can create a small track file and send it to me at rpwang@martinos.org.

Ruopeng

3:54 pm
January 5, 2012


johnc

Member

posts 13

Assuming the binary data are saved properly…

 

Are fiber coordinates in mm?

Do these lie within the volume dimensions, as described in the .trk header?

Does the number of fibers match the n_count field of the header?

 

In my experience, these are some of the most common problems causing custom .trk files to not display in TrackVis.

 

-John