How to get the coordinates of centre of mass for each ROI
Submitted by ErickZhou on Thu, 10/15/2020 - 22:52
Dear all,
I downloaded the Harvard-Oxford atlas (ho_labels.csv and ho_roi_atlas.nii). These two files can be downloaded from http://preprocessed-connectomes-project.org/abide/Pipelines.html, where youu can find "The subcortical and cortical ROIs were combined and then fractionated into functional resolution using nearest-neighbor interpolation. [Atlas][Labels]". Through load_nii('ho_mask_pad.nii'), I can get the index of voxel in each ROI. Fox example, I use the following code to get the index of the ROI labeled 10
load_nii('ho_mask_pad.nii');
Forums:
- Read more about How to get the coordinates of centre of mass for each ROI
- Log in or register to post comments
- 3581 reads