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

5 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Image Analyst
Image Analyst am 14 Mär. 2019
Try this:
props = regionprops(binaryImage, 'Area');
allAreas = [props.Area]

Weitere Antworten (0)

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by