i want segmentation using "imsegfmm"

1 view (last 30 days)
reena rani
reena rani on 11 Oct 2016
i want segmentation using "imsegfmm" but it gives an error. i am not expert in matlab plese help me following is code:-
I = imread('yellow.jpg'); imshow(I); title('Original Image') mask = false(size(I)); mask(170,70) = true; W = graydiffweight(I, mask, 'GrayDifferenceCutoff', 25); thresh = 0.01; [BW, D] = imsegfmm(W, mask, thresh); figure,imshow(BW); title('Segmented Image')
figure,imshow(D); title('Geodesic Distances');

Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!