http://www.emgu.com
Projects vectors to the specified subspace

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

Syntax

C#
public static void cvProjectPCA(
	IntPtr data,
	IntPtr avg,
	IntPtr eigenvectors,
	IntPtr result
)
Visual Basic
Public Shared Sub cvProjectPCA ( 
	data As IntPtr,
	avg As IntPtr,
	eigenvectors As IntPtr,
	result As IntPtr
)
Visual C++
public:
static void cvProjectPCA(
	IntPtr data, 
	IntPtr avg, 
	IntPtr eigenvectors, 
	IntPtr result
)
F#
static member cvProjectPCA : 
        data : IntPtr * 
        avg : IntPtr * 
        eigenvectors : IntPtr * 
        result : IntPtr -> unit 

Parameters

data
Type: System..::..IntPtr
The input data. Each vector is eigher a single row or a single column.
avg
Type: System..::..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
Type: System..::..IntPtr
The eigenvectors (principle components). One vector per row.
result
Type: System..::..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