Extract MNI coordinates using center of weight of ROI

Hello,

I am trying to figure out how to calculate the center of weight of an ROI produced using source estimation. I am concerned that manually clicking the area to extract MNI coordinates has too much room for error and variability, and I want to find a more accurate way to get the values. Is there a way to calculate center of weight directly in Brainstorm or will this require a custom MATLAB script?

Thank you,
Rawan

Hi @rawanjarrar,

It would require a custom script to do these steps:

  1. Get the vertices indices for a given Scout (ROI)
    https://neuroimage.usc.edu/brainstorm/Tutorials/Scouts#On_the_hard_drive

  2. Get the spatial coordinates from the Scout vertices
    In case a surface head model was used:
    https://neuroimage.usc.edu/brainstorm/Tutorials/ExploreAnatomy#On_the_hard_drive:_Surface
    In case a volume head model was used:
    https://neuroimage.usc.edu/brainstorm/Tutorials/SourceEstimation?highlight=(grid)#On_the_hard_drive

  3. Compute the center of mass using the spatial coordinates

Best,
Raymundo

1 Like