get_shape_properties#
- get_shape_properties(array: ndarray, properties: list[str]) dict [source]#
Calculate shape properties for binary image array.
Shape properties must be value properties from skimage.measure.regionprops. Image is projected along the first axis.
- Parameters:
array – Binary image array.
properties – List of shape properties to calculate.
- Returns:
Dictionary of calculated shape properties.