thresholdAsync static method

Future<Mat> thresholdAsync(
  1. InputArray src,
  2. double thresh,
  3. int type
)

Implementation

static Future<Mat> thresholdAsync(InputArray src, double thresh, int type) async {
  final dst = Mat.empty();
  return cvRunAsync0(
    (callback) => ccontrib.cv_ximgproc_rl_threshold(src.ref, dst.ref, thresh, type, callback),
    (c) {
      return c.complete(dst);
    },
  );
}