Hello, I am working on registering a CT volume with an MR volume. The slice thicknesses are 5mm and 2.6mm, respectively. To do the registration, I first cropped the MR and CT volumes so that only the head region was selected, then I changed the CT slice thickness to 2.6mm in the volumes tab before manually registering. Could you please let me know how the interpolation takes place when I change the slice thickness from 5mm to 2.6mm and if this is a fair way to do the registration. Many slices do not appear registered if I keep the 5mm slice thickness for the CT volume and 2.6mm slice thickness for the MR volume.
Thank you very much,
Emily
Hi Emily -
Changing the spacing via the Volumes module is probably not what you want. Instead, if you need to you can change the sampling resolution during the Crop Volume operation. But you may not need to do that, since registration algorithms should all be operating in physical space.
Hope that helps
Hi Emily,
Changing slice thickness in volumes will adjust the distance between slices but not its resolution. To change slice thickness of CT, you can try resample scalar volumes. But, you can totally skip resampling if you are registering volumes. The resolution of ‘Moving volume’ is matched with ‘Fixed volume’. In your case, have MR volume as Fixed image volume and CT as moving image volume.
I suggest the following steps (it works for me all the time)
- Center both volumes in ‘Volumes’ module
- Roughly align CT to MR using ‘Transforms’ module
- Register both volumes with 'General Registration (BRAINS) with MR as fixed and CT as moving image volumes. You can try different options under Registration phases (Rigid+scale works for me)
Thank you for this good advice. I am using the MMI cost metric and I am wondering if there is a way to view the results of this metric before and after registration. Also, do you know if there is the ability to record multiple steps into a script so that I can more efficiently register multiple patients?
You can find parameter values and metric values in each iteration in the application log. However, metric values that are encountered during a registration process are usually not very informative. If you want to get an idea of how robust or accurate the metric is then you can re-run the registration many times with slightly perturbed input parameters and see what percentage of the runs converge. It may be also useful to explore the metric values by setting parameters to the optimum value and change two parameters in a range of +/- 10-20 millimeters or degrees and plot the resulting surface (it is good if the surface is smooth and has a sharp peak at the optimum).
Recording should not be necessary. You can access all Slicer features in Python that you can run scripts directly in Slicer’s built-in Python interpreter. There are lots of examples in the Slicer script repository and you can find scripting tutorials here. If you are unsure about how to access a specific functionality from Python and google search does not help then feel free to ask here.