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).
Schermata 2019-03-28 alle 13.45.00.png
This is what I expect to have as final result.
Schermata 2019-03-28 alle 13.55.33.png
How can I obtain it? Thank you

답변 (1개)

darova
darova 2019년 3월 28일

0 개 추천

Simple?
Untitled.png

댓글 수: 2

Marco Solbiati
Marco Solbiati 2019년 4월 2일
I want to do it automatically using image processing toolbox.
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에 대해 자세히 알아보기

제품

릴리스

R2016b

질문:

2019년 3월 28일

댓글:

2019년 4월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by