bitwiseORAsync function
Future<Mat>
bitwiseORAsync(
- InputArray src1,
- InputArray src2, {
- OutputArray? dst,
- InputArray? mask,
BitwiseOr calculates the per-element bit-wise disjunction of two arrays or an array and a scalar.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#gab85523db362a4e26ff0c703793a719b4
Implementation
Future<Mat> bitwiseORAsync(
InputArray src1,
InputArray src2, {
OutputArray? dst,
InputArray? mask,
}) async {
dst ??= Mat.empty();
return mask == null
? cvRunAsync0(
(callback) => ccore.cv_bitwise_or(src1.ref, src2.ref, dst!.ref, callback),
(c) {
return c.complete(dst);
},
)
: cvRunAsync0(
(callback) => ccore.cv_bitwise_or_1(src1.ref, src2.ref, dst!.ref, mask.ref, callback),
(c) {
return c.complete(dst);
},
);
}