Fills array with random numbers and updates the RNG state
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void RandArr( CvRNG rng, DistributionType distType, CvScalar param1, CvScalar param2 )
Parameters
- rng
- Type: OpenCvSharpCvRNG
RNG state initialized by cvRNG. - distType
- Type: OpenCvSharpDistributionType
Distribution type. - param1
- Type: OpenCvSharpCvScalar
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: OpenCvSharpCvScalar
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