
How can I outline the inside border of this ring? ie. highlight the inner circle
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Love Matlab
il 4 Giu 2020
Commentato: Star Strider
il 5 Giu 2020
I am trying to highlight the inner border of this ring in the image attached. Is this possible?
Thank you for your help

0 Commenti
Risposta accettata
Star Strider
il 5 Giu 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:

2 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!