Thanks, John.
I was browsing the mailing list for related issues and also found your reply here very informative:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=SPM;eb275f02.1908
I also dug a bit deeper into the code of dicm2nii (https://github.com/xiangruili/dicm2nii) and found that the "nii_read" function (inside "nii_viewer") does a reorientation of the voxel space (swopping dimensions, flipping axes) such that [i j k] agrees with [RAS+].
I'll see how I can use all of this for my purposes.
Best,
Stephan
|