dilateAsync static method

Future<Mat> dilateAsync(
  1. InputArray rlSrc,
  2. InputArray rlKernel, {
  3. (int, int) anchor = (0, 0),
})

Dilates an run-length encoded binary image by using a specific structuring element.

https://docs.opencv.org/4.x/df/def/group__ximgproc__run__length__morphology.html#gac3de990089892266fa30189edcb6da3c

Implementation

static Future<Mat> dilateAsync(InputArray rlSrc, InputArray rlKernel, {(int, int) anchor = (0, 0)}) async {
  final dst = Mat.empty();
  return cvRunAsync0(
      (callback) =>
          ccontrib.cv_ximgproc_rl_dilate(rlSrc.ref, dst.ref, rlKernel.ref, anchor.toPoint().ref, callback),
      (c) {
    return c.complete(dst);
  });
}