CvCalcPCA Method OpenCvSharp Class Library
Performs Principal Component Analysis of a vector set

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void CalcPCA(
	CvArr data,
	CvArr avg,
	CvArr eigenvalues,
	CvArr eigenvectors,
	PCAFlag flags
)

Parameters

data
Type: OpenCvSharpCvArr
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: OpenCvSharpCvArr
The mean (average) vector, computed inside the function or provided by user.
eigenvalues
Type: OpenCvSharpCvArr
The output eigenvalues of covariation matrix.
eigenvectors
Type: OpenCvSharpCvArr
The output eigenvectors of covariation matrix (i.e. principal components); one vector per row.
flags
Type: OpenCvSharpPCAFlag
The operation flags

Return Value

Type: 
See Also

Reference