[−][src]Function simplecv::filter::sobel
pub fn sobel<S>(
src: &ArrayBase<S, Ix2>,
ksize: usize,
dx: u32,
dy: u32,
border: BorderType
) -> Array<f64, Ix2> where
S: Data<Elem = f64>,
Sobel operator implementation.
When kernel size is 3, the classical Sobel filter is applied. Read
OpenCV Sobel()
for more details. Only dx=1, dy=0
and dx=0, dy=1
are supported now.
ksize
: the kernel size. Currently, onlyksize=3
is supported.dx
: order of the derivative x.dy
: order of the derivative y.border
: border type.