[][src]Function opencv::cudafilters::create_gaussian_filter

pub fn create_gaussian_filter(
    src_type: i32,
    dst_type: i32,
    ksize: Size,
    sigma1: f64,
    sigma2: f64,
    row_border_mode: i32,
    column_border_mode: i32
) -> Result<Ptr<dyn Filter>>

Creates a Gaussian filter.

Parameters

  • srcType: Source image type.
  • dstType: Destination array type.
  • ksize: Aperture size. See getGaussianKernel for details.
  • sigma1: Gaussian sigma in the horizontal direction. See getGaussianKernel for details.
  • sigma2: Gaussian sigma in the vertical direction. If 0, then inline formula .
  • rowBorderMode: Pixel extrapolation method in the vertical direction. For details, see borderInterpolate.
  • columnBorderMode: Pixel extrapolation method in the horizontal direction.

See also

GaussianBlur

C++ default parameters

  • sigma2: 0
  • row_border_mode: BORDER_DEFAULT
  • column_border_mode: -1