Function ndarray_ndimage::label_histogram [−][src]
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-u163D labels image, returned by thelabelfunction.nb_features- Number of unique labels, returned by thelabelfunction.