Hi there,

So I had a question.

I have two transformations:

- T1-weigted image in standard space TRANSFORM
- T1-weighted to T2-weighted-epi (Diffusion weighted space) TRANSFORM

I transformed these using the flirt and fnirt tool.

But now I would like to concatenate these two transformations together, but inverse both of them before concatenating so I would have the following two tranformations instead:

- standard space in T1-weigted space TRANSFORM
- T1-weighted to T2-weighted-epi (Diffusion weighted space) TRANSFORM

and then concatenate them so that I have a final product of:

standard space to T2-weighted-epi (Diffusion weighted space) TRANSFORM

SO, my question is: how can I do that?

Should I use the applywarp command and then invwarp? to inverse the transforms correctly? also would invwarp, inverse the --affine as well?

I normally would do

convert_xfm -omat standardspace_to_T2w_epi concat standard space in T1-space_TRANSFORM T1-weighted_T2-weighted-epi_TRANSFORM

But I want a nonlinear transformation, so convert_xfm is not the right thing in this particular example