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

The ORBDescriptor class. More...

#include <orb_descriptor.hpp>

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

Public Member Functions

 ORBDescriptor (int S=31, int n=256, unsigned int seed=1)
 ORBDescriptor. More...
 
 ~ORBDescriptor ()
 
uintget (Image *img, int x0, int y0, uint *desc=NULL)
 get computes a descriptor at position (x0,y0) with size n. More...
 
- Public Member Functions inherited from pic::BRIEFDescriptor
 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...
 

Protected Member Functions

void rotate2D (int x, int y, int &x_out, int &y_out, float angle)
 rotate2D More...
 
void rotateSamples ()
 rotateSamples rotates x and y samples More...
 
- Protected Member Functions inherited from pic::BRIEFDescriptor
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...
 

Protected Attributes

std::vector< int *> x_theta
 
std::vector< int *> y_theta
 
int halfS
 
- Protected Attributes inherited from pic::BRIEFDescriptor
int S
 
unsigned int n
 
float sigma_sq_2
 
float sigma_sq
 
std::mt19937 * m
 
int * x
 
int * y
 

Additional Inherited Members

- Static Public Member Functions inherited from pic::BRIEFDescriptor
static uint match (uint *fv0, uint *fv1, uint nfv)
 match matches two descriptors. Note: Higher scores means better matching. More...
 
- Static Protected Member Functions inherited from pic::BRIEFDescriptor
static unsigned int countZeros (unsigned int x)
 countZeros More...
 

Detailed Description

The ORBDescriptor class.

Constructor & Destructor Documentation

◆ ORBDescriptor()

pic::ORBDescriptor::ORBDescriptor ( int  S = 31,
int  n = 256,
unsigned int  seed = 1 
)
inline

ORBDescriptor.

Parameters
S
n

◆ ~ORBDescriptor()

pic::ORBDescriptor::~ORBDescriptor ( )
inline

Member Function Documentation

◆ get()

uint* pic::ORBDescriptor::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

◆ rotate2D()

void pic::ORBDescriptor::rotate2D ( int  x,
int  y,
int &  x_out,
int &  y_out,
float  angle 
)
inlineprotected

rotate2D

Parameters
x
y
x_out
y_out
angle

◆ rotateSamples()

void pic::ORBDescriptor::rotateSamples ( )
inlineprotected

rotateSamples rotates x and y samples

Member Data Documentation

◆ halfS

int pic::ORBDescriptor::halfS
protected

◆ x_theta

std::vector< int* > pic::ORBDescriptor::x_theta
protected

◆ y_theta

std::vector< int* > pic::ORBDescriptor::y_theta
protected

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