| PCABackProject Method (InputArray, OutputArray) |
Reconstructs vectors from their PC projections.
The methods are inverse operations to PCA::project. They take PC
coordinates of projected vectors and reconstruct the original vectors.
Unless all the principal components have been retained, the
reconstructed vectors are different from the originals. But typically,
the difference is small if the number of components is large enough (but
still much smaller than the original vector dimensionality). As a result, PCA is used.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public void BackProject(
InputArray vec,
OutputArray result
)
Public Sub BackProject (
vec As InputArray,
result As OutputArray
)
public:
void BackProject(
InputArray^ vec,
OutputArray^ result
)
member BackProject :
vec : InputArray *
result : OutputArray -> unit
Parameters
- vec
- Type: OpenCvSharpInputArray
coordinates of the vectors in the principal component subspace,
the layout and size are the same as of PCA::project output vectors. - result
- Type: OpenCvSharpOutputArray
reconstructed vectors; the layout and size are the same as
of PCA::project input vectors.
See Also