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

How to change the Orientation of Nifti Image and show it to canvas #42

Open
ai-watcher opened this issue Aug 23, 2024 · 1 comment
Open

Comments

@ai-watcher
Copy link

I load the nifti-1 file using nifti-reader-js and get the header of the nifti. Now i am trying to change the orientation of the image like RAS to LAS or LPS and show it to canvas. How to do it after reading the file header?

@hanayik
Copy link
Collaborator

hanayik commented Aug 23, 2024

@ai-watcher I would recommend looking into Niivue for rendering nifti images. Niivue uses nifti-reader-js under the hood. However, images are always displayed in the Niivue canvas using RAS for consistency across all the applications that the Niivue library is used in.

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