Represents a feature returned by a feature detector. More...
#include <features.h>
Public Member Functions | |
| features () | |
| Default constructor. Creates a features object with new features. | |
| features (const size_t n) | |
| Creates a features object with n features with undefined locations. | |
| features (af_features f) | |
| Creates a features object from a C af_features object. | |
| ~features () | |
| features & | operator= (const features &other) |
| Copy assignment operator. | |
| features (const features &other) | |
| Copy constructor. | |
| size_t | getNumFeatures () const |
| Returns the number of features represented by this object. | |
| array | getX () const |
| Returns an af::array which represents the x locations of a feature. | |
| array | getY () const |
| Returns an af::array which represents the y locations of a feature. | |
| array | getScore () const |
| Returns an array with the score of the features. | |
| array | getOrientation () const |
| Returns an array with the orientations of the features. | |
| array | getSize () const |
| Returns an array that represents the size of the features. | |
| af_features | get () const |
| Returns the underlying C af_features object. | |
Represents a feature returned by a feature detector.
Definition at line 24 of file features.h.
| features | ( | ) |
Default constructor. Creates a features object with new features.
| features | ( | const size_t | n | ) |
Creates a features object with n features with undefined locations.
| features | ( | af_features | f | ) |
Creates a features object from a C af_features object.
| ~features | ( | ) |
| af_features get | ( | ) | const |
Returns the underlying C af_features object.
| size_t getNumFeatures | ( | ) | const |
Returns the number of features represented by this object.
| array getOrientation | ( | ) | const |
Returns an array with the orientations of the features.
| array getScore | ( | ) | const |
Returns an array with the score of the features.
| array getSize | ( | ) | const |
Returns an array that represents the size of the features.
| array getX | ( | ) | const |
Returns an af::array which represents the x locations of a feature.
| array getY | ( | ) | const |
Returns an af::array which represents the y locations of a feature.