GSLAM  3.0.0
Public Types | Static Public Member Functions | List of all members
Vocabulary::DistanceFactory Struct Reference

Public Types

typedef std::function< float(const uchar *, const uchar *)> DistanceFunc
 

Static Public Member Functions

static float hamming32 (const uchar *a, const uchar *b)
 
static float hamming64 (const uchar *a, const uchar *b)
 
static float hamming8x (const uchar *a, const uchar *b, int bytes)
 
static float l2generic (const uchar *a, const uchar *b, int floats)
 
static DistanceFunc create (const TinyMat &des)