Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does OPENCV calculate eigenvalues and eigenvectors?

Tags:

c++

opencv

Does anyone know what algorithm is used for eigenvalue and eigenvector computation in the OPENCV library? Is it a suitable library for computing large scale eigenvalue problems?

like image 797
nah Avatar asked Apr 06 '11 13:04

nah


People also ask

Which method is used to calculate eigenvalues and eigenvectors?

eigen() function in R Language is used to calculate eigenvalues and eigenvectors of a matrix.

What is eigenvalues and eigenvectors in image processing?

An eigenvalue/eigenvector decomposition of the covariance matrix reveals the principal directions of variation between images in the collection. This has applications in image coding, image classification, object recognition, and more.

How the eigen values are calculated?

How do you determine the Eigenvalues of a square matrix A? We use the equation det(A – λI) = 0 and solve for λ. Calculate all the possible values of λ, which are the required eigenvalues of matrix A.


1 Answers

There seems to be a function called cvEigenVV, which can be used to calculate eigenvectors and corresponding eigenvalues of symmetric matrices.

It looks like this:

double cvEigenVV(CvArr* mat, CvArr* evects, CvArr* evals, double eps = 0);

more info here

hth

like image 154
Tony The Lion Avatar answered Sep 28 '22 16:09

Tony The Lion