Open ai-watcher opened 3 months ago
@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.
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?