Hi AFNI experts,
I had a question regarding vector orientation information when applying MNI transforms to DTI data . I have a file that is eddy current corrected and its corresponding bval/bvec corrected files in subject space. I have a T2 image that was then aligned with the DTI data. The original brain (not B0 aligned) is also rigidly aligned to the MNI template and then ran auto_warp.py (which does an affine and nonlinear warp). I concatenated rigid, affine, nonlinear into a single transform and the T2 and DTI data warped correctly. I used cat_matvec to concatenate the rigid alignment and affine transforms since 3dAllineate outputs all transforms in DICOM order (RAI) so it is not a problem that the aligned images are in different orientations (as MNI was LPI orientation, T2 was RPI and DTI is ASL orientation) and then I extracted the rotation component. I want to use this transform with vecwarp program to rotate the corrected bvec file so that they are in MNI space and can be used with explore DTI or other programs etc. since the warps to MNI came out great using AFNI.
I wanted to find out if the subject space bvecs (3 columns) is in ASL orientation, can I directly use vecwarp to apply the rotations above to get it aligned with MNI space or do the bvecs have to be converted in to DICOM RAI orientation first since the matrix being applied is in RAI order? Based on the user post below I assume this procedure above is fine, but just wanted to verify since the post was regarding eddy current correction and not specifically rotating to MNI space. I am pretty confident with the cat_matvec part but I wasn’t 100% sure with the use of vecwarp if I need to do anything different for bvec files that are in oblique or other orientations other than RAI.