How can I outline the inside border of this ring? ie. highlight the inner circle

1 Ansicht (letzte 30 Tage)
I am trying to highlight the inner border of this ring in the image attached. Is this possible?
Thank you for your help

Akzeptierte Antwort

Star Strider
Star Strider am 5 Jun. 2020
Try this:
I = imread('Love Matlab image.jpeg');
IBW = im2bw(I);
Bnd = bwboundaries(IBW);
figure
imshow(IBW)
hold on
plot(Bnd{4}(:,2), Bnd{4}(:,1), '-r', 'LineWidth',2)
hold off
producing:

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by