I am using the functions with DRTAMAS to apply affine (rigid only) transformations generated from ANTs.
The ApplyTransformationToScalar function works fine and gives the expected aligned image.
The ApplyTransformationToTensor function results in a misaligned image. The rotations look fine, but the translation seems to be the problem.
Any help with this would be greatly appreciated!