FORB.h
Go to the documentation of this file.
1 
10 #ifndef __D_T_F_ORB__
11 #define __D_T_F_ORB__
12 
13 #include <opencv2/core/core.hpp>
14 #include <vector>
15 #include <string>
16 
17 #include "FClass.h"
18 
19 namespace DBoW2 {
20 
22 class FORB: protected FClass
23 {
24 public:
25 
27  typedef cv::Mat TDescriptor; // CV_8U
29  typedef const TDescriptor *pDescriptor;
31  static const int L;
32 
38  static void meanValue(const std::vector<pDescriptor> &descriptors,
39  TDescriptor &mean);
40 
47  static int distance(const TDescriptor &a, const TDescriptor &b);
48 
54  static std::string toString(const TDescriptor &a);
55 
61  static void fromString(TDescriptor &a, const std::string &s);
62 
68  static void toMat32F(const std::vector<TDescriptor> &descriptors,
69  cv::Mat &mat);
70 
71  static void toMat8U(const std::vector<TDescriptor> &descriptors,
72  cv::Mat &mat);
73 
79  static void toArray8U(const TDescriptor &descriptors, unsigned char * array);
80 
86  static void fromArray8U(TDescriptor &descriptors, unsigned char * array);
87 
88 };
89 
90 } // namespace DBoW2
91 
92 #endif
static void toMat8U(const std::vector< TDescriptor > &descriptors, cv::Mat &mat)
Definition: FORB.cpp:174
static void fromArray8U(TDescriptor &descriptors, unsigned char *array)
Definition: FORB.cpp:199
static void fromString(TDescriptor &a, const std::string &s)
Definition: FORB.cpp:120
static int distance(const TDescriptor &a, const TDescriptor &b)
Definition: FORB.cpp:81
static void meanValue(const std::vector< pDescriptor > &descriptors, TDescriptor &mean)
Definition: FORB.cpp:28
static void toArray8U(const TDescriptor &descriptors, unsigned char *array)
Definition: FORB.cpp:191
static const int L
Descriptor length (in bytes)
Definition: FORB.h:31
cv::Mat TDescriptor
Descriptor type.
Definition: FORB.h:27
static std::string toString(const TDescriptor &a)
Definition: FORB.cpp:105
Functions to manipulate ORB descriptors.
Definition: FORB.h:22
const TDescriptor * pDescriptor
Pointer to a single descriptor.
Definition: FORB.h:29
Generic class to encapsulate functions to manage descriptors.
Definition: FClass.h:25
static void toMat32F(const std::vector< TDescriptor > &descriptors, cv::Mat &mat)
Definition: FORB.cpp:139


orb_slam2_ros
Author(s):
autogenerated on Wed Apr 21 2021 02:53:05