Clear Filters
Clear Filters

How to calculate area of an irregular shape region in a binary image?

1 view (last 30 days)
Is there any way to calculate the area of the irregular regions in a binary image? I am attaching the image here.Kindly help me.

Accepted Answer

Image Analyst
Image Analyst on 14 Mar 2019
Try this:
props = regionprops(binaryImage, 'Area');
allAreas = [props.Area]

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!