Table of Contents

Method PCAProject

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

PCAProject(InputArray, InputArray, InputArray, OutputArray)

Projects vector(s) to the principal component subspace.

public static void PCAProject(InputArray data, InputArray mean, InputArray eigenvectors, OutputArray result)

Parameters

data InputArray

input samples stored as the matrix rows or as the matrix columns.

mean InputArray

optional mean value; if the matrix is empty (noArray()), the mean is computed from the data.

eigenvectors InputArray

eigenvectors of the covariation matrix

result OutputArray

output vectors