threshold static method
Applies a fixed-level threshold to each array element.
Implementation
static Mat threshold(InputArray sr, double thresh, int type) {
final p = calloc<cvg.Mat>();
cvRun(() => cffi.ximgproc_rl_threshold(sr.ref, p, thresh, type));
return Mat.fromPointer(p);
}