NIfTI.jl icon indicating copy to clipboard operation
NIfTI.jl copied to clipboard

Reorient based on RAS/LPI

Open Dale-Black opened this issue 3 years ago • 2 comments

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

Dale-Black avatar Jun 16 '21 18:06 Dale-Black

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.

Tokazama avatar Jun 17 '21 15:06 Tokazama

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

Dale-Black avatar Jun 17 '21 20:06 Dale-Black