image - bwlabel doesn't work as expected? -
this segmented image of brain thresholding segmentation, want a, b, , c regions, brain regions.
when apply kind of operation. now, using bwlabel find blob areas , correspondingly extract bigger or circular blobs of kind , blobs a, b,and c. problem when bwlabel don't a, b blobs.
here code , attached images before , after bwlabel:
temp = before_dicomfiles{1,15}; %figure, imshow(temp, [low1 high1]); temp = double(temp); newimg = temp; % actual brain image used thresholding newimg(newimg <0 ) = 0; % set negative pixels zeros newimg(newimg >1080) = 0; % remove on range figure, imshow(newimg, [low1 high1]); % thresholded image bw = bwlabel(newimg,8) ; figure, imshow(bw, []) % labelled image missing a, blob areas
suggest me methods trace regions a, b , better segmentation methods not miss brain regions
thanks, gopi
Comments
Post a Comment