Function ndarray_ndimage::label_histogram[][src]

pub fn label_histogram(labels: &Array3<u16>, nb_features: usize) -> Vec<usize>
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.