pub fn label_histogram<S>(
labels: &ArrayBase<S, Ix3>,
nb_features: usize,
) -> Vec<usize>Expand description
Calculates the histogram of a label image.
labels- 3D labels image, returned by thelabelfunction.nb_features- Number of unique labels, returned by thelabelfunction.