| Cv2Randn Method (InputOutputArray, Scalar, Scalar) |
fills array with normally-distributed random numbers with the specified mean and the standard deviation
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void Randn(
InputOutputArray dst,
Scalar mean,
Scalar stddev
)
Public Shared Sub Randn (
dst As InputOutputArray,
mean As Scalar,
stddev As Scalar
)
public:
static void Randn(
InputOutputArray^ dst,
Scalar mean,
Scalar stddev
)
static member Randn :
dst : InputOutputArray *
mean : Scalar *
stddev : Scalar -> unit
Parameters
- dst
- Type: OpenCvSharpInputOutputArray
The output array of random numbers.
The array must be pre-allocated and have 1 to 4 channels - mean
- Type: OpenCvSharpScalar
The mean value (expectation) of the generated random numbers - stddev
- Type: OpenCvSharpScalar
The standard deviation of the generated random numbers
See Also