Performs PCA analysis of the vector set. First, it uses cvCalcCovarMatrix to compute covariation matrix and then it finds its eigenvalues and eigenvectors. The output number of eigenvalues/eigenvectors should be less than or equal to MIN(rows(data),cols(data)).


- data (IntPtr)
- The input data; each vector is either a single row (CV_PCA_DATA_AS_ROW) or a single column (CV_PCA_DATA_AS_COL).
- avg (IntPtr)
- The mean (average) vector, computed inside the function or provided by user
- eigenvalues (IntPtr)
- The output eigenvalues of covariation matrix.
- eigenvectors (IntPtr)
- The output eigenvectors of covariation matrix (i.e. principal components); one vector per row.
- flags (PCA_TYPE)
[Missing <param name="flags"/> documentation for "M:Emgu.CV.CvInvoke.cvCalcPCA(System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr,Emgu.CV.CvEnum.PCA_TYPE)"]