M.K.
M.K.

Reputation: 650

Eigenvector and eigenvalue with cvBlobsLib

I use cvBlobsLib for blob detection. At the moment I need large and small eigenvalue and corresponding eingenvectors. All what I could find in the documentation of library is CBlobGetMajorAxisLength and CBlobGetMinorAxisLength. If I am right: first gives me the large eigenvalue and the second - the small eigenvalue. But now I also need eigenvectors which I could not find in the library. Thank you

Upvotes: 0

Views: 245

Answers (1)

jonsca
jonsca

Reputation: 10381

It looks like there is a way to get the orientation angle of the blob. Rooting through the documentation (downloaded here, which is not in English, but can be understood) I found:

CBlobGetOrientation Class Reference

Public Member Functions

double  operator() (const CBlob &blob) const

Aplica l'operació al blob.

const char *    GetNom () const

Obté el nom de l'operador.

So, if you have the magnitude of the axis and it's orientation, you should be able to derive everything else. The only trick is, I'm not sure what the angle is referenced to.

Upvotes: 2

Related Questions