Parietal-INRIA / DiFuMo

Dictionary of Functional Modes for brain imaging
https://parietal-inria.github.io/DiFuMo
23 stars 6 forks source link

Dimension of DiFuMo is not consistent with MNI #18

Closed yusaiwen closed 2 years ago

yusaiwen commented 2 years ago

Hi!

I am trying to extract values of ROI defined by DiFuMo, but I found the dimension of DiFuMo and MNI152NLin2009cAsym is not the same(see blew).

image

So when I used fslsplit to split the 4D image to 3D images and then binaried them to a mask for ROI and finally calculated the cluster size under the ROI, error occurred:

image

Many thanks, Saiwen Yu

bthirion commented 2 years ago

What you need to do is to resample Difumo images to the MNI template image. You can use e.g. https://nilearn.github.io/modules/generated/nilearn.image.resample_to_img.html

yusaiwen commented 2 years ago

Thanks a lot.