You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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?
The text was updated successfully, but these errors were encountered:
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](https://private-user-images.githubusercontent.com/26904567/299056558-82b2427f-79f3-44fd-bd7a-27b310b69b69.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMTkxMDcsIm5iZiI6MTcyMDExODgwNywicGF0aCI6Ii8yNjkwNDU2Ny8yOTkwNTY1NTgtODJiMjQyN2YtNzlmMy00NGZkLWJkN2EtMjdiMzEwYjY5YjY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDE4NDY0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE5OGZhOWYxYjFjNjFjNThkYTYwMDRhZDYxN2Q2MjVhZmQzMmI2ODA1NmVkMmZiYWNiNjM4OWFlODg3Zjc2NTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.jTotNSpX2KOgvInbdVTSVGINIdxOw-3mWRdIY3TDSGA)
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?
The text was updated successfully, but these errors were encountered: