Initialize CvRandState structure
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void RandInit( CvRandState state, double param1, double param2, int seed )
Parameters
- state
- Type: OpenCvSharpCvRandState
CvRandState structure to initialize - param1
- Type: SystemDouble
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: SystemDouble
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. - seed
- Type: SystemInt32
Seed value
See Also