How to detect and count number of circles in overlap condition

11 ビュー (過去 30 日間)
Syaw Werdas
Syaw Werdas 2020 年 5 月 11 日
コメント済み: Image Analyst 2020 年 5 月 12 日
Hello...I have questions about an image with multiple shapes that overlap.
1. How to count the number of disks in the image? (If I'm not mistaken,the mentioned disks are refer to the circle shapes)
2. How to count the boundary pixels in the image?
3. How to count the pixels of that are common to two or more objects?
  2 件のコメント
KSSV
KSSV 2020 年 5 月 11 日
Read about imfindcircles.
Syaw Werdas
Syaw Werdas 2020 年 5 月 11 日
Thanks for your advice sir, I'll read about the function that you mentioned

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

採用された回答

Image Analyst
Image Analyst 2020 年 5 月 11 日
I'd try normalized cross correlation and scan the image with known templates. Attached is a demo.
  5 件のコメント
Syaw Werdas
Syaw Werdas 2020 年 5 月 12 日
Thanks for your advice, however I still don't find any advice that can give me idea about how I can detect and count the OVERLAP OR INTERCEPTED SHAPES. Most of the advices refer on focusing at one object in an image which are already separated significantly. But, I still want to thank you for share with me the new knowledges.
Image Analyst
Image Analyst 2020 年 5 月 12 日
Or try deep learning, perhaps YOLO v2. That's all I got. I've run out of suggestions.

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

その他の回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2020 年 5 月 11 日
Here are my submission:
1. How to count the number of disks in the image? (If I'm not mistaken,the mentioned disks are refer to the circle shapes)
Some how this function help you to get the counts.
2. How to count the boundary pixels in the image?
Extract the boundary pixels, and do the operation as you are looking for.
boundary_pixels=image([1,end],:) , (image([:,[1,end])');
Simple count is=2*rows*columns
3. How to count the pixels of that are common to two or more objects?
Please refer the following links
Stay Safe!
  1 件のコメント
Syaw Werdas
Syaw Werdas 2020 年 5 月 11 日
Thanks for your quick answer sir, I will give it a try

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

Community Treasure Hunt

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

Start Hunting!

Translated by