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

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to