get area of a binary image

1 visualizzazione (ultimi 30 giorni)
Andre Asfar
Andre Asfar il 26 Lug 2011
Hi everyone, I have a question about get area of binary images like this:
The area is the number of pixels, there is a command that can give me the area?

Risposta accettata

Walter Roberson
Walter Roberson il 26 Lug 2011
YourArea = sum(YourImage(:));

Più risposte (0)

Categorie

Scopri di più su Images in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by