Translation misalignment when using ApplyTransformationToTensor

Submitted by alshareef@jhu.edu on


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

Warning message during Creation of a population template

Submitted by CadyWang on


I have some questions of some warning messages I got during creation of a population template. I  want to create a template out of 50 subjects using TORTOISE 3.2 in Ubuntu 20.04.  The command I used is follows:  dtireg_create_template -s=sus.txt -n=1 -c=1 -r=1.5x1.75x2.5.  Though the procedure ran through and displayed the completion message, I also got several warnings as shown below:

How to register a tensor to a scalar image

Submitted by liuc15 on

Dear Okan,


I have a tensor image generated by DR TAMAS. I want to transform this tensor image to a scalar image template (T1 or T2).


What command should I use?


I tried used DTIREG:


DTIREG --moving_tensor tensor.nii --fixed_scalars T1_template.nii


But it was not working.