Possible Bug: Image Orientations

72 views
Skip to first unread message

Tyler Diorio

unread,
Jun 8, 2021, 11:49:31 AM6/8/21
to DSI Studio
Hello,
I'm using the most recent version of the software (6/8 DSI Studio download) and experiencing issues with the orientation of my scans throughout the pipeline. Before using DSI Studio I pre-process an Axial DTI scan with eddy current + topup and register to it's respective Sagittal T1 space. Then I import my DTI (corrected, on Sagittal T1 space) into DSI studio. In Step 2, the GUI opens as a rotated view of my original image so I can apply the following actions to rotate it back to the correct orientation - (1) Image Swap XZ; (2) Image Swap XY; (3) Image Flip X. Then, I open the respective file in Step 3 which shows a different orientation before generating fibers. Lastly, when I export FA as a .nii and view it outside of DSI, it appears rotated once again. I've summed all of this up in the image below:

DSI_StudioBUG.png
It seems like the rotations occur during Step 1 and are not fixed when I do the swaps and flips in Step 2. Additionally, I've done the rotate_to T1 image but that also did not fix the rotations, and even made them look moor poorly aligned.

My question is: Is there a way for me to ensure that the final outputs of DSI Studio (fiber directions, FA, etc..) will be the same orientation and space as my original DTI image?

I'm happy to provide the exact commands I'm using as well as a case when I do not perform the Step 2 Image Swaps and Image Flips if that would be helpful.

Thank you,
Tyler

Frank Yeh

unread,
Jun 8, 2021, 12:24:59 PM6/8/21
to dsi-s...@googlegroups.com
DSI Studio uses radiology convention so the axial slices will be viewed from the bottom.
Moreover, rotate to T1W is not going to work out because it only addresses minor rotations.
The correct approach is to use image swap or flip to make sure that the Step 2 GUI is showing axial slices from the bottom.

Also, to avoid mirrored results, any slip or swap operation should be applied in pair: see example at https://www.youtube.com/watch?v=XHk_gQN72rU

Hope this helps
Frank


--
You received this message because you are subscribed to the Google Groups "DSI Studio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dsi-studio+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dsi-studio/b0f58378-c860-4b4f-b585-2487ec1d3631n%40googlegroups.com.

Tyler Diorio

unread,
Jun 8, 2021, 12:53:18 PM6/8/21
to DSI Studio
Is there a way to get the Step 2 GUI consistent with the Step 3 GUI and also to be consistent when exporting FA to view in MATLAB with that same orientation? 

Additionally for the Sagittal dataset, it seems that the Step 2 GUI opens as Coronal rather than Axial, is this intended?

Thanks,
Tyler

Frank Yeh

unread,
Jun 8, 2021, 1:17:50 PM6/8/21
to dsi-s...@googlegroups.com

Is there a way to get the Step 2 GUI consistent with the Step 3 GUI and also to be consistent when exporting FA to view in MATLAB with that same orientation? 

Step T2 and T3 GUI are consistent, as shown in your figure. Both are rotated sagittal views.
Exporting FA is another story because it depends on how srow in the nifti header is handled.
 

Additionally for the Sagittal dataset, it seems that the Step 2 GUI opens as Coronal rather than Axial, is this intended?

Not at all. 
There is a problem with the source of the data, and it should be fixed using the approach as shown in the youtube video or you have to correct the srow matrix in the NIFTI header before processing using DSI Studio.

Best regards,
Frank
 
Reply all
Reply to author
Forward
0 new messages