Open ftadel opened 3 years ago
Import of the subject-level DKT and HCP-MMP1: https://github.com/ftadel/IntrAnat/commit/ca6ef826a5adb19ac2cd81901e1c4ad661052b79
@manikbh In order to add new these new files into the existing patients in the f-tract database, you can probably import ImageImport.py
and call function importFsAtlas()
. Example:
imgImport.importFsAtlas('0001BAR', 'Epilepsy', 'DKT', '/path/to/freesurfer/mri/aparc.DKTatlas+aseg.mgz')
imgImport.importFsAtlas('0001BAR', 'Epilepsy', 'HCP-MMP1', '/path/to/freesurfer/mri/HCP-MMP1.mgz')
The HCP-MMP1 atlas is not really supposed to be used as a MNI atlas. Instead, we should use subject-space FreeSurfer surface parcellations. Source:
In IntrAnat, we haven't implemented the direct use of FreeSurfer .annot file, and we can't work directly in fsaverage space. Therefore we need to project the .annot files (surface parcellations) to the subject space, and then interpolate these surface parcellations into the volume.
I came up with this sequence of FreeSurfer commands below, to be executed after downloading the HCP-MMP1 .annot files (https://figshare.com/articles/dataset/HCP-MMP1_0_projected_on_fsaverage/3498446?file=5528837)
The idea of using mri_surf2volseg came from here: https://www.mail-archive.com/search?l=freesurfer@nmr.mgh.harvard.edu&q=subject:%22Re%5C%3A+%5C%5BFreesurfer%5C%5D+HCPMMP1+parcellation+to+aseg+%5C%28.mgz%5C%29%22&o=newest&f=1