checkRangeAsync function
Future<(bool, Point)>
checkRangeAsync(
- InputArray a, {
- bool quiet = true,
- double minVal = -CV_F64_MAX,
- double maxVal = CV_F64_MAX,
CheckRange checks every element of an input array for invalid values.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga2bd19d89cae59361416736f87e3c7a64
Implementation
Future<(bool, Point)> checkRangeAsync(
InputArray a, {
bool quiet = true,
double minVal = -CV_F64_MAX,
double maxVal = CV_F64_MAX,
}) async =>
cvRunAsync2((callback) => ccore.core_CheckRange_Async(a.ref, quiet, minVal, maxVal, callback),
(completer, p, p1) {
final rval = p.cast<ffi.Bool>().value;
calloc.free(p);
completer.complete((rval, Point.fromPointer(p1.cast<ccore.Point>())));
});