Descriptor matching with HAMMING distance (Bug #2285)
Description
in matchers.cpp line 428
const float* distptr = dist.ptr<float>(qIdx);
should be:
const float* distptr = distf.ptr<float>(qIdx);
as the poet intended , otherwise Hamming distance computation (32S instead of 32F) fails miserably.
Related issues
duplicates Patch #2245: BFMatcher with Hamming distace stores distances as intege... | Done | 2012-08-06 |
Associated revisions
Merge pull request #2285 from KonstantinMatskevich:ocl_test_cascade2.4
History
Updated by Andrey Kamaev over 12 years ago
Closing as exact duplicate.
- Assignee set to Andrey Kamaev
- Status changed from Open to Cancelled
- Target version set to 2.4.3
- Category set to features2d