lfeat::CircularKeyPointDescriptor Class Reference

#include <CircularKeyPointDescriptor.h>

Inheritance diagram for lfeat::CircularKeyPointDescriptor:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CircularKeyPointDescriptor (Image &iImage, std::vector< int > rings=std::vector< int >(), std::vector< double > ring_radius=std::vector< double >(), std::vector< double > ring_gradient_width=std::vector< double >(), int ori_bins=18, double ori_sample_scale=4, int ori_gridsize=11)
 ~CircularKeyPointDescriptor ()
void makeDescriptor (KeyPoint &ioKeyPoint) const
int getDescriptorLength () const
int assignOrientation (KeyPoint &ioKeyPoint, double angles[4]) const

Protected Member Functions

void createDescriptor (KeyPoint &ioKeyPoint) const

Private Attributes

Image_image
int _vecLen
int _subRegions
int _descrLen
SampleSpec_samples
const int _ori_nbins
const double _ori_sample_scale
const int _ori_gridsize
double * _ori_hist

Constructor & Destructor Documentation

CircularKeyPointDescriptor::CircularKeyPointDescriptor Image iImage,
std::vector< int >  rings = std::vector< int >(),
std::vector< double >  ring_radius = std::vector< double >(),
std::vector< double >  ring_gradient_width = std::vector< double >(),
int  ori_bins = 18,
double  ori_sample_scale = 4,
int  ori_gridsize = 11
 

Definition at line 47 of file CircularKeyPointDescriptor.cpp.

References _descrLen, _ori_hist, _ori_nbins, _samples, _subRegions, _vecLen, M_PI, lfeat::SampleSpec::size, lfeat::SampleSpec::x, and lfeat::SampleSpec::y.

CircularKeyPointDescriptor::~CircularKeyPointDescriptor  ) 
 

Definition at line 133 of file CircularKeyPointDescriptor.cpp.


Member Function Documentation

int CircularKeyPointDescriptor::assignOrientation KeyPoint ioKeyPoint,
double  angles[4]
const [virtual]
 

Implements lfeat::KeyPointDescriptor.

Definition at line 157 of file CircularKeyPointDescriptor.cpp.

References _image, lfeat::KeyPoint::_ori, _ori_hist, _ori_nbins, _ori_sample_scale, lfeat::KeyPoint::_scale, lfeat::KeyPoint::_x, lfeat::KeyPoint::_y, Exp1_2, and PI.

void CircularKeyPointDescriptor::createDescriptor KeyPoint ioKeyPoint  )  const [protected]
 

Definition at line 292 of file CircularKeyPointDescriptor.cpp.

References _image, lfeat::KeyPoint::_ori, _samples, lfeat::KeyPoint::_scale, lfeat::KeyPoint::_vec, lfeat::KeyPoint::_x, lfeat::KeyPoint::_y, lfeat::WaveFilter::checkBounds(), lfeat::WaveFilter::getSum(), lfeat::WaveFilter::getWx(), lfeat::WaveFilter::getWy(), lfeat::SampleSpec::x, and lfeat::SampleSpec::y.

Referenced by makeDescriptor().

int lfeat::CircularKeyPointDescriptor::getDescriptorLength  )  const [inline, virtual]
 

Implements lfeat::KeyPointDescriptor.

Definition at line 47 of file CircularKeyPointDescriptor.h.

Referenced by makeDescriptor().

void CircularKeyPointDescriptor::makeDescriptor KeyPoint ioKeyPoint  )  const [virtual]
 

Implements lfeat::KeyPointDescriptor.

Definition at line 139 of file CircularKeyPointDescriptor.cpp.

References lfeat::KeyPoint::_vec, lfeat::KeyPoint::allocVector(), createDescriptor(), and getDescriptorLength().


Member Data Documentation

int lfeat::CircularKeyPointDescriptor::_descrLen [private]
 

Definition at line 61 of file CircularKeyPointDescriptor.h.

Referenced by CircularKeyPointDescriptor().

Image& lfeat::CircularKeyPointDescriptor::_image [private]
 

Definition at line 58 of file CircularKeyPointDescriptor.h.

Referenced by assignOrientation(), and createDescriptor().

const int lfeat::CircularKeyPointDescriptor::_ori_gridsize [private]
 

Definition at line 65 of file CircularKeyPointDescriptor.h.

double* lfeat::CircularKeyPointDescriptor::_ori_hist [private]
 

Definition at line 66 of file CircularKeyPointDescriptor.h.

Referenced by assignOrientation(), and CircularKeyPointDescriptor().

const int lfeat::CircularKeyPointDescriptor::_ori_nbins [private]
 

Definition at line 63 of file CircularKeyPointDescriptor.h.

Referenced by assignOrientation(), and CircularKeyPointDescriptor().

const double lfeat::CircularKeyPointDescriptor::_ori_sample_scale [private]
 

Definition at line 64 of file CircularKeyPointDescriptor.h.

Referenced by assignOrientation().

SampleSpec* lfeat::CircularKeyPointDescriptor::_samples [private]
 

Definition at line 62 of file CircularKeyPointDescriptor.h.

Referenced by CircularKeyPointDescriptor(), and createDescriptor().

int lfeat::CircularKeyPointDescriptor::_subRegions [private]
 

Definition at line 60 of file CircularKeyPointDescriptor.h.

Referenced by CircularKeyPointDescriptor().

int lfeat::CircularKeyPointDescriptor::_vecLen [private]
 

Definition at line 59 of file CircularKeyPointDescriptor.h.

Referenced by CircularKeyPointDescriptor().


The documentation for this class was generated from the following files:
Generated on Wed Jul 16 01:25:51 2014 for Hugintrunk by  doxygen 1.3.9.1