Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs of eigenvalues and eigenvectors order #50

Merged
merged 1 commit into from
Mar 29, 2018

Conversation

KitKat7
Copy link
Contributor

@KitKat7 KitKat7 commented Mar 24, 2018

In the previous version like 3feae58, the OpenCV's cv::eigen was used, which returned eigenvalues in decreasing order. However, the current version d146f4b uses Eigen's Eigen::SelfAdjointEigenSolver, which returns the results in increasing order.

This will cause matD1(0, 0) > 3 * matD1(0, 1) never happens. The corresponding eigenvector for line directions should also be changed.

@laboshinl laboshinl merged commit f87b08d into laboshinl:master Mar 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants