normalize function

Mat normalize(
  1. InputArray src,
  2. InputOutputArray dst, {
  3. double alpha = 1,
  4. double beta = 0,
  5. int normType = NORM_L2,
  6. int dtype = -1,
  7. 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

Mat normalize(
  InputArray src,
  InputOutputArray dst, {
  double alpha = 1,
  double beta = 0,
  int normType = NORM_L2,
  int dtype = -1,
  InputArray? mask,
}) {
  mask ??= Mat.empty();
  cvRun(() => ccore.Mat_Normalize(src.ref, dst.ref, alpha, beta, normType, dtype, mask!.ref));
  return dst;
}