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 
74 };
75 
76 } // namespace DBoW2
77 
78 #endif
79 
static void toMat8U(const std::vector< TDescriptor > &descriptors, cv::Mat &mat)
Definition: FORB.cpp:174
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 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_with_maps_odom
Author(s): teng zhang
autogenerated on Fri Sep 25 2020 03:24:47