getStructuringElement static method
Returns a run length encoded structuring element of the specified size and shape.
Implementation
static Mat getStructuringElement(int shape, (int, int) ksize) {
final dst = Mat.empty();
cvRun(() => ccontrib.cv_ximgproc_rl_getStructuringElement(shape, ksize.cvd.ref, dst.ptr, ffi.nullptr));
return dst;
}