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!