inRangeAsync function
Future<Mat>
inRangeAsync(
- InputArray src,
- InputArray lowerb,
- InputArray upperb, {
- OutputArray? dst,
InRange checks if array elements lie between the elements of two Mat arrays.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga48af0ab51e36436c5d04340e036ce981
Implementation
Future<Mat> inRangeAsync(
InputArray src,
InputArray lowerb,
InputArray upperb, {
OutputArray? dst,
}) async {
dst ??= Mat.empty();
return cvRunAsync0(
(callback) => ccore.cv_inRange(src.ref, lowerb.ref, upperb.ref, dst!.ref, callback),
(c) {
return c.complete(dst);
},
);
}