getStructuringElementAsync static method

Future<Mat> getStructuringElementAsync(
  1. int shape,
  2. (int, int) ksize
)

Returns a run length encoded structuring element of the specified size and shape.

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

Implementation

static Future<Mat> getStructuringElementAsync(int shape, (int, int) ksize) async => cvRunAsync(
      (callback) => ccontrib.ximgproc_rl_getStructuringElement_Async(shape, ksize.toSize.ref, callback),
      matCompleter,
    );