refactored gpu::BruteForceMatcher (moved some utility functions to device layer)

This commit is contained in:
Vladislav Vinogradov
2011-08-29 11:31:52 +00:00
parent 50b72197ab
commit 5f9e47a9cd
18 changed files with 2007 additions and 1257 deletions

View File

@@ -286,7 +286,7 @@ TEST(BruteForceMatcher)
{
// Init CPU matcher
int desc_len = 128;
int desc_len = 64;
BruteForceMatcher< L2<float> > matcher;
@@ -329,7 +329,7 @@ TEST(BruteForceMatcher)
GPU_OFF;
SUBTEST << "radiusMatch";
float max_distance = 3.8f;
float max_distance = 2.0f;
CPU_ON;
matcher.radiusMatch(query, train, matches, max_distance);