Public Member Functions | |
CShortRealFeatures (int32_t size=0) | |
CShortRealFeatures (const CShortRealFeatures &orig) | |
CShortRealFeatures (float32_t *src, int32_t num_feat, int32_t num_vec) | |
CShortRealFeatures (char *fname) | |
virtual void | get_fm (float32_t **dst, int32_t *d1, int32_t *d2) |
virtual void | copy_feature_matrix (float32_t *src, int32_t num_feat, int32_t num_vec) |
virtual bool | load (char *fname) |
virtual bool | save (char *fname) |
Definition at line 21 of file ShortRealFeatures.h.
CShortRealFeatures::CShortRealFeatures | ( | int32_t | size = 0 |
) |
CShortRealFeatures::CShortRealFeatures | ( | const CShortRealFeatures & | orig | ) |
copy constructor
Definition at line 31 of file ShortRealFeatures.h.
CShortRealFeatures::CShortRealFeatures | ( | float32_t * | src, | |
int32_t | num_feat, | |||
int32_t | num_vec | |||
) |
constructor that copies feature matrix from pointer num_feat,num_vec pair
src | feature matrix to copy | |
num_feat | number of features | |
num_vec | number of vectors |
Definition at line 41 of file ShortRealFeatures.h.
CShortRealFeatures::CShortRealFeatures | ( | char * | fname | ) |
constructor
fname | filename to load features from |
Definition at line 51 of file ShortRealFeatures.h.
virtual void CShortRealFeatures::copy_feature_matrix | ( | float32_t * | src, | |
int32_t | num_feat, | |||
int32_t | num_vec | |||
) | [virtual] |
copy feature matrix
wrapper to base class' method
src | feature matrix to copy | |
num_feat | number of features | |
num_vec | number of vectors |
Reimplemented from CSimpleFeatures< float32_t >.
Definition at line 75 of file ShortRealFeatures.h.
virtual void CShortRealFeatures::get_fm | ( | float32_t ** | dst, | |
int32_t * | d1, | |||
int32_t * | d2 | |||
) | [virtual] |
get feature matrix
dst | destination where matrix will be stored | |
d1 | dimension 1 of matrix | |
d2 | dimension 2 of matrix |
Reimplemented from CSimpleFeatures< float32_t >.
Definition at line 62 of file ShortRealFeatures.h.
bool CShortRealFeatures::load | ( | char * | fname | ) | [virtual] |
load features from file
fname | filename to load from |
Reimplemented from CFeatures.
Definition at line 14 of file ShortRealFeatures.cpp.
bool CShortRealFeatures::save | ( | char * | fname | ) | [virtual] |
save features to file
fname | filename to save to |
Reimplemented from CFeatures.
Definition at line 35 of file ShortRealFeatures.cpp.