Not sure whey those are there. Why not just create your WM mask with
mri_binarize --i aseg.mgz --match 2 4 --o wm.mask.mgz


On 9/1/2021 8:37 PM, Ammar Shujaa wrote:

        External Email - Use Caution        

Hello freesurfer developer,

I have extracted the right and left cerebral white matter (label 2, and label 4)

Inline image

I just want to know how I can remove label 4, 43, 28, 60 (brown and purple labels) from the the right and left cerebral matter so that I can get the cerebral white matter without the segments corresponding to the labels 4, 43, 28, and 60.

Inline image

I am looking forward to hearing from you.

Best regards,
Ammar Shujaa Addin



_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer