http://www.emgu.com
Fills the destination array with uniformly or normally distributed random numbers.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void cvRandArr(
	ref ulong rng,
	IntPtr arr,
	RAND_TYPE distType,
	MCvScalar param1,
	MCvScalar param2
)
Visual Basic
Public Shared Sub cvRandArr ( 
	ByRef rng As ULong,
	arr As IntPtr,
	distType As RAND_TYPE,
	param1 As MCvScalar,
	param2 As MCvScalar
)
Visual C++
public:
static void cvRandArr(
	unsigned long long% rng, 
	IntPtr arr, 
	RAND_TYPE distType, 
	MCvScalar param1, 
	MCvScalar param2
)
F#
static member cvRandArr : 
        rng : uint64 byref * 
        arr : IntPtr * 
        distType : RAND_TYPE * 
        param1 : MCvScalar * 
        param2 : MCvScalar -> unit 

Parameters

rng
Type: System..::..UInt64%
the seed for the random number generator
arr
Type: System..::..IntPtr
The destination array
distType
Type: Emgu.CV.CvEnum..::..RAND_TYPE
Distribution type
param1
Type: Emgu.CV.Structure..::..MCvScalar
The first parameter of distribution. In case of uniform distribution it is the inclusive lower boundary of random numbers range. In case of normal distribution it is the mean value of random numbers
param2
Type: Emgu.CV.Structure..::..MCvScalar
The second parameter of distribution. In case of uniform distribution it is the exclusive upper boundary of random numbers range. In case of normal distribution it is the standard deviation of random numbers

See Also