[][src]Function opencv::cudafilters::create_separable_linear_filter

pub fn create_separable_linear_filter(
    src_type: i32,
    dst_type: i32,
    row_kernel: &dyn ToInputArray,
    column_kernel: &dyn ToInputArray,
    anchor: Point,
    row_border_mode: i32,
    column_border_mode: i32
) -> Result<Ptr<dyn Filter>>

Creates a separable linear filter.

Parameters

  • srcType: Source array type.
  • dstType: Destination array type.
  • rowKernel: Horizontal filter coefficients. Support kernels with size <= 32 .
  • columnKernel: Vertical filter coefficients. Support kernels with size <= 32 .
  • anchor: Anchor position within the kernel. Negative values mean that anchor is positioned at the aperture center.
  • rowBorderMode: Pixel extrapolation method in the vertical direction For details, see borderInterpolate.
  • columnBorderMode: Pixel extrapolation method in the horizontal direction.

See also

sepFilter2D

C++ default parameters

  • anchor: Point(-1,-1)
  • row_border_mode: BORDER_DEFAULT
  • column_border_mode: -1