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'));
J = regiongrowing(I,x,y,0.5);