<div dir="ltr"><div>Hello, <br></div><div>I have an atlas with voxel numbers between 1 and 40 that correspond to different ROIs. I would like to extract the center of mass of each ROI, is there a way to do this with nibabel/nilearn/numpy?</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best regards,</div><div>Sam<br></div></div></div></div></div>