I don't think there is a command to do this. I'd probably do it in
matlab. Info about the coordinates can be found here
https://surfer.nmr.mgh.harvard.edu/fswiki/CoordinateSystems
Each mgz volume has a voxel-to-RAS matrix, if you invert that, and
multiply your RAS you will get the column, row, slice from which you can
extract the value
On 4/25/16 10:02 PM, prasser wrote:
Hi,
Could you please let me know the command that takes say, ras
coordinates (or a list of them) and a .mgz as input, and outputs the
corresponding voxel values from the .mgz?
Thanks.
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________
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.