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

fixed chi square distance formulae #3724

Closed
wants to merge 3 commits into from
Closed

fixed chi square distance formulae #3724

wants to merge 3 commits into from

Conversation

StevenPuttemans
Copy link

Fixing bug: http://code.opencv.org/issues/2199
Chi Square formulae is wrong defined

@StevenPuttemans
Copy link
Author

The fix for the test for master(#3725) was pretty straightforward, but I cannot see where the test for 2.4 should be adapted.

Anyone?

@asmorkalov
Copy link
Contributor

@vpisarev please look at it.

@StevenPuttemans
Copy link
Author

@asmorkalov lets first see if we can fix the tests, there were some very sketchy solutions applied there :)

@StevenPuttemans
Copy link
Author

Okay so now the code is uniform to the actual function BUT we now get accuracy problems from the tests

 Imgproc_Hist_Compare.accuracy (1 ms) : The comparison result using the method #1 (Chi-Square)
 is inaccurate (=14713.8, should be =6365.16)

So my question is how we can avoid this?

@StevenPuttemans
Copy link
Author

Same as master branch, discussion was dealt with before, lets close this down! There is a double solution for now...

@StevenPuttemans StevenPuttemans deleted the fix_2199_2.4 branch March 3, 2015 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
port/backport done Label for maintainers. Authors of PR can ignore this
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants