clustering and pixel count
1 view (last 30 days)
Show older comments
I want to differentially recognize circular spots within a binary image.
I also want to count how many pixels are inside each individually recognized spot.
Is there a way?
0 Comments
Accepted Answer
Image Analyst
on 30 May 2021
I do exactly this in my Image Segmentation Tutorial with the standard coins demo image:
Please study it. Basically
props = regionprops(mask, 'Area');
allAreas = [props.Area] % Areas of all blobs in pixels.
but there's more to it so look over my well commented tutorial.
6 Comments
Image Analyst
on 31 May 2021
What problems? Were they supposed to be recognized? What steps did you take to recognize/detect those problems?
More Answers (1)
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!