createRLEImageAsync static method

Future<Mat> createRLEImageAsync(
  1. VecPoint3i runs, {
  2. (int, int) size = (0, 0),
})

Creates a run-length encoded image from a vector of runs (column begin, column end, row)

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

Implementation

static Future<Mat> createRLEImageAsync(VecPoint3i runs, {(int, int) size = (0, 0)}) async => cvRunAsync(
      (callback) => cffi.ximgproc_rl_createRLEImage_Async(runs.ref, size.toSize().ref, callback),
      matCompleter,
    );