Click or drag to resize

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
)

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