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
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer