使用 cvBlobsLib 计算特征向量和特征值
我使用 cvBlobsLib 进行斑点检测。目前我需要大特征值和小特征值以及相应的特征向量。我在库文档中找到的所有内容都是 CBlobGetMajorAxisLength 和 CBlobGetMinorAxisLength 。如果我是对的:首先给我大特征值,第二个给我小特征值。但现在我还需要特征向量,但我在图书馆中找不到。也许您知道哪个函数可以给我这些值或者我如何使用这个库计算它们。谢谢
I use cvBlobsLib for blob detection. At the moment I need large and small eigenvalues and corresponding eingenvectors. All what I could find in the documentation of library are 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. Maybe you know which function can give me those values or how I can calculate them with this library. Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能想尝试一下。从那里您可以形成一个对应于特征向量和特征值的协方差矩阵。
You may want to try moments. From there you can form a covariance matrix which correspond to the eigen vectors and eigen values.