getStructuringElementAsync static method
Returns a run length encoded structuring element of the specified size and shape.
Implementation
static Future<Mat> getStructuringElementAsync(int shape, (int, int) ksize) async {
final dst = Mat.empty();
return cvRunAsync0(
(callback) => ccontrib.cv_ximgproc_rl_getStructuringElement(shape, ksize.cvd.ref, dst.ptr, callback),
(c) {
return c.complete(dst);
});
}