Initialize CvRandState structure
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void RandInit( double param1, double param2, int seed, DistributionType disttype )
Parameters
- 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 - disttype
- Type: OpenCvSharpDistributionType
Type of distribution
See Also