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

4 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by