Click or drag to resize

PCAProject Method (InputArray)

Projects vector(s) to the principal component subspace. The methods project one or more vectors to the principal component subspace, where each vector projection is represented by coefficients in the principal component basis. The first form of the method returns the matrix that the second form writes to the result. So the first form can be used as a part of expression while the second form can be more efficient in a processing loop.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public Mat Project(
	InputArray vec
)

Parameters

vec
Type: OpenCvSharpInputArray
input vector(s); must have the same dimensionality and the same layout as the input data used at %PCA phase, that is, if DATA_AS_ROW are specified, then `vec.cols==data.cols` (vector dimensionality) and `vec.rows` is the number of vectors to project, and the same is true for the PCA::DATA_AS_COL case.

Return Value

Type: Mat

[Missing <returns> documentation for "M:OpenCvSharp.PCA.Project(OpenCvSharp.InputArray)"]

See Also