MATLAB: Get area of a binary image

areabinary

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?

Best Answer

YourArea = sum(YourImage(:));
Related Question