Skip to main content

label_histogram

Function label_histogram 

Source
pub fn label_histogram<A>(
    labels: &ArrayRef3<A>,
    nb_features: usize,
) -> Vec<usize>
where A: LabelType,
Expand description

Calculates the histogram of a label image.

  • labels - 3D labels image, returned by the label function.
  • nb_features - Number of unique labels, returned by the label function.