#include <dist.h>
Public Types | |
typedef T | ElementType |
typedef int | ResultType |
Public Member Functions | |
template<typename Iterator1 , typename Iterator2 > | |
ResultType | operator() (Iterator1 a, Iterator2 b, size_t size, ResultType=-1) const |
Hamming distance functor (pop count between two binary vectors, i.e. xor them and count the number of bits set) That code was taken from brief.cpp in OpenCV
typedef T rtflann::HammingPopcnt< T >::ElementType |
typedef int rtflann::HammingPopcnt< T >::ResultType |
|
inline |