Public Member Functions | Public Attributes
KeyPoint Class Reference

Describes features of an image region. More...

#include <KeyPoint.h>

List of all members.

Public Member Functions

void addDescriptor (std::vector< double > descriptor)
double calcIntersection (const KeyPoint &other)
double calcOverlap (const KeyPoint &other)
template<class T >
void copyDescriptor (T *descriptor, int length)
 allocate descriptor memory and copy from given source
std::vector< Point2D > getBoundingBox () const
std::vector< Point2D > getCenterArrow () const
std::vector< Point2D > getCircle () const
 KeyPoint (float _x, float _y, float _scale, float _strength, int _sign, float _orientation, std::vector< double > _featureVector)
 The constructor.
 KeyPoint (float _x, float _y, float _scale, float _strength, int _sign)
 KeyPoint ()
 KeyPoint (const KeyPoint &other)
KeyPointoperator= (const KeyPoint &other)
Point2D position ()
double squaredDistance (const KeyPoint &other) const
double squaredDistance (const KeyPoint &other, double max) const
 speed-optimized partial calculation of descriptor distance calculates the squared euclidean distance, but cancels the calculation when a given minumum value is reached
std::string toASCII ()
std::string toString ()
 ~KeyPoint ()
 The destructor.

Public Attributes

std::vector< double > featureVector
float orientation
float scale
int sign
float strength
std::vector< unsigned > vectorLimits
float x
 properties
float y

Detailed Description

Describes features of an image region.

Author:
David Gossow (RX)

Definition at line 23 of file KeyPointExtraction/KeyPoint.h.


Constructor & Destructor Documentation

KeyPoint::KeyPoint ( float  _x,
float  _y,
float  _scale,
float  _strength,
int  _sign,
float  _orientation,
std::vector< double >  _featureVector 
)

The constructor.

Parameters:
x,yposition within the image
scaledescribes the dimension of the feature, the actual pixel size depends on which feature extractor is used
strengthstrength (e.g. contrast) of the feature
orientationmain direction of the feature
signleading sign of the feature (e.g. sign of laplacian provided by SURF)
featureVectorfeature data
KeyPoint::KeyPoint ( float  _x,
float  _y,
float  _scale,
float  _strength,
int  _sign 
)

The destructor.

KeyPoint::KeyPoint ( const KeyPoint other)

Member Function Documentation

void KeyPoint::addDescriptor ( std::vector< double >  descriptor)
double KeyPoint::calcIntersection ( const KeyPoint other)
Returns:
intersection of area with other keypoint
double KeyPoint::calcOverlap ( const KeyPoint other)
Returns:
quotient of intersection and union of the keypoint areas
template<class T >
void KeyPoint::copyDescriptor ( T *  descriptor,
int  length 
)

allocate descriptor memory and copy from given source

Definition at line 103 of file KeyPointExtraction/KeyPoint.h.

std::vector<Point2D> KeyPoint::getBoundingBox ( ) const
Returns:
vertices of bounding box
std::vector<Point2D> KeyPoint::getCenterArrow ( ) const
Returns:
vertices of arrow pointing to up direction
std::vector<Point2D> KeyPoint::getCircle ( ) const
Returns:
vertices of circle representing detection scale
KeyPoint& KeyPoint::operator= ( const KeyPoint other)
Point2D KeyPoint::position ( ) [inline]

Definition at line 53 of file KeyPointExtraction/KeyPoint.h.

double KeyPoint::squaredDistance ( const KeyPoint other) const
Returns:
squared euclidean distance
double KeyPoint::squaredDistance ( const KeyPoint other,
double  max 
) const

speed-optimized partial calculation of descriptor distance calculates the squared euclidean distance, but cancels the calculation when a given minumum value is reached

Returns:
squared euclidean distance or something larger than max
std::string KeyPoint::toASCII ( )
Returns:
ASCII string as used in Mikolaicyk's test environment
std::string KeyPoint::toString ( )
Returns:
string used to store keypoint for evaluation

Member Data Documentation

std::vector<double> KeyPoint::featureVector

Definition at line 97 of file KeyPointExtraction/KeyPoint.h.

Definition at line 94 of file KeyPointExtraction/KeyPoint.h.

Definition at line 92 of file KeyPointExtraction/KeyPoint.h.

Definition at line 95 of file KeyPointExtraction/KeyPoint.h.

Definition at line 93 of file KeyPointExtraction/KeyPoint.h.

std::vector<unsigned> KeyPoint::vectorLimits

Definition at line 98 of file KeyPointExtraction/KeyPoint.h.

float KeyPoint::x

properties

See also:
constructor

Definition at line 89 of file KeyPointExtraction/KeyPoint.h.

float KeyPoint::y

Definition at line 90 of file KeyPointExtraction/KeyPoint.h.


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


or_libs
Author(s): Viktor Seib
autogenerated on Tue Jan 7 2014 11:24:03