Merge pull request #17735 from pemmanuelviel:pev-fix-trees-descent
authorpemmanuelviel <p.emmanuel.viel@gmail.com>
Mon, 3 Aug 2020 18:00:59 +0000 (20:00 +0200)
committerGitHub <noreply@github.com>
Mon, 3 Aug 2020 18:00:59 +0000 (18:00 +0000)
commite6ec42d462b562e9eddc8405bf89e2bb3c7a5b39
tree771e4371546d8880f4edd48aa3e64e5d3856a9b9
parent1192734131aed215b8780743e745754f24c0f9aa
Merge pull request #17735 from pemmanuelviel:pev-fix-trees-descent

* Fix trees parsing behavior in hierarchical_clustering_index:
Before, when maxCheck was reached in the first descent of a tree, time was still wasted parsing
the next trees till their best leaf, just to skip the points stored there.
Now we can choose either to keep this behavior, and so we skip parsing other trees after reaching
maxCheck, or we choose to do one descent in each tree, even if in one tree we reach maxCheck.

* Apply the same change to kdtree.
As each leaf contains only 1 point (unlike hierarchical_clustering), difference is visible if trees > maxCheck

* Add the new explore_all_trees parameters to miniflann

* Adapt the FlannBasedMatcher read_write test to the additional search parameter

* Adapt java tests to the additional parameter in SearchParams

* Fix the ABI dumps failure on SearchParams interface change

* Support of ctor calling another ctor of the class is only fully supported from C+11
modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java
modules/features2d/test/test_matchers_algorithmic.cpp
modules/flann/include/opencv2/flann/hierarchical_clustering_index.h
modules/flann/include/opencv2/flann/kdtree_index.h
modules/flann/include/opencv2/flann/miniflann.hpp
modules/flann/include/opencv2/flann/params.h
modules/flann/src/miniflann.cpp