Calculates the covariance matrix for a group of input objects.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void CalcCovarMatrixEx( int objectCount, CvCallback input, EigenObjectsIOFlag ioFlags, int iobufSize, byte[] buffer, IntPtr userdata, IplImage avg, float[] covarMatrix )
Parameters
- objectCount
- Type: SystemInt32
Number of source objects. - input
- Type: OpenCvSharpCvCallback
Pointer to the read callback function. - ioFlags
- Type: OpenCvSharpEigenObjectsIOFlag
Input/output flags. - iobufSize
- Type: SystemInt32
Input/output buffer size. - buffer
- Type: SystemByte
Pointer to the input/output buffer. - userdata
- Type: SystemIntPtr
Pointer to the structure that contains all necessary data for the callback functions. - avg
- Type: OpenCvSharpIplImage
Averaged object. - covarMatrix
- Type: SystemSingle
Covariance matrix. An output parameter; must be allocated before the call.
See Also