median_filter

Function median_filter 

Source
pub fn median_filter<S>(mask: &ArrayBase<S, Ix3>) -> Mask
where 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.