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

fix wrong conversion in estimateAffine2D* functions #8089

Merged
merged 2 commits into from
Jan 30, 2017

Conversation

hrnr
Copy link
Contributor

@hrnr hrnr commented Jan 27, 2017

fix bug in estimateAffine2D* functions discovered by @phryniszak here http://answers.opencv.org/question/123476/estimateaffinepartial2d-and-estimateaffine2d/. Some discussion also happened on #6615.

estimateAffine2D* are supposed to work on int points, but due to bug in conversion code it returned always identity.

I have added new tests to cover this in the future.

functions support points to have other datatypes than floats.

* fix bug in coversion that overwrites src points with dst points
@hrnr
Copy link
Contributor Author

hrnr commented Jan 27, 2017

I have restarted the build, because Win10 slave timed-out while connecting to github.com.

test with integer points to cover conversion bugs.
Copy link
Contributor

@sovrasov sovrasov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@alalek alalek merged commit 124c482 into opencv:master Jan 30, 2017
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.

3 participants