The BRIEFDescriptor class.
More...
#include <brief_descriptor.hpp>
◆ BRIEFDescriptor()
pic::BRIEFDescriptor::BRIEFDescriptor |
( |
int |
S = 32 , |
|
|
int |
n = 256 , |
|
|
int |
seed = 1 |
|
) |
| |
|
inline |
◆ ~BRIEFDescriptor()
pic::BRIEFDescriptor::~BRIEFDescriptor |
( |
| ) |
|
|
inline |
◆ countZeros()
static unsigned int pic::BRIEFDescriptor::countZeros |
( |
unsigned int |
x | ) |
|
|
inlinestaticprotected |
countZeros
- Parameters
-
- Returns
◆ generateSample()
void pic::BRIEFDescriptor::generateSample |
( |
int * |
sample | ) |
|
|
inlineprotected |
generateSample
- Parameters
-
◆ generateSamples()
void pic::BRIEFDescriptor::generateSamples |
( |
unsigned int |
n | ) |
|
|
inlineprotected |
generateSamples
- Parameters
-
◆ get()
uint* pic::BRIEFDescriptor::get |
( |
Image * |
img, |
|
|
int |
x0, |
|
|
int |
y0, |
|
|
uint * |
desc = NULL |
|
) |
| |
|
inline |
get computes a descriptor at position (x0,y0) with size n.
- Parameters
-
- Returns
◆ getAll()
void pic::BRIEFDescriptor::getAll |
( |
Image * |
img, |
|
|
std::vector< Eigen::Vector2f > & |
corners, |
|
|
std::vector< uint * > & |
descs |
|
) |
| |
|
inline |
◆ getAux()
uint* pic::BRIEFDescriptor::getAux |
( |
Image * |
img, |
|
|
int |
x0, |
|
|
int |
y0, |
|
|
int * |
x, |
|
|
int * |
y, |
|
|
uint * |
desc = NULL |
|
) |
| |
|
inlineprotected |
getAux computes a descriptor at position (x0,y0) with size n.
- Parameters
-
- Returns
◆ getDescriptorSize()
int pic::BRIEFDescriptor::getDescriptorSize |
( |
| ) |
|
|
inline |
getDescriptorSize returns the descriptor size.
- Returns
- the descriptor size.
◆ match()
match matches two descriptors. Note: Higher scores means better matching.
- Parameters
-
- Returns
◆ release()
void pic::BRIEFDescriptor::release |
( |
| ) |
|
|
inline |
Release deallocates memory.
std::mt19937* pic::BRIEFDescriptor::m |
|
protected |
unsigned int pic::BRIEFDescriptor::n |
|
protected |
int pic::BRIEFDescriptor::S |
|
protected |
◆ sigma_sq
float pic::BRIEFDescriptor::sigma_sq |
|
protected |
◆ sigma_sq_2
float pic::BRIEFDescriptor::sigma_sq_2 |
|
protected |
int* pic::BRIEFDescriptor::x |
|
protected |
int * pic::BRIEFDescriptor::y |
|
protected |
The documentation for this class was generated from the following file: