normalizeAsync function
Future<Mat>
normalizeAsync(
- InputArray src,
- InputOutputArray dst, {
- double alpha = 1,
- double beta = 0,
- int normType = NORM_L2,
- int dtype = -1,
- InputArray? mask,
Normalize normalizes the norm or value range of an array.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga87eef7ee3970f86906d69a92cbf064bd
Implementation
Future<Mat> normalizeAsync(
InputArray src,
InputOutputArray dst, {
double alpha = 1,
double beta = 0,
int normType = NORM_L2,
int dtype = -1,
InputArray? mask,
}) async {
mask ??= Mat.empty();
return cvRunAsync0(
(callback) => ccore.cv_normalize(src.ref, dst.ref, alpha, beta, normType, dtype, mask!.ref, callback),
(c) {
return c.complete(dst);
},
);
}