I have to do registration of 2 similar volumes: one from a CT (dicom file) and one is a .stl file I created.
I did the manual registration overlapping them.
I need to know if the .stl volume I created is similar to the real volume from CT.
Does exist a way to calculate an error after the registration ? So I could understand if the volume I created is realistic compared to the real volume. Maybe I could try another type of registration instead of the manual one, which would give me back also a registration error (I don’t know).
For qualitative assessment, you can show the segmentation performed on the moving volume transformed to the fixed volume and overlaid on the fixed volume. You can supplement that with Transforms module’s visualization options:
For quantitative assessment, you can evaluate registration result by comparing segmentation that was transformed from the moving volume to the fixed volume, to segmentation that was done directly on the fixed volume.
Segment comparison module (in SlicerRT extension) can give you quantitative metrics about segment similarity (Hausdorff and Dice metrics).
thanks for your answer.
I can’t understand why I have to do the segmentation: my volumes are already defined and overlapped (see picture attached). I just need to assess the registration and understand if the trasnformed volume is fitting well with the fixed volume from CT.
How can I do it?
You only need to do segmentation if you want to get quantitative results using Hausdorff or Dice metrics.
It is also useful to do a very simple, threshold-based segmentation if you want to compare two images in a slice view, as it is difficult to see misalignment on two images that are blended together (especially when you want to see small differences), while misalignment is very clearly visible if you overlay extracted contours on an image.
Example 1: perfectly aligned images (left: blending two images; right: overlaying thresholding result on the other image)
Example 2: slightly misaligned images (left: blending two images; right: overlaying thresholding result on the other image). Misalignment appears as slight blurring on the left, and it is clearly visible on the right.
Another common method for quantitative assessment of registration result is to define corresponding anatomical landmarks on the moving and fixed image and compare the position difference between the fixed image landmarks and the transformed moving image landmarks (they should be exactly the same if the registration is perfect). Fiducial registration wizard module (in SlicerIGT extension) can compute this error (and also a transformation) from such anatomical landmarks.