Go to the documentation of this file.
44 size_t getNumFeatures()
const;
53 array getScore()
const;
56 array getOrientation()
const;
59 array getSize()
const;
AFAPI af_err af_create_features(af_features *feat, dim_t num)
Creates a new af_feature object with num features.
AFAPI af_err af_get_features_orientation(af_array *orientation, const af_features feat)
Returns the orientations of the features.
A multi dimensional data container.
AFAPI af_err af_get_features_ypos(af_array *out, const af_features feat)
Returns the y positions of the features.
AFAPI af_err af_get_features_xpos(af_array *out, const af_features feat)
Returns the x positions of the features.
AFAPI af_err af_get_features_num(dim_t *num, const af_features feat)
Returns the number of features associated with this object.
static af::array array(af::dim4 idims, cl_mem buf, af::dtype type, bool retain=false)
Create an af::array object from an OpenCL cl_mem buffer.
AFAPI af_err af_get_features_score(af_array *score, const af_features feat)
Returns the scores of the features.
AFAPI af_err af_retain_features(af_features *out, const af_features feat)
Increases the reference count of the feature and all of its associated arrays.
Represents a feature returned by a feature detector.
AFAPI af_err af_release_features(af_features feat)
Reduces the reference count of each of the features.
AFAPI af_err af_get_features_size(af_array *size, const af_features feat)
Returns the size of the features.