Measure#

It is possible to measure the geometric characteristics of the objects in a binary image, such as the area or position. In scikit-image, the most common properties are implemented in skimage.measure, especially in the function regionprops. This section lists some of them, as an example of possibilities.

Area#

../_images/prop-area.svg

Area of an object is the number of pixels of this object. The larger the object and the fewer holes it contains, the larger the area.

Bounding box#

../_images/prop-bbox.svg

The bounding box (french: boîte englobante) is the smallest rectangle that contains the object.

Centroid#

../_images/prop-centroid.svg

The centroid is the centre of gravity of the object. It can be outside the object.

Eccentricity#

../_images/prop-eccentricity.svg

Eccentricity measures the elongation, or stretching, of the object, as it would be an ellipse. It is a positive value, where 0 corresponds ot a round object.

Solidity#

../_images/prop-solidity.svg

Solidity is the ratio of pixels in the objects to pixels of the convex hull image. For clarity, the convex hull of the objects is represented in dark gray into the images. It gives a measure of the compactness of the object.