morphologyEx static method

Mat morphologyEx(
  1. InputArray rlSrc,
  2. int op,
  3. InputArray rlKernel, {
  4. bool bBoundaryOnForErosion = true,
  5. (int, int) anchor = (0, 0),
})

Implementation

static Mat morphologyEx(
  InputArray rlSrc,
  int op,
  InputArray rlKernel, {
  bool bBoundaryOnForErosion = true,
  (int, int) anchor = (0, 0),
}) {
  final p = calloc<cvg.Mat>();
  cvRun(
    () => cffi.ximgproc_rl_morphologyEx(
      rlSrc.ref,
      p,
      op,
      rlKernel.ref,
      bBoundaryOnForErosion,
      anchor.asPoint.ref,
    ),
  );
  return Mat.fromPointer(p);
}