implement optimized version of gpu::BruteForceMatcher::knnMatch when k == 2

This commit is contained in:
Vladislav Vinogradov
2011-08-15 12:14:02 +00:00
parent c92b040c48
commit 6e3a1f7b49
4 changed files with 239 additions and 72 deletions

View File

@@ -320,7 +320,7 @@ TEST_P(BruteForceMatcher, KnnMatch)
PRINT_PARAM(distStr);
PRINT_PARAM(dim);
const int knn = 3;
const int knn = 2;
std::vector< std::vector<cv::DMatch> > matches;