Detect circles from chained blobs?

1 view (last 30 days)
Ivan Q
Ivan Q on 21 Jan 2016
Answered: Image Analyst on 21 Jan 2016
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
Image Analyst on 21 Jan 2016
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.

Community Treasure Hunt

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

Start Hunting!