Detect circles from chained blobs?
Show older comments
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?

Answers (1)
Image Analyst
on 21 Jan 2016
0 votes
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.
Categories
Find more on Region and Image Properties in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!