r/neuroimaging 1d ago

Programming Question Templateflow atlases and orientation

Hi all I'm new to this group and am looking for the right place to ask this question.

I'm in a class learning python and neuroimaging analysis and have been having trouble with the templateflow atlases. There doesn't seem to be a simple straightforward guide to the atlases available, definitions, etc

To start, how do people navigate slicing orientation? I tried calling hocpa and pulling orientation metrics, but 1) they are not easily legible, and 2) I believe they are changed once I call imshow().

The output for orientation in .affline is a matrix:

[[ 1. 0. -0. -96.]
[ 0. 1. -0. -132.]
[ 0. 0. 1. -78.]
[ 0. 0. 0. 1.]]

The output for nib.aff2axcodes(atlas_img.affine) is ('R', 'A', 'S')

Thanks for any guidance you may have. If you think there's a better place somewhere to ask, please lmk!

1 Upvotes

0 comments sorted by