erodeAsync static method
Future<Mat>
erodeAsync(
- InputArray rlSrc,
- InputArray rlKernel, {
- bool bBoundaryOn = true,
- (int, int) anchor = (0, 0),
Erodes an run-length encoded binary image by using a specific structuring element.
Implementation
static Future<Mat> erodeAsync(
InputArray rlSrc,
InputArray rlKernel, {
bool bBoundaryOn = true,
(int, int) anchor = (0, 0),
}) async {
final dst = Mat.empty();
return cvRunAsync0(
(callback) => ccontrib.cv_ximgproc_rl_erode(
rlSrc.ref,
dst.ref,
rlKernel.ref,
bBoundaryOn,
anchor.toPoint().ref,
callback,
), (c) {
return c.complete(dst);
});
}