Hello, AFNI people. I using 3dTagalign to register an anatomical T1 human brain to avg152 template and got a matrix file.
The output image from 3dTagalign is reasonable. However when i apply the matrix file using 3dWarp command to the same anatomical brain file, i got a image displayed not centered and got cropped, although well aligned.
I try to using 3dTagalign to register rodent brain to a template, so that is why i using this semi-automated method.
Could anybody help me? Thanks!
ps: the file is upload to
https://drive.google.com/file/d/0B8cAE9NGJcPcc1ZHeEdRYmRTSEE/edit?usp=sharing
following is my processing step: "original" dataset is anatomical T1 human brain.
1.using 3dcopy to convert original.nii.gz and avg152.nii.gz to AFNI format
2.edit tagset in "original" and "avg152" dataset
3.using command "3dTagalign -master avg152+tlrc. -affine -matvec mfile -prefix afterTag original+tlrc." to get an aligned file and a matrix file.
4.apply "3dWarp -matvec_in2out mfile -prefix warp_by_mfile original+tlrc." command to 'original' dataset.