The left side of the figure shows an image region and its corresponding ellipse. The image is the size of the bounding box of the region. This property is supported only for 2-D input label matrices. This figure illustrates the extrema of two different regions. Computed as the Area divided by area of the bounding box.
L can have any numeric class.
Remarks The comma-separated list syntax for structure arrays is very useful when working with the output of regionprops . For example, for a field that contains a scalar, you can use a this syntax to create a vector containing the value of this field for each region in the image. Therefore, you can use these calls to create a vector containing the area of each region in the image. The function ismember is useful in conjunction with regionprops for selecting regions based on certain criteria. For example, these commands create a binary image containing only the regions in text.tif whose area is greater than 80.