Find external contour in image Matlab
古いコメントを表示
Hi everyone,
I have the following problem in Matlab: I have the following BW image and I would like to find and separate the external contour of it (I've marked it in red).

This is what I expect to have as final result.

How can I obtain it? Thank you
回答 (1 件)
darova
2019 年 3 月 28 日
0 投票
Simple?

2 件のコメント
Marco Solbiati
2019 年 4 月 2 日
darova
2019 年 4 月 2 日
I = imread('image.png');
RGB = [255 0 0];
I1 = I(I(:,1)==RGB(1),I(:,2)==RGB(2),I(:,3)==RGB(3)); % your new image
カテゴリ
ヘルプ センター および File Exchange で Contour Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!