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
This might make masks be interpreted differently to ANTs, if they are not binarized already. For example, if one used a FreeSurfer aparc+aseg type mask here ( subcortex labels 1-48(ish), cortex 1000-1100(ish) ), some labels will be zeroed out in this rescaling process.
How about we just binarize first and then cast to char? Happy to work on a PR for this.
The text was updated successfully, but these errors were encountered:
While reviewing #450, I saw this
ANTsPy/ants/registration/interface.py
Lines 396 to 400 in 8f5fa94
This might make masks be interpreted differently to ANTs, if they are not binarized already. For example, if one used a FreeSurfer aparc+aseg type mask here ( subcortex labels 1-48(ish), cortex 1000-1100(ish) ), some labels will be zeroed out in this rescaling process.
How about we just binarize first and then cast to char? Happy to work on a PR for this.
The text was updated successfully, but these errors were encountered: