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 p = calloc<cvg.Mat>();
cvRun(() => cffi.ximgproc_rl_getStructuringElement(shape, ksize.cvd.ref, p));
return Mat.fromPointer(p);
}