Projects vectors to the specified subspace

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvProjectPCA(
	IntPtr data,
	IntPtr avg,
	IntPtr eigenvectors,
	IntPtr result
)
Public Shared Sub cvProjectPCA ( _
	data As IntPtr, _
	avg As IntPtr, _
	eigenvectors As IntPtr, _
	result As IntPtr _
)
public:
static void cvProjectPCA(
	IntPtr data, 
	IntPtr avg, 
	IntPtr eigenvectors, 
	IntPtr result
)

Parameters

data
IntPtr
The input data. Each vector is eigher a single row or a single column.
avg
IntPtr
The mean (average) vector. If it is a single-row vector, it means that the input vectors are stored as rows of data; Otherwise, it should be a single-column vector, then the vectors are stored as columns of data.
eigenvectors
IntPtr
The eigenvectors (principle components). One vector per row.
result
IntPtr
The output matrix of decomposition coefficients. The number of rows must be the same as the number of vectors, the number of columns must be less than or equal to the number of rows in eigenvectos. That it is less, the input vectors are projected into subspace of the first cols(result) principle components.

See Also