The eccentricity is the ratio of the distance between the foci of the ellipse and its major axis length. The value is between 0 and 1. This figure illustrates the axes and orientation of the ellipse. The left side of the figure shows an image region and its corresponding ellipse. This figure illustrates the extrema of two different regions.
L can be of class double or of any integer class.
Remarks The comma-separated list syntax for structure arrays is very useful when working with the output of imfeature . 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 imfeature 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.