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

Nifti DTK Orientation

UserPost

12:35 am
July 21, 2011


yiuin98

Member

posts 3

When I try to load trk files with b0 images, the two do not overlay perfectly until I manually set the nifti orientation to the nearest diagonal matrix. For example, the following nifti header was dumped from the output b0 image after recreating tracts from dicom:

http://paste.pocoo.org/show/443305/

 

When I actually load the image with the trk points, they don't overlap until I set the orientation to:

http://paste.pocoo.org/show/443312/

 

What coordinate system are the points in the track file supposed to be aligned to? Thanks for the help. I don't know if this is a bug in DTK or not, so sorry if this is a miss-post.

10:38 am
July 22, 2011


Ruopeng

Admin

posts 406

Hmm, I'm not sure what went wrong. Supposedly trackvis should ignore the oblique information in the image file when loading it. Because tracks are displayed in its local voxel space.

Ruopeng

7:27 pm
July 25, 2011


yiuin98

Member

posts 3

Post edited 11:34 pm – July 25, 2011 by yiuin98


Pixel space with the spacing information intact? 

In my opinion ignoring oblique information is a bug. What if you load a T1 anatomical image that has different oblique information? The two images won't show up correctly. Considering that DTI images take a long time to gather, gathering in a different orientation from the T1 anatomical is very likely to minimize scanner time. 

11:38 am
August 1, 2011


Ruopeng

Admin

posts 406

You will have to register T1 to DTI space before loading it in TrackVis. Otherwises they won't align.

Ruopeng

4:24 pm
August 23, 2011


yiuin98

Member

posts 3

Yes, but it is a larger deformation registration than would be necessary if the two images had nearby orientation (assuming you use a registration algorithm that uses oblique information). Besides registration doesn't work for flips. Am I the only person who doesn't think we should throw out information?

11:44 am
August 29, 2011


Ruopeng

Admin

posts 406

Ideally trackvis should use the oblique information for display but for historical reason it does not because lots of data we dealt with did not have that information (that was before nifti format exists). So everything is in local DTI space.

Ruopeng