From: Prasanna on
Hi all,

Regionprops can calculate the areas of the blobs in binary image. When considering the binary image as a logical array, how does the regionprops() calculate the area of a single blob? (Is it using the number of pixels in the blob or using some other method?).Can some one give me a reference to study those kind of stuff.Thanks.

Regards
Prasanna
From: Steve Eddins on
Prasanna wrote:
> Hi all,
>
> Regionprops can calculate the areas of the blobs in binary image. When
> considering the binary image as a logical array, how does the
> regionprops() calculate the area of a single blob? (Is it using the
> number of pixels in the blob or using some other method?).Can some one
> give me a reference to study those kind of stuff.Thanks.
>
> Regards
> Prasanna

It's the number of pixels. See the ComputeArea subfunction of
regionprops.m. Or the doc:

http://www.mathworks.com/access/helpdesk/help/toolbox/images/regionprops.html#bqkf8hc

---
Steve Eddins
http://blogs.mathworks.com/steve/