need to flip images

75 views
Skip to first unread message

Matthew Hoptman

unread,
Oct 29, 2009, 9:11:09 AM10/29/09
to DTI ToolKit (DTI-TK)
Hi,
I need to flip my tensor images to match my template. Is there a way
to do this in DTITK that will also flip the vectors?
Thanks,
Matt

hui Zhang

unread,
Oct 29, 2009, 10:19:05 AM10/29/09
to dt...@googlegroups.com
Matt,

This can be done in two steps, i.e., first flip the images and then correct for reorientation.  To do that, you can use TensorVolumeToImage to split a tensor volume into its components.  Next, you flip each component images, which I imagine can be done with FSL.  After that, you can piece the images back together with ImageToTensorVolume.  Finally, to correct for reorientation, you can use TVReorient, which applies an appropriate rotation, specified via Euler angles, to each tensor.  TVReorient is described in the following tutorial.

http://groups.google.com/group/dtitk/web/visualization-of-dti-volumes

I'm not sure what you try to do exactly.  Often, you can save yourself the hassle either by doing all these flipping business before you do the tensor reconstruction or by waiting till all the analyses are done and only flipping the results for visualization.

Gary

hui Zhang

unread,
Oct 29, 2009, 6:35:38 PM10/29/09
to dt...@googlegroups.com
Matt,

I just realized that I have implemented the flip support.  It will be available in the upcoming release.

Gary

Martin Domin

unread,
Apr 5, 2023, 6:08:45 PM4/5/23
to DTI-TK
Hi Gary!

I know, it's an ancient thread, but as I have the same issue and am looking for a convenient solution: would you mind to share the secrets of the supported flip functionality?

Thanks,
Martin

Reply all
Reply to author
Forward
0 new messages