sepFilter2D function

Mat sepFilter2D(
  1. InputArray src,
  2. int ddepth,
  3. InputArray kernelX,
  4. InputArray kernelY, {
  5. OutputArray? dst,
  6. Point? anchor,
  7. double delta = 0,
  8. int borderType = BORDER_DEFAULT,
})

SepFilter2D applies a separable linear filter to the image.

For further details, please see: https:///docs.opencv.org/master/d4/d86/group__imgproc__filter.html#ga910e29ff7d7b105057d1625a4bf6318d

Implementation

Mat sepFilter2D(
  InputArray src,
  int ddepth,
  InputArray kernelX,
  InputArray kernelY, {
  OutputArray? dst,
  Point? anchor,
  double delta = 0,
  int borderType = BORDER_DEFAULT,
}) {
  anchor ??= Point(-1, -1);
  dst ??= Mat.empty();
  cvRun(
    () => cimgproc.SepFilter2D(
      src.ref,
      dst!.ref,
      ddepth,
      kernelX.ref,
      kernelY.ref,
      anchor!.ref,
      delta,
      borderType,
    ),
  );
  return dst;
}