Click or drag to resize

Cv2CalcCovarMatrix Method (InputArray, OutputArray, InputOutputArray, CovarFlags, NullableMatType)

computes covariation matrix of a set of samples

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void CalcCovarMatrix(
	InputArray samples,
	OutputArray covar,
	InputOutputArray mean,
	CovarFlags flags,
	Nullable<MatType> ctype = null
)

Parameters

samples
Type: OpenCvSharpInputArray
samples stored as rows/columns of a single matrix.
covar
Type: OpenCvSharpOutputArray
output covariance matrix of the type ctype and square size.
mean
Type: OpenCvSharpInputOutputArray
input or output (depending on the flags) array as the average value of the input vectors.
flags
Type: OpenCvSharpCovarFlags
operation flags as a combination of CovarFlags
ctype (Optional)
Type: SystemNullableMatType
type of the matrixl; it equals 'CV_64F' by default.
See Also