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

Register cropped image to non-cropped image #585

Open
annareithmeir opened this issue Jan 23, 2024 · 0 comments
Open

Register cropped image to non-cropped image #585

annareithmeir opened this issue Jan 23, 2024 · 0 comments

Comments

@annareithmeir
Copy link

Task (what are you trying to do/register?)

I have a special case where one of the images of each image pair is cropped and the other is not. I am using the standard hypermorph framework. Naturally, the predicted deformation tries to map parts of the image domain of the non-cropped image to the image domain of the cropped image, which is not desired.
image

What have you tried

I tried to use a mask with zeros at the border locations and ones within the cropped image domain in the similarity and grad loss functions. However, no change occurs. I tried swapping the direction of registration (cropped -> non-cropped and other way round) and using the mask only in the similarity loss function. Still no improvement.

Ultimatively I am not interested in the deformation outside of the cropped image domain. How can I restrict the domain where the deformation is calculated?

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