get area of a binary image

1 次查看(过去 30 天)
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 中查找有关 Images 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by