pub fn label_histogram<S>(
    labels: &ArrayBase<S, Ix3>,
    nb_features: usize
) -> Vec<usize>where
    S: Data<Elem = u16>,
Expand description

Calculates the histogram of a label image.

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