I have a collection of Ultrasound files in .l3d format that I converted to .mhd and .raw.
When converting the .l3d files I have automated the changes in image spacing (because of scaling) and have applied transforms so that the axial, coronal, sagittal views align with the MRI conventions.
When I load the ultrasound while I see the axial in the red, it is called “Reformat”.
Is there a way to make the “Reformat” in the red to become “Axial” and so on?
This is the code I use for the transform:
sliceNodeR = slicer.app.layoutManager().sliceWidget(‘Red’).mrmlSliceNode()
sliceToRasR = sliceNodeR.GetSliceToRAS()
This is relevant because my goal is to image fusion between the ultrasound and MRI.
Currently, when I load both the MRI and ultrasound of the same subject the transforms that I apply to the ultrasound disappear.
Thank you for your help.