elastix icon indicating copy to clipboard operation
elastix copied to clipboard

Initial translation between images when using masks

Open leorrose opened this issue 1 year ago • 1 comments

When using masks on the fixed and moving image, shouldn't the initial translation between images be the distance between their masks centers?

Looking at the registration results currently it looks like the distance between images centers is used. This can cause non overlap between the masks and lead to poor registration.

Is my assumption correct? Anything we can do about this?

Thanks in advance and keep up the good work!

leorrose avatar Aug 27 '23 09:08 leorrose

When i use (AutomaticTransformInitializationMethod "GeometricalCenter") the masks are taken into consideration but when using (AutomaticTransformInitializationMethod "CenterOfGravity") mask are not taken into consideration and transform parameters are initialized the same as without using mask.

leorrose avatar Aug 27 '23 10:08 leorrose