From the decomposition of the .h5 file from FMRIPREP ANTS pipline, I can get the AffineTransform.mat and the DisplacementFieldTransform.nii.gz.
I suppose the initialization is with a affine transformation (DOF >6)? Is it with 12 DOF?
Currently, I saw a .fixed field and a .AffineTransform_double_3_3 field in the .mat file, would anyone please advice on how to correctly interpret the 3 parameters in the .fixed field and the 12 parameters in the .AffineTransform_double_3_3 field?
I would also like to ask is it possible to further divide the affine transformation into one rigid transformation matrix and a second transformation file containing the rest of the DOFs? And would these resulting files function correctly? That is whether I can use the rigid transformation matrix to perform rigid body transform only and use the combined rigid transform matrix and the 2nd transformation matrix containing the rest of the DOFs to perform the full Affine transformation? And combine these two with the displacementFieldTransform to perform the whole non-linear transformation?
If the answer is yes, what tools or ANTS command could I use to accomplish this task?
Thank you very much!