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. More... | |
features (const size_t n) | |
Creates a features object with n features with undefined locations. More... | |
features (af_features f) | |
Creates a features object from a C af_features object. More... | |
~features () | |
features & | operator= (const features &other) |
Copy assignment operator. More... | |
features (const features &other) | |
Copy constructor. More... | |
size_t | getNumFeatures () const |
Returns the number of features represented by this object. More... | |
array | getX () const |
Returns an af::array which represents the x locations of a feature. More... | |
array | getY () const |
Returns an af::array which represents the y locations of a feature. More... | |
array | getScore () const |
Returns an array with the score of the features. More... | |
array | getOrientation () const |
Returns an array with the orientations of the features. More... | |
array | getSize () const |
Returns an array that represents the size of the features. More... | |
af_features | get () const |
Returns the underlying C af_features object. More... | |
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.