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

Fix profile access in groupwise registration #444

Merged
merged 5 commits into from
Feb 13, 2023
Merged

Conversation

yoda-vid
Copy link
Collaborator

@yoda-vid yoda-vid commented Feb 9, 2023

This PR fixes groupwise registration for updates to the atlas profile structure. Cropping is also now optional since it was for a specialized case, now only applied when a truncated labels image is present.

As mentioned in #438, the current SimpleITK/SimpleElastix release lost support for groupwise registration. See #438 (comment) for a potential workaround.

@yoda-vid yoda-vid added the bug Something isn't working label Feb 9, 2023
@yoda-vid yoda-vid added this to the v1.6.0 milestone Feb 9, 2023
Update profile access for the registration group to use the b-spline registration parameter map.
Only crop the input images if truncation images are loaded.
- Update docstring
- Trim trailing spaces
The direction may not be transferable, such as directions generated from groupwise registration. Simply catch these exceptions and leave the default direction.
@yoda-vid yoda-vid merged commit 29c7acd into master Feb 13, 2023
@yoda-vid yoda-vid deleted the fix_groupwise_reg branch February 13, 2023 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant