[][src]Function opencv::cudafilters::create_box_max_filter

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

Creates the maximum filter.

Parameters

  • srcType: Input/output image type. Only CV_8UC1 and CV_8UC4 are supported.
  • 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: Point(-1,-1)
  • border_mode: BORDER_DEFAULT
  • border_val: Scalar::all(0)