Sorry,
I do not seem to see the light.
I have a point in volume index coordinates [128.9 172 62.9 1] and need to obtain the surface/vertex RAS coordinates (not volume RAS).
matlab path
/usr/local/freesurfer/subjects/subjid/mri
if I type
tkrRAS = Torig*[128.9 172 62.9 1]'
it tells me Torig undefined function or variable
If I try to define it with Torig: mri_info --vox2ras-tkr orig.mgz, it does not recognize mri_info
Nothing happens if I work from the freesurfer command window:
- Torig = mri_info --vox2ras-tkr orig.mgz
- tkrRAS = Torig*[128.9 172 62.9 1]'
I do not want to use tkmedit/tksurfer clicking since I plan doing this transform for a list of points.
I know this is boringly basic but I am stuck, please advise.