i want segmentation using "imsegfmm"
1 次查看(过去 30 天)
显示 更早的评论
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');
0 个评论
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!