Click or drag to resize

Cv2PCAProject Method

Projects vector(s) to the principal component subspace.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void PCAProject(
	InputArray data,
	InputArray mean,
	InputArray eigenvectors,
	OutputArray result
)

Parameters

data
Type: OpenCvSharpInputArray
input samples stored as the matrix rows or as the matrix columns.
mean
Type: OpenCvSharpInputArray
optional mean value; if the matrix is empty (noArray()), the mean is computed from the data.
eigenvectors
Type: OpenCvSharpInputArray
eigenvectors of the covariation matrix
result
Type: OpenCvSharpOutputArray
output vectors
See Also