Cv2.Randu Method (InputOutputArray, Scalar, Scalar)
|
fills array with uniformly-distributed random numbers from the range [low, high)
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static void Randu(
InputOutputArray dst,
Scalar low,
Scalar high
)
Public Shared Sub Randu (
dst As InputOutputArray,
low As Scalar,
high As Scalar
)
public:
static void Randu(
InputOutputArray^ dst,
Scalar low,
Scalar high
)
static member Randu :
dst : InputOutputArray *
low : Scalar *
high : Scalar -> unit
OpenCvSharp.Cv2.Randu = function(dst, low, high);
Parameters
- dst
- Type: OpenCvSharp.InputOutputArray
The output array of random numbers.
The array must be pre-allocated and have 1 to 4 channels - low
- Type: OpenCvSharp.Scalar
The inclusive lower boundary of the generated random numbers - high
- Type: OpenCvSharp.Scalar
The exclusive upper boundary of the generated random numbers
See Also