#include <features2d.hpp>
Public Types | |
typedef int | ResultType |
typedef unsigned char | ValueType |
Public Member Functions | |
ResultType | operator() (const unsigned char *a, const unsigned char *b, int size) const |
Static Public Member Functions | |
static unsigned char | byteBitsLookUp (unsigned char b) |
given a byte, count the bits using a compile time generated look up table |
typedef int cv::HammingLUT::ResultType |
typedef unsigned char cv::HammingLUT::ValueType |
static unsigned char cv::HammingLUT::byteBitsLookUp | ( | unsigned char | b | ) | [static] |
given a byte, count the bits using a compile time generated look up table
b | the byte to count bits. The look up table has an entry for all values of b, where that entry is the number of bits. |
ResultType cv::HammingLUT::operator() | ( | const unsigned char * | a, | |
const unsigned char * | b, | |||
int | size | |||
) | const |
this will count the bits in a ^ b