ANTsX / ANTs

Advanced Normalization Tools (ANTs)
Apache License 2.0
1.21k stars 381 forks source link

ANTs apply transform for template construction has hardcoded dimension = 3 #1718

Closed mabulnaga closed 7 months ago

mabulnaga commented 7 months ago

in the files antsMultivariateTemplateConstruction.sh and antsMultivariateTemplateConstruction2.sh, the calls to antsAI and antsApplyTransforms have hardcoded -d 3, when they should instead be -d ${DIM}. This was causing errors when trying to construct 2D templates.

cookpa commented 7 months ago

Oops, my mistake. Workaround with an initial template (-z), I will fix

mabulnaga commented 7 months ago

I just sent in a PR