dilate static method

Mat dilate(
  1. InputArray rlSrc,
  2. InputArray rlKernel, {
  3. (int, int) anchor = (0, 0),
})

Dilates 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#gac3de990089892266fa30189edcb6da3c

Implementation

static Mat dilate(InputArray rlSrc, InputArray rlKernel, {(int, int) anchor = (0, 0)}) {
  final p = calloc<cvg.Mat>();
  cvRun(() => cffi.ximgproc_rl_dilate(rlSrc.ref, p, rlKernel.ref, anchor.asPoint.ref));
  return Mat.fromPointer(p);
}