Dear Freesurfer Community;
I need to find the corresponding voxel in a functional image for a specific structural image voxel after coregistering two images. My structural image has 256*256*125 voxels and the functional image has 64*64*30 voxels.
I use the following command
tkregister2 --s subjectname --targ structural.nii --mov functional.nii --regheader --reg directorythatyouwanttosaveregisterfile/MYregister.dat
Where the target is structural image and movable is the functional image
then click save to get MYregister.dat.
then take the inverse of the matrix save it as invMYregister.dat, and try to use this matrix to transform from
anatomical to functional.
However; as an example when I try to map voxel (169 , 62 ,35) of the anatomical image to the functional space using the inverse registration matrix; i get the values below
- 64.3319
-146.4394
-157.2665
as the corresponding voxels' coordinates at the functional space which is far beyond the functional volume size and is negative. It is clear I cannot manage to use the trasfer matrices appropriately.
Your help will be greatly appreciated.
Thank you;
Sinem Burcu ERDOGAN