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 =>
cvRunAsync0(
(callback) => mask == null
? ccore.core_Normalize_Async(src.ref, dst.ref, alpha, beta, normType, dtype, callback)
: ccore.core_Normalize_Mask_Async(
src.ref,
dst.ref,
alpha,
beta,
normType,
dtype,
mask.ref,
callback,
),
(c) => c.complete(dst),
);