http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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)).
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static void cvCalcPCA( IntPtr data, IntPtr avg, IntPtr eigenvalues, IntPtr eigenvectors, PCA_TYPE flags ) |
Visual Basic |
---|
Public Shared Sub cvCalcPCA ( _ data As IntPtr, _ avg As IntPtr, _ eigenvalues As IntPtr, _ eigenvectors As IntPtr, _ flags As PCA_TYPE _ ) |
Visual C++ |
---|
public: static void cvCalcPCA( IntPtr data, IntPtr avg, IntPtr eigenvalues, IntPtr eigenvectors, PCA_TYPE flags ) |
Parameters
- data
- Type: System..::..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
- Type: System..::..IntPtr
The mean (average) vector, computed inside the function or provided by user
- eigenvalues
- Type: System..::..IntPtr
The output eigenvalues of covariation matrix.
- eigenvectors
- Type: System..::..IntPtr
The output eigenvectors of covariation matrix (i.e. principal components); one vector per row.
- flags
- Type: Emgu.CV.CvEnum..::..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)"]