Skip to main content

erode

Function erode 

Source
pub fn erode(input: &Tensor, kernel: &Tensor) -> Result<Tensor, ImgProcError>
Expand description

Morphological erosion with arbitrary structuring element. Erode a single-channel [H, W, 1] image with an arbitrary structuring element.