Find external contour in image Matlab
Mostrar comentarios más antiguos
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
Respuestas (1)
darova
el 28 de Mzo. de 2019
0 votos
Simple?

2 comentarios
Marco Solbiati
el 2 de Abr. de 2019
darova
el 2 de Abr. de 2019
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
Categorías
Más información sobre Contour Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!