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

1 回表示 (過去 30 日間)
I am trying to highlight the inner border of this ring in the image attached. Is this possible?
Thank you for your help

採用された回答

Star Strider
Star Strider 2020 年 6 月 5 日
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 件のコメント
Love Matlab
Love Matlab 2020 年 6 月 5 日
thank you!
Star Strider
Star Strider 2020 年 6 月 5 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by