threshold static method

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

Implementation

static Mat threshold(InputArray sr, double thresh, int type) {
  final p = calloc<ccontrib.Mat>();
  cvRun(() => ccontrib.ximgproc_rl_threshold(sr.ref, p, thresh, type));
  return Mat.fromPointer(p);
}