morphologyExAsync static method
Future<Mat>
morphologyExAsync(
- InputArray rlSrc,
- int op,
- InputArray rlKernel, {
- bool bBoundaryOnForErosion = true,
- (int, int) anchor = (0, 0),
Applies a morphological operation to a run-length encoded binary image.
Implementation
static Future<Mat> morphologyExAsync(
InputArray rlSrc,
int op,
InputArray rlKernel, {
bool bBoundaryOnForErosion = true,
(int, int) anchor = (0, 0),
}) async {
final dst = Mat.empty();
return cvRunAsync0(
(callback) => ccontrib.cv_ximgproc_rl_morphologyEx(
rlSrc.ref,
dst.ref,
op,
rlKernel.ref,
bBoundaryOnForErosion,
anchor.toPoint().ref,
callback,
), (c) {
return c.complete(dst);
});
}