Table of Contents

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

src InputArray

The input matrix; must have CV_32FC1 or CV_64FC1 type, square size and be symmetric: src^T == src

eigenvalues OutputArray

The output vector of eigenvalues of the same type as src; The eigenvalues are stored in the descending order.

eigenvectors OutputArray

The 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

Returns

bool