get area of a binary image

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?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 26 de Jul. de 2011

0 votos

YourArea = sum(YourImage(:));

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by