ReedOnePeck / MindDiffuser

MIT License
61 stars 2 forks source link

Specific ROI data extraction code #12

Closed yinxu1996 closed 2 months ago

yinxu1996 commented 2 months ago

Hello athor. I can't find the relevant code to obtain these ROI files ("V0.npy", "V1.npy", etc.) in your code, could you tell me which specific code these ROI files come from? Looking forward to your reply. yinxu1996@gmail.com

316280760-84725721-5a67-489a-a7c9-08bd85056244

ReedOnePeck commented 2 months ago

Utilize the code from this link (https://github.com/styvesg/nsd/blob/master/mask_preparation.ipynb) to acquire the mask files for each brain area, which match the full brain's 3D volume in shape but are composed solely of 0 and 1 at each location, with '1' signifying the selection of the voxel at that position. Subsequently, employ these mask files along with the pre-processed full-brain fMRI data to extract the voxels for each brain area.

yinxu1996 commented 2 months ago

Thank you for your response. The number of voxels I obtained using this command is inconsistent with the author's paper. Did I select the wrong mask? image