Calculates the orthonormal eigen basis and the averaged object for group a of input objects.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void CalcEigenObjects( int nObjects, CvCallback input, CvCallback output, EigenObjectsIOFlag ioFlags, int ioBufSize, IntPtr userData, CvTermCriteria calcLimit, IplImage avg, float[] eigVals )
Parameters
- nObjects
- Type: SystemInt32
nObjects – Number of source objects. - input
- Type: OpenCvSharpCvCallback
Pointer to the read callback function. - output
- Type: OpenCvSharpCvCallback
Pointer to the write callback function. - ioFlags
- Type: OpenCvSharpEigenObjectsIOFlag
Input/output flags. - ioBufSize
- Type: SystemInt32
Input/output buffer size in bytes. The size is zero if unknown. - userData
- Type: SystemIntPtr
Pointer to the structure that contains all of the necessary data for the callback functions. - calcLimit
- Type: OpenCvSharpCvTermCriteria
Criteria that determine when to stop the calculation of eigen objects. - avg
- Type: OpenCvSharpIplImage
Averaged object. - eigVals
- Type: SystemSingle
Pointer to the eigenvalues array in the descending order; may be null.
See Also