createRLEImage static method

Mat createRLEImage(
  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 Mat createRLEImage(VecPoint3i runs, {(int, int) size = (0, 0)}) {
  final dst = Mat.empty();
  cvRun(() => ccontrib.cv_ximgproc_rl_createRLEImage(runs.ref, dst.ref, size.cvd.ref, ffi.nullptr));
  return dst;
}