pub fn median_filter<S>(mask: &ArrayBase<S, Ix3>) -> Maskwhere
    S: Data<Elem = bool>,
Expand description

Binary median filter.

A 3x3 structuring element (Kernel3d::Full) is used except on the borders, where a smaller structuring element is used.