Click or drag to resize

Cv2Randu Method (InputOutputArray, Scalar, Scalar)

fills array with uniformly-distributed random numbers from the range [low, high)

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void Randu(
	InputOutputArray dst,
	Scalar low,
	Scalar high
)

Parameters

dst
Type: OpenCvSharpInputOutputArray
The output array of random numbers. The array must be pre-allocated and have 1 to 4 channels
low
Type: OpenCvSharpScalar
The inclusive lower boundary of the generated random numbers
high
Type: OpenCvSharpScalar
The exclusive upper boundary of the generated random numbers
See Also