MATLAB: Problem with image brain tumor image processing

brain segmentationimage analysisimage enhancementimage processingImage Processing Toolboximage segmentationMATLABtumor

Hi everyone, I have to do tumor brain segmentation for this picture. The lesion is located at the upper right of the brain. I'm currently having difficulties in removing the background as the colour of the background is similar to the other parts of the brain too. Can someone help me with the coding? thank you so much
the final outcome should be like this:

Best Answer

See my skull stripping demo. It does that.
0000 Screenshot.png
0001 Screenshot.png