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.
“Reformat” just means that image plane is not aligned with any of the patient axes. You can safely ignore it and enable display of an orientation marker in the slice view to make sure you know what it refers to.
Your ultrasound and MRI images do not appear at the same place because they are too far from each other. You can show them in the same place by centering both(using Center Volume button in Volumes Volumes module / Volume Information section) or quickly align them by an approximate landmark registration using Fiducial Registration Wizard.
What organs do you want to register?
Prostate US/MRI registration (and for any other registration where you can segment the structure of interest and it deforms smoothly) you can use Segment Registration extension. There are many other registration tools, depending on what anatomical parts you want to fuse and what your requirements are.
Great! Thank you for the quick response.
Our region of interest is the female pelvic floor.
I am using the Prostate MRI-US Contour Propagation using the urethra as the volume of interest.
I removed the transforms from the US and in this case, the red shows the axial MRI and the sagittal US. The anatomical axial of the US is actually the sagittal view.
I made the segmentations in both using the axial image (axial for MRI, sagittal for the US).
The segmentation works in the sense it aligns the 2 axial views. However, it does not do what I would like.
I think due to my initial different alignments in the US, I end up with the axial MRI aligned with the sagittal US.
I tried applying my initial transforms to the US but that did not help (basically it rotates my image 90 degrees)
Do you have any suggestions for this issue?
For approximate reorienting of a volume, I would recommend to use data module to apply a transform then use interactive editing in 3D view. It allows you to quickly rotate and move the transform anywhere in 3D. You can also use Fiducial registration wizard for quick pre-alignment before registration. For more details, see Transforms module documentation: apply transform, modify transform. After you have positioned the image where you wanted, harden the transform on the image.
Thanks for the suggestions. It worked for me by doing the following:
- Open the MRI and US file in the same scene
- Remove the “Reformat” planes from the US
- Create a new linear transform to the US volume
- Harden the transform
Now I don’t have any “reformat” planes, which allows me to use the Prostate MRI-US Contour Propagation.