#include <sift_descriptor.hpp>
|
| SIFTDescriptor (float thr_weak=0.01f, int patchSize=16, int subPatchSize=4, int nBin=8) |
|
void | update (float thr_weak=0.05f, int patchSize=16, int subPatchSize=4, int nBin=8) |
| update More...
|
|
int | getDescriptorSize () |
| getDescriptorSize returns the descriptor size. More...
|
|
float | computePatchOrientation (Image *imgGrad, int x0, int y0) |
| computePatchOrientation More...
|
|
float * | get (Image *imgGrad, int x0, int y0, float *desc=NULL) |
| get computes a descriptor at position (x0,y0) with size n for a given image gradient imgGrad. More...
|
|
|
static float | match (float *fv0, float *fv1, int nfv) |
|
◆ SIFTDescriptor()
pic::SIFTDescriptor::SIFTDescriptor |
( |
float |
thr_weak = 0.01f , |
|
|
int |
patchSize = 16 , |
|
|
int |
subPatchSize = 4 , |
|
|
int |
nBin = 8 |
|
) |
| |
|
inline |
◆ computePatchOrientation()
float pic::SIFTDescriptor::computePatchOrientation |
( |
Image * |
imgGrad, |
|
|
int |
x0, |
|
|
int |
y0 |
|
) |
| |
|
inline |
computePatchOrientation
- Parameters
-
- Returns
◆ get()
float* pic::SIFTDescriptor::get |
( |
Image * |
imgGrad, |
|
|
int |
x0, |
|
|
int |
y0, |
|
|
float * |
desc = NULL |
|
) |
| |
|
inline |
get computes a descriptor at position (x0,y0) with size n for a given image gradient imgGrad.
- Parameters
-
img | is the gradient of the input image |
x0 | is the x-coordinate where to compute the descriptor |
y0 | is the y-coordinate where to compute the descriptor |
desc | is the output descriptor, if it is NULL, memory will be allocated |
- Returns
- it returns a pointer to the descriptor
◆ getDescriptorSize()
int pic::SIFTDescriptor::getDescriptorSize |
( |
| ) |
|
|
inline |
getDescriptorSize returns the descriptor size.
- Returns
- the descriptor size.
◆ match()
static float pic::SIFTDescriptor::match |
( |
float * |
fv0, |
|
|
float * |
fv1, |
|
|
int |
nfv |
|
) |
| |
|
inlinestatic |
◆ update()
void pic::SIFTDescriptor::update |
( |
float |
thr_weak = 0.05f , |
|
|
int |
patchSize = 16 , |
|
|
int |
subPatchSize = 4 , |
|
|
int |
nBin = 8 |
|
) |
| |
|
inline |
update
- Parameters
-
thr_weak | |
patchSize | |
subPatchSize | |
nBin | |
◆ half_patchSize
int pic::SIFTDescriptor::half_patchSize |
|
protected |
◆ nBin
int pic::SIFTDescriptor::nBin |
|
protected |
◆ nBinf
float pic::SIFTDescriptor::nBinf |
|
protected |
◆ patchSize
int pic::SIFTDescriptor::patchSize |
|
protected |
◆ reference_angles
float* pic::SIFTDescriptor::reference_angles |
|
protected |
◆ reference_angles_orientation
float pic::SIFTDescriptor::reference_angles_orientation[36] |
|
protected |
◆ sector_angle
float pic::SIFTDescriptor::sector_angle |
|
protected |
◆ sector_angle_orientation
float pic::SIFTDescriptor::sector_angle_orientation |
|
protected |
◆ sigma
float pic::SIFTDescriptor::sigma |
|
protected |
◆ sigma_sq_2
float pic::SIFTDescriptor::sigma_sq_2 |
|
protected |
◆ subPatchSize
int pic::SIFTDescriptor::subPatchSize |
|
protected |
◆ subPatchSize_sq
int pic::SIFTDescriptor::subPatchSize_sq |
|
protected |
◆ thr_weak
float pic::SIFTDescriptor::thr_weak |
|
protected |
◆ tot
int pic::SIFTDescriptor::tot |
|
protected |
The documentation for this class was generated from the following file: