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.
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
if you put them into a label file you can use mri_label_vals for this
cheers Bruce On Mon, 25 Apr 2016, 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@nmr.mgh.harvard.edu