how to seperate into two unique shapes

2 ビュー (過去 30 日間)
Huseyin
Huseyin 2016 年 10 月 9 日
コメント済み: Huseyin 2016 年 10 月 9 日
Hi, I want to seperate these elliptic shapes into two distinct shapes. Is it possible? please help.
Thanks
  2 件のコメント
KSSV
KSSV 2016 年 10 月 9 日
Huseyin
Huseyin 2016 年 10 月 9 日
Yes Dr.Siva, However these shapes have thick borders and when I detect the contours, I couldn't combine the intersection points and the distinct parts to make 2 different elliptical shapes. If you help, I will be very glad. Thank you.

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

回答 (1 件)

Image Analyst
Image Analyst 2016 年 10 月 9 日
Try thresholding, then skeletonizing with bwmorph(). Then find crossing points with bwmorph and remove them to break it up into parts. Then use edge linking to join nearby curves with the same slope. Then dilate out to the original size.
  1 件のコメント
Huseyin
Huseyin 2016 年 10 月 9 日
Dear Image Analyst, Thanks for your reply. But this explanation sounds too advance for me. Could you please share the code for this example? So I can figure how it works part by part.

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

Community Treasure Hunt

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

Start Hunting!

Translated by