gaussianBlur function

Mat gaussianBlur(
  1. Mat src,
  2. (int, int) ksize,
  3. double sigmaX, {
  4. Mat? dst,
  5. double sigmaY = 0,
  6. int borderType = BORDER_DEFAULT,
})

GaussianBlur blurs an image Mat using a Gaussian filter. The function convolves the src Mat image into the dst Mat using the specified Gaussian kernel params.

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

Implementation

Mat gaussianBlur(
  Mat src,
  (int, int) ksize,
  double sigmaX, {
  Mat? dst,
  double sigmaY = 0,
  int borderType = BORDER_DEFAULT,
}) {
  dst ??= Mat.empty();
  cvRun(() => cffi.GaussianBlur(src.ref, dst!.ref, ksize.cvd.ref, sigmaX, sigmaY, borderType));
  return dst;
}