pub fn morph_gradient_3x3(input: &Tensor) -> Result<Tensor, ImgProcError>Expand description
Morphological gradient (dilation - erosion) with 3x3 element.
Applies a 3x3 morphological gradient (dilate - erode) per channel.
pub fn morph_gradient_3x3(input: &Tensor) -> Result<Tensor, ImgProcError>Morphological gradient (dilation - erosion) with 3x3 element.
Applies a 3x3 morphological gradient (dilate - erode) per channel.