How do I individually calculate the area of each enclosed space within a binary image?
1 view (last 30 days)
Show older comments
I have a binary image with multiple enclosed, assumed to be circular, areas and would like to calculate the enclosed areas individually with goal of finding the average enclosed diameter. Taking a cumulative area and solving for diameter is not ideal since this slightly skews the measurements. Is there a way to find and store all of the individual enclosed areas as a vector? Thanks in advance
0 Comments
Answers (1)
Image Analyst
on 11 Apr 2015
Attach your image. I need to know what is foreground and what is background. If it's all white with some black spots, then you can invert and use regionprops. If you have a black background with white spots with enclosed black holes in them, it becomes more tricky.
0 Comments
See Also
Categories
Find more on Image Segmentation and Analysis 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!