If I wanna do white and gray matter segmentation on PET-CT images, how could I

If I wanna do white and gray matter segmentation on PET-CT images, how could I