PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
pic::BRIEFDescriptor Class Reference

The BRIEFDescriptor class. More...

#include <brief_descriptor.hpp>

Inheritance diagram for pic::BRIEFDescriptor:
pic::ORBDescriptor

Public Member Functions

 BRIEFDescriptor (int S=32, int n=256, int seed=1)
 BRIEFDescriptor. More...
 
 ~BRIEFDescriptor ()
 
void release ()
 Release deallocates memory. More...
 
uintget (Image *img, int x0, int y0, uint *desc=NULL)
 get computes a descriptor at position (x0,y0) with size n. More...
 
void getAll (Image *img, std::vector< Eigen::Vector2f > &corners, std::vector< uint * > &descs)
 getAll More...
 
int getDescriptorSize ()
 getDescriptorSize returns the descriptor size. More...
 

Static Public Member Functions

static uint match (uint *fv0, uint *fv1, uint nfv)
 match matches two descriptors. Note: Higher scores means better matching. More...
 

Protected Member Functions

void generateSample (int *sample)
 generateSample More...
 
void generateSamples (unsigned int n)
 generateSamples More...
 
uintgetAux (Image *img, int x0, int y0, int *x, int *y, uint *desc=NULL)
 getAux computes a descriptor at position (x0,y0) with size n. More...
 

Static Protected Member Functions

static unsigned int countZeros (unsigned int x)
 countZeros More...
 

Protected Attributes

int S
 
unsigned int n
 
float sigma_sq_2
 
float sigma_sq
 
std::mt19937 * m
 
int * x
 
int * y
 

Detailed Description

The BRIEFDescriptor class.

Constructor & Destructor Documentation

◆ BRIEFDescriptor()

pic::BRIEFDescriptor::BRIEFDescriptor ( int  S = 32,
int  n = 256,
int  seed = 1 
)
inline

BRIEFDescriptor.

Parameters
S
n

◆ ~BRIEFDescriptor()

pic::BRIEFDescriptor::~BRIEFDescriptor ( )
inline

Member Function Documentation

◆ countZeros()

static unsigned int pic::BRIEFDescriptor::countZeros ( unsigned int  x)
inlinestaticprotected

countZeros

Parameters
x
Returns

◆ generateSample()

void pic::BRIEFDescriptor::generateSample ( int *  sample)
inlineprotected

generateSample

Parameters
sample

◆ generateSamples()

void pic::BRIEFDescriptor::generateSamples ( unsigned int  n)
inlineprotected

generateSamples

Parameters
n

◆ 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
img
x0
y0
desc
Returns

◆ getAll()

void pic::BRIEFDescriptor::getAll ( Image img,
std::vector< Eigen::Vector2f > &  corners,
std::vector< uint * > &  descs 
)
inline

getAll

Parameters
descs
corners
img

◆ 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
img
x0
y0
desc
Returns

◆ getDescriptorSize()

int pic::BRIEFDescriptor::getDescriptorSize ( )
inline

getDescriptorSize returns the descriptor size.

Returns
the descriptor size.

◆ match()

static uint pic::BRIEFDescriptor::match ( uint fv0,
uint fv1,
uint  nfv 
)
inlinestatic

match matches two descriptors. Note: Higher scores means better matching.

Parameters
fv0
fv1
nfv
Returns

◆ release()

void pic::BRIEFDescriptor::release ( )
inline

Release deallocates memory.

Member Data Documentation

◆ m

std::mt19937* pic::BRIEFDescriptor::m
protected

◆ n

unsigned int pic::BRIEFDescriptor::n
protected

◆ S

int pic::BRIEFDescriptor::S
protected

◆ sigma_sq

float pic::BRIEFDescriptor::sigma_sq
protected

◆ sigma_sq_2

float pic::BRIEFDescriptor::sigma_sq_2
protected

◆ x

int* pic::BRIEFDescriptor::x
protected

◆ y

int * pic::BRIEFDescriptor::y
protected

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