powAsync function
Pow raises every array element to a power.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#gaf0d056b5bd1dc92500d6f6cf6bac41ef
Implementation
Future<Mat> powAsync(InputArray src, double power, {OutputArray? dst}) async {
dst ??= Mat.empty();
return cvRunAsync0(
(callback) => ccore.cv_pow(src.ref, power, dst!.ref, callback),
(c) {
return c.complete(dst);
},
);
}