[][src]Function simplecv::filter::sobel_norm

pub fn sobel_norm<S>(
    src: &ArrayBase<S, Ix2>,
    ksize: usize,
    norm: i32,
    border: BorderType
) -> Array<f64, Ix2> where
    S: Data<Elem = f64>, 

Get the norm of image processed by a Sobel operation.

Currently norm=-1, 1, 2 are supported, where -1 means the infinty norm (max of absolute value). This function can be used to obtain the edge of original image.

This function is implemented by sobel(). First order derivative of x and y direction are used for computing the gradient.

  • ksize: the kernel size.
  • norm: the norm used for computation.
  • border: border type.