Calculates covariation matrix of the set of vectors
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void CalcCovarMatrix( CvArr[] vects, CvArr covMat, CvArr avg, CovarMatrixFlag flags )
Parameters
- vects
- Type: OpenCvSharpCvArr
The input vectors. They all must have the same type and the same size. The vectors do not have to be 1D, they can be 2D (e.g. images) etc. - covMat
- Type: OpenCvSharpCvArr
The output covariation matrix that should be floating-point and square. - avg
- Type: OpenCvSharpCvArr
The input or output (depending on the flags) array - the mean (average) vector of the input vectors. - flags
- Type: OpenCvSharpCovarMatrixFlag
The operation flags
See Also