erode function

VARP erode(
  1. VARP src,
  2. VARP kernel, {
  3. int iterations = 1,
  4. int borderType = BORDER_CONSTANT,
})

Implementation

VARP erode(VARP src, VARP kernel, {int iterations = 1, int borderType = BORDER_CONSTANT}) {
  final pOut = c.mnn_cv_erode(src.ptr, kernel.ptr, iterations, borderType);
  final rval = VARP.fromPointer(pOut);
  return rval;
}