Method Eigen
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Eigen(InputArray, OutputArray, OutputArray)
Computes eigenvalues and eigenvectors of a symmetric matrix.
public static bool Eigen(InputArray src, OutputArray eigenvalues, OutputArray eigenvectors)
Parameters
srcInputArrayThe input matrix; must have CV_32FC1 or CV_64FC1 type, square size and be symmetric: src^T == src
eigenvaluesOutputArrayThe output vector of eigenvalues of the same type as src; The eigenvalues are stored in the descending order.
eigenvectorsOutputArrayThe output matrix of eigenvectors; It will have the same size and the same type as src; The eigenvectors are stored as subsequent matrix rows, in the same order as the corresponding eigenvalues