-
Hello, I am trying to use antsApplyTransforms to apply the transformations output from 15 iterations of antsRegistration (using antsMultivariateTemplateConstruction2) to brain images. There are 30 transformations in total (15 GenericAffine and 15 Warps). But the result is incorrect - the output from antsApplyTransforms is incorrectly transformed (no longer brain-shaped). Is there much rounding involved when the transforms are saved? I am wondering whether the cumulation of rounding error may be causing some issues. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I don't think there's any rounding, which is why the warp files tend to be so large even when compressed. I'm not sure how you are applying the warps but it sounds like something unusual. Each iteration (-i) of |
Beta Was this translation helpful? Give feedback.
-
Hi, l meet two problems when l'm trying to build a template.
l 'm looking forward to your reply.^v^ |
Beta Was this translation helpful? Give feedback.
I don't think there's any rounding, which is why the warp files tend to be so large even when compressed.
I'm not sure how you are applying the warps but it sounds like something unusual. Each iteration (-i) of
antsMultivariateTemplateConstruction2.sh
should produce new warps, they are not designed to be applied in sequence.