13 #include <opencv2/core/core.hpp> 38 static void meanValue(
const std::vector<pDescriptor> &descriptors,
47 static int distance(
const TDescriptor &a,
const TDescriptor &b);
54 static std::string
toString(
const TDescriptor &a);
61 static void fromString(TDescriptor &a,
const std::string &s);
68 static void toMat32F(
const std::vector<TDescriptor> &descriptors,
71 static void toMat8U(
const std::vector<TDescriptor> &descriptors,
79 static void toArray8U(
const TDescriptor &descriptors,
unsigned char * array);
86 static void fromArray8U(TDescriptor &descriptors,
unsigned char * array);
static void toMat8U(const std::vector< TDescriptor > &descriptors, cv::Mat &mat)
static void fromArray8U(TDescriptor &descriptors, unsigned char *array)
static void fromString(TDescriptor &a, const std::string &s)
static int distance(const TDescriptor &a, const TDescriptor &b)
static void meanValue(const std::vector< pDescriptor > &descriptors, TDescriptor &mean)
static void toArray8U(const TDescriptor &descriptors, unsigned char *array)
static const int L
Descriptor length (in bytes)
cv::Mat TDescriptor
Descriptor type.
static std::string toString(const TDescriptor &a)
Functions to manipulate ORB descriptors.
const TDescriptor * pDescriptor
Pointer to a single descriptor.
Generic class to encapsulate functions to manage descriptors.
static void toMat32F(const std::vector< TDescriptor > &descriptors, cv::Mat &mat)