I don't know what the schaefer atlas is, but in principle it should work

On 1/10/2022 3:55 PM, Julie Ottoy wrote:

        External Email - Use Caution        

Hi Doug

Thank you, worked as a charm!

I was wondering if I can apply this code on other atlases, for example I have the schaefer atlas (in MNI152) space. Can I just run the mri_segcentroids on the schaefer as input to extract the centroid coordinates of the schaefer parcels? (My final goal is to calculate the distances between each of the centroids)

Thank you! Best wishes for the new year.
Julie

On Sun, 2 Jan 2022 at 16:11, Douglas N. Greve <dgreve@mgh.harvard.edu> wrote:
Try mri_segcentroids. Run it with --help to get docs

On 12/20/2021 3:34 AM, Julie Ottoy wrote:

        External Email - Use Caution        

Hi Doug,

Just checking in with the question below. Does Freesurfer have such an option?

Thanks,
Julie

On Tue, 14 Dec 2021 at 18:38, Julie Ottoy <julie.jj.ottoy@gmail.com> wrote:
Hello FreeSurfer team,

I was wondering if there is a way to calculate a distance matrix between atlas-based regions (e.g. between their centers of mass) in volumetric space (MNI152) space? 

Thank you for the information!
Best regards
Julie

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be 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 MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be http://www.massgeneralbrigham.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.
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.

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer