[][src]Function opencv::cudafilters::create_sobel_filter

pub fn create_sobel_filter(
    src_type: i32,
    dst_type: i32,
    dx: i32,
    dy: i32,
    ksize: i32,
    scale: f64,
    row_border_mode: i32,
    column_border_mode: i32
) -> Result<Ptr<dyn Filter>>

Creates a Sobel operator.

Parameters

  • srcType: Source image type.
  • dstType: Destination array type.
  • dx: Derivative order in respect of x.
  • dy: Derivative order in respect of y.
  • ksize: Size of the extended Sobel kernel. Possible values are 1, 3, 5 or 7.
  • scale: Optional scale factor for the computed derivative values. By default, no scaling is applied. For details, see getDerivKernels .
  • rowBorderMode: Pixel extrapolation method in the vertical direction. For details, see borderInterpolate.
  • columnBorderMode: Pixel extrapolation method in the horizontal direction.

See also

Sobel

C++ default parameters

  • ksize: 3
  • scale: 1
  • row_border_mode: BORDER_DEFAULT
  • column_border_mode: -1