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 dst = Mat.empty();
  cvRun(
    () =>
        ccontrib.cv_ximgproc_rl_dilate(rlSrc.ref, dst.ref, rlKernel.ref, anchor.toPoint().ref, ffi.nullptr),
  );
  return dst;
}