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,
static void toMat8U(const std::vector< TDescriptor > &descriptors, cv::Mat &mat)
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 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)