florin.conncomp

Convenience functions for image connected components operations.

Functions

label
Integer labeling for binary connected components.
regionprops
Compute various properties of labeled connected components.

Functions

label(image, \*args, \*\*kwargs) Wrapper that casts arrays to integers before labeling
regionprops(image, \*\*kwargs) Compute the properties of connected components.
florin.conncomp.label(image, *args, **kwargs)[source]

Wrapper that casts arrays to integers before labeling

florin.conncomp.regionprops(image, **kwargs)[source]

Compute the properties of connected components.

Parameters:
  • image (array_like) – The labeled image to process for connected components.
  • intensity_image (array_like) – The original image from which image was computed. Passing this enables computing summary statistics about the image pixel intensities.

Notes

This function wraps skimage.measure.regionprops to allow for additional bookkeeping and feature computation.