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 {
  final dst = Mat.empty();
  return cvRunAsync0(
      (callback) => ccontrib.cv_ximgproc_rl_createRLEImage(runs.ref, dst.ref, size.cvd.ref, callback), (c) {
    return c.complete(dst);
  });
}