Emgu CV Library Documentation
cvCalcPCA Method (data, avg, eigenvalues, eigenvectors, flags)
NamespacesEmgu.CVCvInvokecvCalcPCA(IntPtr, IntPtr, IntPtr, IntPtr, PCA_TYPE)

www.emgu.com/wiki
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)).
Declaration Syntax
C#Visual BasicVisual C++
public static void cvCalcPCA(
	IntPtr data,
	IntPtr avg,
	IntPtr eigenvalues,
	IntPtr eigenvectors,
	PCA_TYPE flags
)
Public Shared Sub cvCalcPCA ( _
	data As IntPtr, _
	avg As IntPtr, _
	eigenvalues As IntPtr, _
	eigenvectors As IntPtr, _
	flags As PCA_TYPE _
)
public:
static void cvCalcPCA(
	IntPtr data, 
	IntPtr avg, 
	IntPtr eigenvalues, 
	IntPtr eigenvectors, 
	PCA_TYPE flags
)
Parameters
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)"]

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)