I am using deformable intensity-based algorithm to register pretreatment and posttreatment CT pairs. I want a specific region defined by a segmentation not to be deformed much during nonlinear registration. For that, I introduced TransformRigidityPenalty where I used Elastix manual and “A rigidity penalty term for nonrigid registration.” as reference. However, I am getting weird results for the registered image as can be seen below:
I use 3 different parameter maps with a multi-resolution approach ( Rigid → Affine → B-Spline). I only used TransformRigidityPenalty in 3rd parameter map which is B-Spline. Below are the parameters I used:
And I set the rigidity index of voxels in the moving image via: parameter_object.SetParameter(2, "MovingRigidityImageName", "moving_rigidity_mask.nrrd"))
With iterations TransformRigidityPenalty gets less however, it is still too high:
The registered images seems to be working fine till the 4th resolution (final resolution) in B-Spline.
Below you can see registered image after 3rd resolution without and distorted region and the one after final resolution with distorted regions, respectively:
Is there any hints about what might be causing such a problem?
Thank you! References:
Jian, B., Azampour, M.F., De Benetti, F., Oberreuter, J., Bukas, C., Gersing, A.S., Foreman, S.C., Dietrich, A.S., Rischewski, J., Kirschke, J.S. and Navab, N., 2022, September. Weakly-supervised Biomechanically-constrained CT/MRI Registration of the Spine. In International Conference on Medical Image Computing and Computer-Assisted Intervention (pp. 227-236). Cham: Springer Nature Switzerland.
Luu, H.M., Niessen, W., Van Walsum, T., Klink, C. and Moelker, A., 2015. An automatic registration method for pre‐and post‐interventional CT images for assessing treatment success in liver RFA treatment. Medical physics, 42(9), pp.5559-5567.
Staring, M., Klein, S. and Pluim, J.P., 2007. A rigidity penalty term for nonrigid registration. Medical physics, 34(11), pp.4098-4108.