- Using rigid transform as initial transform of B-splines registration
- Using rigid reg. image as moving image in B-splines registration
I expected the results to be equivalent (with some interpolation differences since in the second approach the image is resampled twice) but they are not (see gif). Why are they so different?
When I do the registration I set (FinalGridSpacingInPhysicalUnits 12), but when I use an initial transform for the B-splines registration, the grid spacing is:
(GridSpacing 12.0058738600 12.0666566017 12.2500518476)
If I use the rigid result as moving image input:
(GridSpacing 12.0000000000 12.0000000000 12.0000000000)
I though this might be the reason for the discrepancy, but if I set GridSpacing to be the same for the second approach I still don't get the same images. Can someone shed a light on what is going on here, and why the different approaches don't give the same result?
(I know that I should combine the transforms in the opposite order if I update the moving image for each step or if I use initial transforms, but this doesn't explain why the two approaches give different results, right? I assume that Elastix applies the initial transforms in the correct order when finding the B-splines transform)
All help appreciated!
//Regards Patrik Brynolfsson