Detect circles from chained blobs?
显示 更早的评论
I'm trying to count the number of white dots (crops) using bwlabel and regionprops but I'm having trouble counting large blobs of crops. The script works fine detecting single crops (blue*) but if there are many large plants that are connected (green*), bwlabel counts all the connected plants as one. Is there a way I can separate the zigzag blob into individual elements?

回答(1 个)
Image Analyst
2016-1-21
0 个投票
Either come up with a better segmentation algorithm or else get the area and divide the blob area by the known area of one circle to get the estimated number of circles in that blob.
类别
在 帮助中心 和 File Exchange 中查找有关 Region and Image Properties 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!