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