subtractAsync function
Subtract calculates the per-element subtraction 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#gaa0f00d98b4b5edeaeb7b8333b2de353b
Implementation
Future<Mat> subtractAsync(
InputArray src1,
InputArray src2, {
InputArray? mask,
int dtype = -1,
}) async =>
cvRunAsync(
(callback) =>
ccore.core_Subtract_Async(src1.ref, src2.ref, mask?.ref ?? Mat.empty().ref, dtype, callback),
matCompleter,
);