The class CombinedFeatures is used to combine a number of of feature objects into a single CombinedFeatures object.
It keeps pointers to the added sub-features and is especially useful to combine kernels working on different domains (c.f. CCombinedKernel) and to combine kernels looking at independent features.
在文件CombinedFeatures.h第31行定义。
公有成员 | |
CCombinedFeatures () | |
CCombinedFeatures (const CCombinedFeatures &orig) | |
virtual CFeatures * | duplicate () const |
virtual | ~CCombinedFeatures () |
virtual EFeatureType | get_feature_type () |
virtual EFeatureClass | get_feature_class () |
virtual int32_t | get_num_vectors () |
virtual int32_t | get_size () |
void | list_feature_objs () |
bool | check_feature_obj_compatibility (CCombinedFeatures *comb_feat) |
CFeatures * | get_first_feature_obj () |
CFeatures * | get_first_feature_obj (CListElement< CFeatures * > *¤t) |
CFeatures * | get_next_feature_obj () |
CFeatures * | get_next_feature_obj (CListElement< CFeatures * > *¤t) |
CFeatures * | get_last_feature_obj () |
bool | insert_feature_obj (CFeatures *obj) |
bool | append_feature_obj (CFeatures *obj) |
bool | delete_feature_obj () |
int32_t | get_num_feature_obj () |
virtual const char * | get_name () const |
保护属性 | |
CList< CFeatures * > * | feature_list |
int32_t | num_vec |
default constructor
在文件CombinedFeatures.cpp第17行定义。
CCombinedFeatures | ( | const CCombinedFeatures & | orig ) |
copy constructor
在文件CombinedFeatures.cpp第24行定义。
~CCombinedFeatures | ( | ) | [virtual] |
destructor
在文件CombinedFeatures.cpp第37行定义。
bool append_feature_obj | ( | CFeatures * | obj ) |
append feature object
obj | feature object to append |
在文件CombinedFeatures.h第171行定义。
bool check_feature_obj_compatibility | ( | CCombinedFeatures * | comb_feat ) |
check feature object compatibility
comb_feat | feature to check for compatibility |
在文件CombinedFeatures.cpp第60行定义。
bool delete_feature_obj | ( | ) |
CFeatures * duplicate | ( | ) | const [virtual] |
virtual EFeatureClass get_feature_class | ( | ) | [virtual] |
virtual EFeatureType get_feature_type | ( | ) | [virtual] |
CFeatures* get_first_feature_obj | ( | ) |
CFeatures* get_first_feature_obj | ( | CListElement< CFeatures * > *& | current ) |
get first feature object
current | list of features |
在文件CombinedFeatures.h第116行定义。
CFeatures* get_last_feature_obj | ( | ) |
virtual const char* get_name | ( | ) | const [virtual] |
CFeatures* get_next_feature_obj | ( | CListElement< CFeatures * > *& | current ) |
get next feature object
current | list of features |
在文件CombinedFeatures.h第135行定义。
CFeatures* get_next_feature_obj | ( | ) |
int32_t get_num_feature_obj | ( | ) |
virtual int32_t get_num_vectors | ( | ) | [virtual] |
get number of feature vectors
实现了CFeatures。
在文件CombinedFeatures.h第70行定义。
virtual int32_t get_size | ( | ) | [virtual] |
get memory footprint of one feature
实现了CFeatures。
在文件CombinedFeatures.h第79行定义。
bool insert_feature_obj | ( | CFeatures * | obj ) |
insert feature object
obj | feature object to insert |
在文件CombinedFeatures.h第154行定义。
void list_feature_objs | ( | ) |
list feature objects
在文件CombinedFeatures.cpp第42行定义。
CList<CFeatures*>* feature_list [protected] |
feature list
在文件CombinedFeatures.h第213行定义。
int32_t num_vec [protected] |
number of vectors must match between sub features
在文件CombinedFeatures.h第218行定义。