![]() |
OpenCV
4.0.0-rc
Open Source Computer Vision
|
#include "dist.h"
Public Types | |
| typedef unsigned char | ElementType |
| typedef False | is_kdtree_distance |
| typedef False | is_vector_space_distance |
| typedef int | ResultType |
Public Member Functions | |
| ResultType | operator() (const unsigned char *a, const unsigned char *b, size_t size) const |
Hamming distance functor - counts the bit differences between two strings - useful for the Brief descriptor bit count of A exclusive XOR'ed with B
| typedef unsigned char cvflann::HammingLUT::ElementType |
| typedef int cvflann::HammingLUT::ResultType |
|
inline |
this will count the bits in a ^ b
1.8.12