Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
lfeat::KeyPointDetector Class Reference

#include <KeyPointDetector.h>

Public Member Functions

 KeyPointDetector ()
 
void setMaxScales (unsigned int iMaxScales)
 
void setMaxOctaves (unsigned int iMaxOctaves)
 
void setScoreThreshold (double iThreshold)
 
void detectKeypoints (Image &iImage, KeyPointInsertor &iInsertor)
 

Private Member Functions

bool fineTuneExtrema (double ***iSH, unsigned int iX, unsigned int iY, unsigned int iS, double &oX, double &oY, double &oS, double &oScore, unsigned int iOctaveWidth, unsigned int iOctaveHeight, unsigned int iBorder)
 
bool calcTrace (Image &iImage, double iX, double iY, double iScale, int &oTrace)
 
unsigned int getFilterSize (unsigned int iOctave, unsigned int iScale)
 
unsigned int getBorderSize (unsigned int iOctave, unsigned int iScale)
 

Private Attributes

unsigned int _maxScales
 
unsigned int _maxOctaves
 
double _scoreThreshold
 
unsigned int _initialBoxFilterSize
 
unsigned int _scaleOverlap
 

Static Private Attributes

static const double kBaseSigma = 1.2
 

Detailed Description

Definition at line 36 of file KeyPointDetector.h.

Constructor & Destructor Documentation

◆ KeyPointDetector()

lfeat::KeyPointDetector::KeyPointDetector ( )

Member Function Documentation

◆ calcTrace()

bool lfeat::KeyPointDetector::calcTrace ( Image iImage,
double  iX,
double  iY,
double  iScale,
int oTrace 
)
private

Definition at line 370 of file KeyPointDetector.cpp.

References hugin_utils::roundi(), and threshold().

Referenced by detectKeypoints().

◆ detectKeypoints()

void lfeat::KeyPointDetector::detectKeypoints ( Image iImage,
KeyPointInsertor iInsertor 
)

◆ fineTuneExtrema()

bool lfeat::KeyPointDetector::fineTuneExtrema ( double ***  iSH,
unsigned int  iX,
unsigned int  iY,
unsigned int  iS,
double oX,
double oY,
double oS,
double oScore,
unsigned int  iOctaveWidth,
unsigned int  iOctaveHeight,
unsigned int  iBorder 
)
private

Definition at line 249 of file KeyPointDetector.cpp.

References lfeat::Math::SolveLinearSystem33(), and threshold().

Referenced by detectKeypoints().

◆ getBorderSize()

unsigned int lfeat::KeyPointDetector::getBorderSize ( unsigned int  iOctave,
unsigned int  iScale 
)
private

Definition at line 359 of file KeyPointDetector.cpp.

References getFilterSize(), and threshold().

Referenced by detectKeypoints().

◆ getFilterSize()

unsigned int lfeat::KeyPointDetector::getFilterSize ( unsigned int  iOctave,
unsigned int  iScale 
)
private

Definition at line 353 of file KeyPointDetector.cpp.

References _initialBoxFilterSize, _maxScales, _scaleOverlap, and threshold().

Referenced by detectKeypoints(), and getBorderSize().

◆ setMaxOctaves()

void lfeat::KeyPointDetector::setMaxOctaves ( unsigned int  iMaxOctaves)
inline

Definition at line 47 of file KeyPointDetector.h.

References threshold().

◆ setMaxScales()

void lfeat::KeyPointDetector::setMaxScales ( unsigned int  iMaxScales)
inline

Definition at line 43 of file KeyPointDetector.h.

References threshold().

◆ setScoreThreshold()

void lfeat::KeyPointDetector::setScoreThreshold ( double  iThreshold)
inline

Definition at line 51 of file KeyPointDetector.h.

References threshold().

Member Data Documentation

◆ _initialBoxFilterSize

unsigned int lfeat::KeyPointDetector::_initialBoxFilterSize
private

Definition at line 73 of file KeyPointDetector.h.

Referenced by detectKeypoints(), getFilterSize(), and KeyPointDetector().

◆ _maxOctaves

unsigned int lfeat::KeyPointDetector::_maxOctaves
private

Definition at line 67 of file KeyPointDetector.h.

Referenced by detectKeypoints(), and KeyPointDetector().

◆ _maxScales

unsigned int lfeat::KeyPointDetector::_maxScales
private

Definition at line 64 of file KeyPointDetector.h.

Referenced by detectKeypoints(), getFilterSize(), and KeyPointDetector().

◆ _scaleOverlap

unsigned int lfeat::KeyPointDetector::_scaleOverlap
private

Definition at line 77 of file KeyPointDetector.h.

Referenced by getFilterSize(), and KeyPointDetector().

◆ _scoreThreshold

double lfeat::KeyPointDetector::_scoreThreshold
private

Definition at line 70 of file KeyPointDetector.h.

Referenced by detectKeypoints(), and KeyPointDetector().

◆ kBaseSigma

const double lfeat::KeyPointDetector::kBaseSigma = 1.2
staticprivate

Definition at line 80 of file KeyPointDetector.h.

Referenced by detectKeypoints().


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