Extracting ROI coordinates

Hi there,

I’m wondering how I can extract the MNI coordinates of my ROIs. Each ROI is labelled with an integer value, which was output from 3dROIMaker.
I’m not sure if there’s a command to help me do that.

Thank you so much for your time!

Hi, Sondos-

There is a “whereami” function in AFNI that would probably be what you want. Here is a good place to look for this kind of thing (and for dealing with ROIs in general):


Also consider “3dCM -all_rois” to find the center of mass for all ROIs in a dataset.