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( CvArr arr, DistributionType dist_type, CvScalar param1, CvScalar param2 )
Parameters
- arr
- Type: OpenCvSharpCvArr
The destination array. - dist_type
- 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