Descriptor matching with HAMMING distance (Bug #2285)


Added by Tsur Herman over 12 years ago. Updated over 12 years ago.


Status:Cancelled Start date:2012-08-20
Priority:Normal Due date:
Assignee:Andrey Kamaev % Done:

0%

Category:features2d
Target version:2.4.3
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

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

Revision a078653a
Added by Andrey Pavlenko about 11 years ago

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

Also available in: Atom PDF