MATLAB Answers

Region Growing segmentation not giving proper result.

조회 수: 1(최근 30일)
Warid Islam
Warid Islam 2021년 1월 25일
편집: Warid Islam 2021년 1월 28일
Hi,
I am applying the region growing algorithm to segment tumors in breast images. I is the original image. The brightest spot in the center should be the tumor. The segmentation should only display that spot. However, after applying the algorthm, the resultant image is that of I1 which is not accurate. Any suggestions would be appreciated.
I = im2double(imread('I.jpg'));
figure,imshow(I)
x=198; y=359;
J = regiongrowing(I,x,y,0.5);
figure, imshow(I+J);

채택된 답변

Shubham Rawat
Shubham Rawat 2021년 1월 28일
Hi Warid,
I have reproduces your code, I have made just small adjustments. The new code is like that:
I = im2double(imread('I.jpg'));
x=463; y=311; %changed the starting point to this.
J = regiongrowing(I,x,y,0.04); %decreased the threshold to 0.04
figure, imshow(I+J);
My figure after this code is below here:
Hope this Helps!
  댓글 수: 1
Warid Islam
Warid Islam 2021년 1월 28일
Hi Shubham,
It helps big time. Thanks a lot.

댓글을 달려면 로그인하십시오.

추가 답변(0개)

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by