Have you tried using mri_segstats, eg,
mri_segstats --seg cerebellum_17_network_${mask_option}_mask.nii.gz --sum cerebellum_17_network_${mask_option}_mask.stats


On 5/8/2025 4:15 AM, Payam Sadeghi Shabestari wrote:

        External Email - Use Caution

Hi FS team,

I'm trying to obtain anatomical statistics for the regions defined in the Choi 2012 and Buckner 2011 parcellations,but I couldn't figure out how to get stats on them. I already did:

for mask_option in "${mask_options[@]}"; do

mri_vol2vol --mov $SUBJECTS_DIR/$subject_id/mri/norm.mgz \

--s $subject_id \

--targ $SUBJECTS_DIR/MNI152/buckner_atlas/17_network_${mask_option}_mask.nii.gz \

--m3z $SUBJECTS_DIR/MNI152/mri/transforms/talairach.m3z \

--noDefM3zPath \

--o $SUBJECTS_DIR/$subject_id/mri/cerebellum_17_network_${mask_option}_mask.nii.gz \

--inv-morph \

--interp nearest

Thank you and best regards,
Payam


_______________________________________________
Freesurfer mailing list
[email protected]
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________
Freesurfer mailing list
[email protected]
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 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