FNNDSC / ami

AMI Medical Imaging (AMI) JS ToolKit
https://fnndsc.github.io/ami/#viewers_upload
MIT License
717 stars 213 forks source link

RAStoLPS then LPStoRAS #418

Closed nmarkowitz closed 3 years ago

nmarkowitz commented 3 years ago

Hi,

My question may be very simple. In the viewers_quadview example a RASToLPS matrix is applied to the brain meshes lh.orig and rh.orig. How can I create a LPSToRAS transformation matrix? I've tried applying a transformation matrix to stackHelper but it doesn't change the direction the head is facing. It only changes where the slice plane is located in the scene. The reason I want to make that is because I'm adding other objects to the scene that are in RAS space. Any input would be greatly appreciated.

Have a good day,

Noah