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
Changed defaults for niftireg and ANTS backends to linear which was NN
interpolation before.
Added an argument to the registrator construction to set the
interpolator
Elastix ignores the requested interpolation option
brainles_preprocessing/modality.py:404
The new Modality.transform(interpolator=...) option is silently ignored for ElastixRegistrator. Its transform() accepts the keyword but never uses it when constructing the parameter object or calling register() (registration/elastix/elastix.py:83-111), so the output uses the backend default instead of the requested interpolation. Reject explicit interpolation options for Elastix here, as Modality.register() does for unsupported backends, or implement support in the backend.
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changed defaults for niftireg and ANTS backends to linear which was NN interpolation before.
An "interpolator" argument is now available upon Registrator construction and .register / .transform calls.