Hugintrunk
0.1
|
#include <CircularKeyPointDescriptor.h>
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 |
Definition at line 36 of file CircularKeyPointDescriptor.h.
lfeat::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 48 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.
lfeat::CircularKeyPointDescriptor::~CircularKeyPointDescriptor | ( | ) |
Definition at line 134 of file CircularKeyPointDescriptor.cpp.
|
virtual |
Implements lfeat::KeyPointDescriptor.
Definition at line 158 of file CircularKeyPointDescriptor.cpp.
References _image, lfeat::KeyPoint::_ori, _ori_gridsize, _ori_hist, _ori_nbins, _ori_sample_scale, lfeat::KeyPoint::_scale, lfeat::KeyPoint::_x, lfeat::KeyPoint::_y, lfeat::WaveFilter::checkBounds(), lfeat::Exp1_2, lfeat::WaveFilter::getWx(), lfeat::WaveFilter::getWy(), PI, and hugin_utils::roundi().
Referenced by PanoDetector::MakeKeyPointDescriptorsInImage().
|
protected |
Definition at line 293 of file CircularKeyPointDescriptor.cpp.
References _image, lfeat::KeyPoint::_ori, _samples, lfeat::KeyPoint::_scale, _subRegions, lfeat::KeyPoint::_vec, lfeat::KeyPoint::_x, lfeat::KeyPoint::_y, lfeat::WaveFilter::checkBounds(), lfeat::WaveFilter::getSum(), lfeat::WaveFilter::getWx(), lfeat::WaveFilter::getWy(), hugin_utils::roundi(), lfeat::SampleSpec::x, and lfeat::SampleSpec::y.
Referenced by makeDescriptor().
|
inlinevirtual |
Implements lfeat::KeyPointDescriptor.
Definition at line 47 of file CircularKeyPointDescriptor.h.
Referenced by makeDescriptor(), and PanoDetector::MakeKeyPointDescriptorsInImage().
|
virtual |
Implements lfeat::KeyPointDescriptor.
Definition at line 140 of file CircularKeyPointDescriptor.cpp.
References lfeat::KeyPoint::_vec, lfeat::KeyPoint::allocVector(), createDescriptor(), getDescriptorLength(), and lfeat::Math::Normalize().
Referenced by PanoDetector::MakeKeyPointDescriptorsInImage().
|
private |
Definition at line 61 of file CircularKeyPointDescriptor.h.
Referenced by CircularKeyPointDescriptor().
|
private |
Definition at line 58 of file CircularKeyPointDescriptor.h.
Referenced by assignOrientation(), and createDescriptor().
|
private |
Definition at line 65 of file CircularKeyPointDescriptor.h.
Referenced by assignOrientation().
|
private |
Definition at line 66 of file CircularKeyPointDescriptor.h.
Referenced by assignOrientation(), CircularKeyPointDescriptor(), and ~CircularKeyPointDescriptor().
|
private |
Definition at line 63 of file CircularKeyPointDescriptor.h.
Referenced by assignOrientation(), and CircularKeyPointDescriptor().
|
private |
Definition at line 64 of file CircularKeyPointDescriptor.h.
Referenced by assignOrientation().
|
private |
Definition at line 62 of file CircularKeyPointDescriptor.h.
Referenced by CircularKeyPointDescriptor(), createDescriptor(), and ~CircularKeyPointDescriptor().
|
private |
Definition at line 60 of file CircularKeyPointDescriptor.h.
Referenced by CircularKeyPointDescriptor(), and createDescriptor().
|
private |
Definition at line 59 of file CircularKeyPointDescriptor.h.
Referenced by CircularKeyPointDescriptor().