get area of a binary image

조회 수: 6 (최근 30일)
Andre Asfar
Andre Asfar 2011년 7월 26일
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?

채택된 답변

Walter Roberson
Walter Roberson 2011년 7월 26일
YourArea = sum(YourImage(:));

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by