This module import morphology functions
Connected-component label features in an array.
Parameters: |
---|
Any non-zero values in input are counted as features and zero values are considered the background.
structure must be symmetric. If no structuring element is provided, one is automatically generated with a squared connectivity equal to one.
That is, for a 2D input array, the default structuring element is:
If output is a data type, it specifies the type of the resulting labeled feature array If output is an array-like object, then output will be updated with the labeled features from this function.
If threshold > 0, the threshold is used to the input The input contains elements 'False' if input < threshold, and elements 'True' elsewhere
If number_labels > 0, number_labels of connected component labels is returned If number_labels = 1, the largest connected component label is returned
Returns Type: |
---|
If output is None or a data type, this function returns a tuple : (labeled_array, num_features). If output is an array, then it will be updated with values in : labeled_array and only num_features will be returned by this function.
Compute the Skeleton of Influence Zone - also know as Generalized Voronoi Diagram.
Compute a labelled image ...
Parameters: |
|
---|---|
Returns: |
|