Click or drag to resize

CvInvokePCACompute Method (IInputArray, IInputOutputArray, IOutputArray, Double)

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: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void PCACompute(
	IInputArray data,
	IInputOutputArray mean,
	IOutputArray eigenvectors,
	double retainedVariance
)

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.
retainedVariance
Type: SystemDouble
Percentage of variance that PCA should retain. Using this parameter will let the PCA decided how many components to retain but it will always keep at least 2.
See Also