Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial translation between images when using masks #951

Open
leorrose opened this issue Aug 27, 2023 · 1 comment
Open

Initial translation between images when using masks #951

leorrose opened this issue Aug 27, 2023 · 1 comment

Comments

@leorrose
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant