randn function

Mat randn(
  1. InputOutputArray dst,
  2. Scalar mean,
  3. Scalar stddev
)

RandN Fills the array with normally distributed random numbers.

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#gaeff1f61e972d133a04ce3a5f81cf6808

Implementation

Mat randn(InputOutputArray dst, Scalar mean, Scalar stddev) {
  cvRun(() => cffi.RandN(dst.ref, mean.ref, stddev.ref));
  return dst;
}