Click or drag to resize

CvInvokeCalcCovarMatrix Method

http://www.emgu.com
Calculates the covariance matrix of a set of vectors.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void CalcCovarMatrix(
	IInputArray samples,
	IOutputArray covar,
	IInputOutputArray mean,
	CovarMethod flags,
	DepthType ctype = DepthType.Cv64F
)

Parameters

samples
Type: Emgu.CVIInputArray
Samples stored either as separate matrices or as rows/columns of a single matrix.
covar
Type: Emgu.CVIOutputArray
Output covariance matrix of the type ctype and square size.
mean
Type: Emgu.CVIInputOutputArray
Input or output (depending on the flags) array as the average value of the input vectors.
flags
Type: Emgu.CV.CvEnumCovarMethod
Operation flags
ctype (Optional)
Type: Emgu.CV.CvEnumDepthType
Type of the matrix
See Also