![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/502218/image.jpeg)
Region Growing segmentation not giving proper result.
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Warid Islam
il 25 Gen 2021
Commentato: Image Analyst
il 1 Gen 2023
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);
0 Commenti
Risposta accettata
Shubham Rawat
il 28 Gen 2021
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/502218/image.jpeg)
Hope this Helps!
5 Commenti
Ahamed Mansoor
il 1 Gen 2023
Modificato: Ahamed Mansoor
il 1 Gen 2023
Hi,
i doned below code in online matlab,it's showing execution of script region growing as a function is not supported.
I = im2double(imread('3.png'));
x=463; y=311;
J = regiongrowing(I,x,y,0.04);
figure, imshow(I+J);
Image Analyst
il 1 Gen 2023
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!