threshold static method

Mat threshold(
  1. InputArray src,
  2. double thresh,
  3. int type
)

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;
}