Calculates orthonormal eigen basis and the averaged object for a group of the input objects.

C# | Visual Basic | Visual C++ |
public static void cvCalcEigenObjects( IntPtr[] input, ref MCvTermCriteria calcLimit, IntPtr[] eigVecs, float[] eigVals, IntPtr avg )
Public Shared Sub cvCalcEigenObjects ( _ input As IntPtr(), _ ByRef calcLimit As MCvTermCriteria, _ eigVecs As IntPtr(), _ eigVals As Single(), _ avg As IntPtr _ )
public: static void cvCalcEigenObjects( array<IntPtr>^ input, MCvTermCriteria% calcLimit, array<IntPtr>^ eigVecs, array<float>^ eigVals, IntPtr avg )

- input (array< IntPtr >[]()[])
- Pointer to the array of IplImage input objects
- calcLimit ( MCvTermCriteria %)
- Criteria that determine when to stop calculation of eigen objects. Depending on the parameter calcLimit, calculations are finished either after first calcLimit.max_iter dominating eigen objects are retrieved or if the ratio of the current eigenvalue to the largest eigenvalue comes down to calcLimit.epsilon threshold. The value calcLimit -> type must be CV_TERMCRIT_NUMB, CV_TERMCRIT_EPS, or CV_TERMCRIT_NUMB | CV_TERMCRIT_EPS . The function returns the real values calcLimit->max_iter and calcLimit->epsilon
- eigVecs (array< IntPtr >[]()[])
- Pointer either to the array of eigen objects
- eigVals (array< Single >[]()[])
- Pointer to the eigenvalues array in the descending order; may be NULL
- avg (IntPtr)
- Averaged object