Yes, mri_segstats is the way to go, something like
mri_segstats --slabel fsaverage lh /path/to/label --i z.nii.gz --segid 1 --sum sum.dat

On 6/25/2025 6:32 AM, Federica Tomaiuolo wrote:
External Email - Use Caution
Hi,

I'm experiencing a problem while trying to extract Z score from single subject's z.nii.gz map coming from FSFAST. More in detail, I created different .label files in freeview from the group-level statistics maps (in fsaverage space), each one containing a thresholded z-stat cluster. Then, I wanted to use this label files to extract from each z.nii.gz (still in fsaverage space) single subject's map, the Zscore values corresponding to the ROI associated to the cluster coming from the label. I've always made this process with volume files using FSL, by combing fslmaths and fslstats, but I didn't find a corresponding command in FreeSurfer for surface files. I tried using mri_segstats but I'm not sure is able to work with surface maps. Could someone help me, please?

Thank You,


Federica Tomaiuolo

_______________________________________________
Freesurfer mailing list -- freesurfer@nmr.mgh.harvard.edu
To unsubscribe send an email to freesurfer-le...@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman3/lists/freesurfer@nmr.mgh.harvard.edu/

_______________________________________________
Freesurfer mailing list -- freesurfer@nmr.mgh.harvard.edu
To unsubscribe send an email to freesurfer-le...@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman3/lists/freesurfer@nmr.mgh.harvard.edu/
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 Mass General Brigham Compliance 
HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.

Reply via email to