Public Types | Static Public Member Functions | Static Public Attributes | List of all members
DBoW2::FORB Class Reference

Functions to manipulate ORB descriptors. More...

#include <FORB.h>

Inheritance diagram for DBoW2::FORB:
Inheritance graph
[legend]

Public Types

typedef const TDescriptorpDescriptor
 Pointer to a single descriptor. More...
 
typedef cv::Mat TDescriptor
 Descriptor type. More...
 

Static Public Member Functions

static int distance (const TDescriptor &a, const TDescriptor &b)
 
static void fromString (TDescriptor &a, const std::string &s)
 
static void meanValue (const std::vector< pDescriptor > &descriptors, TDescriptor &mean)
 
static void toMat32F (const std::vector< TDescriptor > &descriptors, cv::Mat &mat)
 
static void toMat8U (const std::vector< TDescriptor > &descriptors, cv::Mat &mat)
 
static std::string toString (const TDescriptor &a)
 

Static Public Attributes

static const int L =32
 Descriptor length (in bytes) More...
 

Detailed Description

Functions to manipulate ORB descriptors.

Definition at line 22 of file FORB.h.

Member Typedef Documentation

Pointer to a single descriptor.

Definition at line 29 of file FORB.h.

typedef cv::Mat DBoW2::FORB::TDescriptor

Descriptor type.

Definition at line 27 of file FORB.h.

Member Function Documentation

int DBoW2::FORB::distance ( const TDescriptor a,
const TDescriptor b 
)
static

Calculates the distance between two descriptors

Parameters
a
b
Returns
distance

Definition at line 81 of file FORB.cpp.

void DBoW2::FORB::fromString ( FORB::TDescriptor a,
const std::string &  s 
)
static

Returns a descriptor from a string

Parameters
adescriptor
sstring version

Definition at line 120 of file FORB.cpp.

void DBoW2::FORB::meanValue ( const std::vector< pDescriptor > &  descriptors,
TDescriptor mean 
)
static

Calculates the mean value of a set of descriptors

Parameters
descriptors
meanmean descriptor

Definition at line 28 of file FORB.cpp.

void DBoW2::FORB::toMat32F ( const std::vector< TDescriptor > &  descriptors,
cv::Mat &  mat 
)
static

Returns a mat with the descriptors in float format

Parameters
descriptors
mat(out) NxL 32F matrix

Definition at line 139 of file FORB.cpp.

void DBoW2::FORB::toMat8U ( const std::vector< TDescriptor > &  descriptors,
cv::Mat &  mat 
)
static

Definition at line 174 of file FORB.cpp.

std::string DBoW2::FORB::toString ( const TDescriptor a)
static

Returns a string version of the descriptor

Parameters
adescriptor
Returns
string version

Definition at line 105 of file FORB.cpp.

Member Data Documentation

const int DBoW2::FORB::L =32
static

Descriptor length (in bytes)

Definition at line 31 of file FORB.h.


The documentation for this class was generated from the following files:


orb_slam2_with_maps_odom
Author(s): teng zhang
autogenerated on Fri Sep 25 2020 03:24:47