Method Randu
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Randu(InputOutputArray, InputArray, InputArray)
fills array with uniformly-distributed random numbers from the range [low, high)
public static void Randu(InputOutputArray dst, InputArray low, InputArray high)
Parameters
dstInputOutputArrayThe output array of random numbers. The array must be pre-allocated and have 1 to 4 channels
lowInputArrayThe inclusive lower boundary of the generated random numbers
highInputArrayThe exclusive upper boundary of the generated random numbers
Randu(InputOutputArray, Scalar, Scalar)
fills array with uniformly-distributed random numbers from the range [low, high)
public static void Randu(InputOutputArray dst, Scalar low, Scalar high)
Parameters
dstInputOutputArrayThe output array of random numbers. The array must be pre-allocated and have 1 to 4 channels
lowScalarThe inclusive lower boundary of the generated random numbers
highScalarThe exclusive upper boundary of the generated random numbers