On the Elastix General Registration Module (on MacOS), I am doing a generic rigid preset.
However, when I superimpose the 2 images (the one “fixed” and the one “resampled, after the registration”, I have this result visually :
Can you tell me why have I this visualisation ?
Is it wrong or right ?
I have checked on Data module and these two images have the same dimensions and spacing.
Maybe do I have to find a way to do a ICP registration instead ?
I don’t know what to do…
The images (fixed and moving) are both nifti files that I have saved before after doing segmentations so they are in 3D. Do you think that this is the problem ?
The moving one is binary and the fixed one has been created from volume clip with model so I don’t really know if it is binary volume…how can I check that ?
These are binary volumes. Intensity-based registration methods cannot be effectively applied to binary images.
One option is to apply distance transform to them and then use intensity-based registration. This approach is implemented in Segment Registration extension. I would recommend to import your images into segmentation node (convert to labelmap node in Volumes module, if you forgot to click “labelmap” option when loaded the binary volumes) and use Segment Registration module to register them.
In Segment Registration you cannot select labelmaps as inputs, only segmentations, and you’re not mentioning that you imported file1 and 2 to segmentation nodes. Are you sure you’re using the module called “Segment Registration”?
Oh so I don’t need to go on Elastix general registration !!!
Just stop after my “file2 cropped” and superimpose this one with my file1 !!!
So many thanks ! and so sorry for not having understood before !!!