threshold static method
Applies a fixed-level threshold to each array element.
Implementation
static Mat threshold(InputArray src, double thresh, int type) {
final dst = Mat.empty();
cvRun(() => ccontrib.cv_ximgproc_rl_threshold(src.ref, dst.ref, thresh, type, ffi.nullptr));
return dst;
}