i'm working on brain images (nifti). I segmented the brain with SPM12. So the segmentation went fine but for some (a lot) of the subjects, i get this:
It's a 3D image (T1 MRI) from "ADNI" database.
Like you can see there are still pieces of the skull. I need to remove them. can you tell me the steps to accomplish that? A code/algorithm using matlab or R?
Thank you!