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) |
KeyPoint & | operator= (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,y | position within the image |
scale | describes the dimension of the feature, the actual pixel size depends on which feature extractor is used |
strength | strength (e.g. contrast) of the feature |
orientation | main direction of the feature |
sign | leading sign of the feature (e.g. sign of laplacian provided by SURF) |
featureVector | feature data |
Member Function Documentation
- Returns:
- intersection of area with other keypoint
- Returns:
- quotient of intersection and union of the keypoint areas
- Returns:
- vertices of bounding box
- Returns:
- vertices of arrow pointing to up direction
- Returns:
- vertices of circle representing detection scale
- Returns:
- squared euclidean distance
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
- Returns:
- ASCII string as used in Mikolaicyk's test environment
- Returns:
- string used to store keypoint for evaluation
Member Data Documentation
The documentation for this class was generated from the following file: