HennyJie / BrainGB

Officially Accepted to IEEE Transactions on Medical Imaging (TMI, IF: 11.037) - Special Issue on Geometric Deep Learning in Medical Imaging.
MIT License
169 stars 42 forks source link

Step 4: Label Generation reg_FSROI_Jan2014.sh #6

Closed PolinaDruzhinina closed 1 year ago

PolinaDruzhinina commented 1 year ago

I try to run you preprocessing steps for PPMI dataset. And faced with errors on the Label Generation step 4.

Could you tell me at what step and how do you get brainmask.mgz, rawavg.mgz, aparc+aseg.mgz files for your script reg_FSROI_Jan2014.sh ? Did you use dt-recon ?

tonychengu commented 1 year ago

These files should be included with Freesurfer and you should get it from about lines 13~17 in the reg_FSROI_Jan2014.sh

PolinaDruzhinina commented 1 year ago

Thank for your reply! But could you clarify as far as I can see these lines (13~17) are already using files brainmask.mgz /aparc+aseg.mgz as input, for example $FREESURFER_HOME/bin/mri_vol2vol --mov brainmask.mgz

So, initially brainmask.mgz can be obtained as output from the recon-all command on structural images?

tonychengu commented 1 year ago

Sorry for the confusion. You are right. As far as I know, these .mgz files seem to be auto generated from the process you convet raw MRI to .nii file. The brianmask file would highlight the brain tissue area and the aseg would help do the segmentation for brain regions. I think recon-all will do the job.