[][src]Function opencv::cudafilters::create_row_sum_filter

pub fn create_row_sum_filter(
    src_type: i32,
    dst_type: i32,
    ksize: i32,
    anchor: i32,
    border_mode: i32,
    border_val: Scalar
) -> Result<Ptr<dyn Filter>>

Creates a horizontal 1D box filter.

Parameters

  • srcType: Input image type. Only CV_8UC1 type is supported for now.
  • dstType: Output image type. Only CV_32FC1 type is supported for now.
  • ksize: Kernel size.
  • anchor: Anchor point. The default value (-1) means that the anchor is at the kernel center.
  • borderMode: Pixel extrapolation method. For details, see borderInterpolate .
  • borderVal: Default border value.

C++ default parameters

  • anchor: -1
  • border_mode: BORDER_DEFAULT
  • border_val: Scalar::all(0)