Skip to content
New issue

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

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

Already on GitHub? # to your account

Add TransformixFilter:: member function equivalent to ITK Resampler SetOutputParametersFromImage #811

Open
N-Dekker opened this issue Feb 21, 2023 · 2 comments

Comments

@N-Dekker
Copy link
Member

Request from @ntatsisk

@ntatsisk
Copy link
Collaborator

Thanks @N-Dekker. I noticed that ITK Resampler has also a function to set a reference image: https://github.com/InsightSoftwareConsortium/ITK/blob/f0d342e0b81e690194cd3fe993316bca7570402b/Modules/Filtering/ImageGrid/include/itkResampleImageFilter.h#L262. When set, it requires also to make user of the flag UseReferenceImage.

At first glance it appears equivalent to SetOutputParametersFromImage but maybe a more careful look is required.

@N-Dekker
Copy link
Member Author

N-Dekker commented Apr 3, 2023

Having discussed at today's weekly internal elastix sprint with Marius (@mstaring), Stefan (@stefanklein), and Konstantinos (@ntatsisk), we think SetOutputDomainFromImage would be a good name for such a member function. The term "Domain" would then refer the five image properties, Direction, Index, Size, Spacing, and Origin together.

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

No branches or pull requests

2 participants