How to detect and count number of circles in overlap condition
조회 수: 11 (최근 30일)
이전 댓글 표시
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?
채택된 답변
Image Analyst
2020년 5월 11일
I'd try normalized cross correlation and scan the image with known templates. Attached is a demo.
댓글 수: 5
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
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)
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!
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!