Hi Lingqiang
do you mean in voxel register with the anatomy, with the same voxel dimensions, etc...? If so I think you can specify --targ \ $SUBJECTS_DIR/$subject/mri/T1.mgz
or you mri_convert with -rl <path to T1.mgz>
cheers Bruce
On Thu, 12 Apr 2012, Lingqiang Kong wrote:
Hi Surfers,
I am trying to resample a GLM analysis contrast overalay ('sig.nii') back to individual subject anatomical space (T1.mgz). The functional scans and the anatomical scans were acquired on two different days and were co-registered with register.dat. The T1.mgz has high resolution and the sig.nii has low resolution.
I used mri_vol2vol --mov sig.nii --fstarg --reg register.dat --o sig_high.nii
trying to generate a new overlay 'sig_high.nii' which is aligned with T1.mgz.
However, this only generated the appropriate tranformation but did not really "MOVE" the sig_high.nii to align with the T1.mgz. (I checked using tkregister2 and also with loading all three files in Matlab using MRIread()). The sig_high.nii is aligned with sig.nii instead of T1.mgz.
In the end, I want to load them in Matlab by MRIread and have the new sig_high.nii aligned with T1.mgz. How do I do that?
Thank you.
Lingqiang