Dear experts,
I need a binarized wm mask for my analysis. The wm.mgz volume includes subcortical structures so I would like to use the aseg.mgz volume. I was hoping someone could give me instructions (command-line) on how to binarize aseg.mgz so that the wm=1 and everything else is 0.
Thank you in advance for your help!
Liz
Hi Elizabeth
check out the help of mri_binarize. I think something like:
mri_binarize --all-wm --i aseg.mgz --o aseg.wm.mgz
should do the trick cheers Bruce
On Wed, 16 Aug 2017, Elizabeth Dao wrote:
Dear experts, I need a binarized wm mask for my analysis. The wm.mgz volume includes subcortical structures so I would like to use the aseg.mgz volume. I was hoping someone could give me instructions (command-line) on how to binarize aseg.mgz so that the wm=1 and everything else is 0.
Thank you in advance for your help!
Liz
freesurfer@nmr.mgh.harvard.edu