Category
Hello,
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!
-Ahmed Alshareef
Hello,
Are you providing a reference image to these two executables?
IF not, definitely do provide them.
IF yes, ApplyTransformationToTensor 's reference image should be a 3D image instead of a 4D tensor image. IF what you have is a tensor image, you can use the ComputeTRMap to generate a 3D TR map from it and use that.
I expect one of these will fix the problem.