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 fromArray8U (TDescriptor &descriptors, unsigned char *array)
 
static void fromString (TDescriptor &a, const std::string &s)
 
static void meanValue (const std::vector< pDescriptor > &descriptors, TDescriptor &mean)
 
static void toArray8U (const TDescriptor &descriptors, unsigned char *array)
 
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::fromArray8U ( TDescriptor descriptors,
unsigned char *  array 
)
static

Fills an descriptor with the values from an array

Parameters
descriptors(out) descriptor
array(in) unsigned char * containing the values of the descriptor

Definition at line 199 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::toArray8U ( const TDescriptor descriptors,
unsigned char *  array 
)
static

Fills an array with the values from a descriptor

Parameters
descriptorsdescriptor
array(out) unsigned char * to store the values of the descriptor

Definition at line 191 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_ros
Author(s):
autogenerated on Wed Apr 21 2021 02:53:05