Hi AFNI members,
I wanted to concatenate my matrices from the volume registration, epi2anat (I have anat2epi that I inverse), and anat2tlrc (I have MNI to anat that I inverse).
When I was using linear registration for the anat to tlrc, I had this line:
>> cat_matvec -ONELINE [mni2anat] -I [anat2epi] -I volreg_matrix.aff12.1D > whole_matrix_volreg_epi2anat_tlrc.aff12.1D
Now I am trying to do the same with non-linear registration:
>> 3dNwarpCat -prefix whole_matrix_volreg_epi2anat_WARP -warp3 "INV([mni2anat])" -warp2 "INV([anat2epi])" -warp1 volreg_matrix.aff12.1D
But I have this error:
*+ WARNING: Multi-line matrix file 'volreg_matrix.aff12.1D' input when only one matrix is allowed!
I don't find how I should be doing this. Does 3dNwarpCat allow volreg (3D+time) affine matrices?
P.S. Note that option -nwarp in 3dNwarpApply can work with multi-line matrices. But this is not efficient if I want to apply it on more than one dataset, it has to recompute the matrix concatenation everytime, and I can't save the final matrix!
Thank you very much,
Emmanuelle
Edited 1 time(s). Last edit at 11/23/2016 10:16AM by Emmanuelle Renauld.