Public Member Functions | |
CIntFeatures (int32_t size=0) | |
CIntFeatures (const CIntFeatures &orig) | |
CIntFeatures (int32_t *src, int32_t num_feat, int32_t num_vec) | |
CIntFeatures (char *fname) | |
virtual void | get_fm (int32_t **dst, int32_t *d1, int32_t *d2) |
virtual void | copy_feature_matrix (int32_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 IntFeatures.h.
CIntFeatures::CIntFeatures | ( | int32_t | size = 0 |
) |
CIntFeatures::CIntFeatures | ( | const CIntFeatures & | orig | ) |
copy constructor
Definition at line 31 of file IntFeatures.h.
CIntFeatures::CIntFeatures | ( | int32_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 IntFeatures.h.
CIntFeatures::CIntFeatures | ( | char * | fname | ) |
constructor
fname | filename to load features from |
Definition at line 50 of file IntFeatures.h.
virtual void CIntFeatures::copy_feature_matrix | ( | int32_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< int32_t >.
Definition at line 74 of file IntFeatures.h.
virtual void CIntFeatures::get_fm | ( | int32_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< int32_t >.
Definition at line 61 of file IntFeatures.h.
bool CIntFeatures::load | ( | char * | fname | ) | [virtual] |
load features from file
fname | filename to load from |
Reimplemented from CFeatures.
Definition at line 15 of file IntFeatures.cpp.
bool CIntFeatures::save | ( | char * | fname | ) | [virtual] |
save features to file
fname | filename to save to |
Reimplemented from CFeatures.
Definition at line 36 of file IntFeatures.cpp.