you can do something like
mri_cor2label --i aseg.mgz --id 17 --label left.hippo.label
This will output tkregisterRAS coordinates which you can convert to voxel coords using
https://surfer.nmr.mgh.harvard.edu/fswiki/CoordinateSystems case #1
On 07/25/2017 02:02 AM, Aziz Nanthaamornphong wrote:
Hi Freesurfer Experts,
Currently, I am using these command excited in Matlab to extract the coordinates of volume.
*mri = MRIread('aseg.mgz'); pos = find(mri.vol == 17 | mri.vol == 53);* *[i,j,k] = ind2sub(mri.volsize,pos);* I would like to run these command in the Freesurfer itself rather than using Matlab. Can I do that? Which command are qual?
Best Wishes, Aziz
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer