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

조회 수: 3 (최근 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에서 Neuroimaging에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by