4DfMRI所有时间点的中心点坐标
一、加载图像
from nilearn import plotting
from nilearn.image import smooth_img
atlas_filename=smooth_img('data/4D/Ontario_sub94652_rest.nii.gz',fwhm=0)
print(atlas_filename.shape)#输出图像尺寸
二、显示坐标
atlas_region_coords = plotting.find_probabilistic_atlas_cut_coords(atlas_filename)#提取中心点
print(atlas_region_coords.shape)#显示提取所有中心点的尺寸
print(atlas_region_coords)#显示中心点坐标