MatRandu Method (Scalar, Scalar) OpenCvSharp Class Library
fills array with uniformly-distributed random numbers from the range [low, high)

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void Randu(
	Scalar low,
	Scalar high
)

Parameters

low
Type: OpenCvSharp.CPlusPlusScalar
The inclusive lower boundary of the generated random numbers
high
Type: OpenCvSharp.CPlusPlusScalar
The exclusive upper boundary of the generated random numbers
See Also

Reference