Function ndarray_ndimage::label [−][src]
pub fn label<S>(data: &ArrayBase<S, Ix3>) -> (Array3<u16>, usize) where
S: Data<Elem = bool>, Expand description
Labels features of 3D binary images.
Currently hardcoded with the Star kernel (Kernel3d::Star).
Returns the labels and the number of features.
mask- Binary image to be labeled.falsevalues are considered the background.