Click or drag to resize

Cv2CalcCovarMatrix Method (Mat, Mat, Mat, 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(
	Mat[] samples,
	Mat covar,
	Mat mean,
	CovarFlags flags,
	Nullable<MatType> ctype = null
)

Parameters

samples
Type: OpenCvSharpMat
samples stored as separate matrices
covar
Type: OpenCvSharpMat
output covariance matrix of the type ctype and square size.
mean
Type: OpenCvSharpMat
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