erodeAsync static method

Future<Mat> erodeAsync(
  1. InputArray rlSrc,
  2. InputArray rlKernel, {
  3. bool bBoundaryOn = true,
  4. (int, int) anchor = (0, 0),
})

Erodes 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#ga1903619622035efbe28ad08151f60ec3

Implementation

static Future<Mat> erodeAsync(
  InputArray rlSrc,
  InputArray rlKernel, {
  bool bBoundaryOn = true,
  (int, int) anchor = (0, 0),
}) async =>
    cvRunAsync(
      (callback) => ccontrib.ximgproc_rl_erode_Async(
        rlSrc.ref,
        rlKernel.ref,
        bBoundaryOn,
        anchor.asPoint.ref,
        callback,
      ),
      matCompleter,
    );