Add HammingDist test case
This commit is contained in:
parent
abe2ea59ed
commit
6a40383aee
@ -191,8 +191,20 @@ namespace
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(OCL_Features2D, BruteForceMatcher,
|
||||
testing::Combine(
|
||||
testing::Values(DistType(cv::ocl::BruteForceMatcher_OCL_base::L1Dist), DistType(cv::ocl::BruteForceMatcher_OCL_base::L2Dist)),
|
||||
testing::Values(DescriptorSize(57), DescriptorSize(64), DescriptorSize(83), DescriptorSize(128), DescriptorSize(179), DescriptorSize(256), DescriptorSize(304))));
|
||||
|
||||
testing::Values(
|
||||
DistType(cv::ocl::BruteForceMatcher_OCL_base::L1Dist),
|
||||
DistType(cv::ocl::BruteForceMatcher_OCL_base::L2Dist),
|
||||
DistType(cv::ocl::BruteForceMatcher_OCL_base::HammingDist)
|
||||
),
|
||||
testing::Values(
|
||||
DescriptorSize(57),
|
||||
DescriptorSize(64),
|
||||
DescriptorSize(83),
|
||||
DescriptorSize(128),
|
||||
DescriptorSize(179),
|
||||
DescriptorSize(256),
|
||||
DescriptorSize(304))
|
||||
)
|
||||
);
|
||||
} // namespace
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user