Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorient based on RAS/LPI #55

Open
Dale-Black opened this issue Jun 16, 2021 · 2 comments
Open

Reorient based on RAS/LPI #55

Dale-Black opened this issue Jun 16, 2021 · 2 comments

Comments

@Dale-Black
Copy link

Dale-Black commented Jun 16, 2021

Is there a way to reorient the NIfTI volumes using the affine matrix getaffine and axcodes like RAS? I was thinking of something like https://nipy.org/nibabel/reference/nibabel.orientations.html#nibabel.orientations.ornt_transform

@Tokazama
Copy link
Member

I have a script for that that I could make a PR for. I was waiting to submit it until I could formally incorporate it into the dimension names, but I've been inundated with additional projects lately, so whatever I put in there now will probably be subject to change in the future.

@Dale-Black
Copy link
Author

Let me know if you add a PR because that would definitely help me get started. Hopefully, it's something I could help polish if I am able to understand it enough

Tokazama added a commit that referenced this issue Jun 28, 2021
Orientation method for getting dim-names from affine (#55)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants