Selecting Threshold from multithresh
显示 更早的评论
I have got a image with multiple thresholds (attachment).
Is it possible to negate all but one of the thresholds - e.g. have only the purple layer - such that the rest of the threshold labels are not visible and only the purple one remains?
thresh = multithresh(I,4);
sI = imquantize(app.image,thresh);
RGB = label2rgb(sI);
figure;
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Image Segmentation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!