Can anyone suggest the steps to separate the tumour part from the segmented MRI image ?

2 次查看(过去 30 天)
Hi all,
I segmented a MRI image having brain tumor by region growing. After region growing,the tumor gets segmented in the MRI image. But I am not able to separate it and show only the tumor part.Pls suggest the coding steps. I had attached my code and the corresponding input MRI image. Pls suggest the steps.
my code:
img1=regiongrowing(double(L),119,58,50);
figure,imshow(img1);

回答(1 个)

Image Analyst
Image Analyst 2014-6-24
After regiongrowing you probably have a binary image - essentially a mask. So you can just use that to set other parts of the image to zero:
maskedImage = grayImage; % Initialize.
maskedImage(~mask) = 0; % Zero out areas not in tumor mask.

类别

Help CenterFile Exchange 中查找有关 MRI 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by