OpenCV
3.2.0
Open Source Computer Vision
|
#include "dist.h"
Public Types | |
typedef T | ElementType |
typedef False | is_kdtree_distance |
typedef False | is_vector_space_distance |
typedef int | ResultType |
Public Member Functions | |
template<typename Iterator1 , typename Iterator2 > | |
ResultType | operator() (Iterator1 a, Iterator2 b, size_t size, ResultType=-1) const |
unsigned int | popcnt32 (uint32_t n) const |
typedef T cvflann::Hamming2< T >::ElementType |
typedef False cvflann::Hamming2< T >::is_kdtree_distance |
typedef False cvflann::Hamming2< T >::is_vector_space_distance |
typedef int cvflann::Hamming2< T >::ResultType |
ResultType cvflann::Hamming2< T >::operator() | ( | Iterator1 | a, |
Iterator2 | b, | ||
size_t | size, | ||
ResultType | = -1 |
||
) | const |
unsigned int cvflann::Hamming2< T >::popcnt32 | ( | uint32_t | n | ) | const |
This is popcount_3() from: http://en.wikipedia.org/wiki/Hamming_weight