Click or drag to resize
CvInvokePCACompute Method (IInputArray, IInputOutputArray, IOutputArray, Int32)
http://www.emgu.com
Performs Principal Component Analysis of the supplied dataset.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static void PCACompute(
	IInputArray data,
	IInputOutputArray mean,
	IOutputArray eigenvectors,
	int maxComponents = 0
)

Parameters

data
Type: Emgu.CVIInputArray
Input samples stored as the matrix rows or as the matrix columns.
mean
Type: Emgu.CVIInputOutputArray
Optional mean value; if the matrix is empty, the mean is computed from the data.
eigenvectors
Type: Emgu.CVIOutputArray
The eigenvectors.
maxComponents (Optional)
Type: SystemInt32
Maximum number of components that PCA should retain; by default, all the components are retained.
See Also