Template class SimplePreProc, base class for preprocessors (cf. CPreProc) that apply to CSimpleFeatures (i.e. rectangular dense matrices).
Two new functions apply_to_feature_vector() and apply_to_feature_matrix() are defined in this interface that need to be implemented in each particular preprocessor operating on CSimpleFeatures. For examples see e.g. CLogPlusOne or CPCACut.
在文件SimplePreProc.h第31行定义。
公有成员 | |
CSimplePreProc (const char *name, const char *id) | |
virtual ST * | apply_to_feature_matrix (CFeatures *f)=0 |
virtual ST * | apply_to_feature_vector (ST *f, int32_t &len)=0 |
virtual EFeatureClass | get_feature_class () |
return that we are simple features (just fixed size matrices) | |
virtual EFeatureType | get_feature_type () |
return feature type | |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
CSimplePreProc | ( | const char * | name, | |
const char * | id | |||
) |
constructor
name | simple preprocessor's name | |
id | simple preprocessor's id |
在文件SimplePreProc.h第39行定义。
virtual ST* apply_to_feature_matrix | ( | CFeatures * | f | ) | [pure virtual] |
apply preproc on feature matrix result in feature matrix return pointer to feature_matrix, i.e. f->get_feature_matrix();
在CLogPlusOne、CNormDerivativeLem3、CNormOne、CPCACut及CPruneVarSubMean内被实现。
virtual ST* apply_to_feature_vector | ( | ST * | f, | |
int32_t & | len | |||
) | [pure virtual] |
apply preproc on single feature vector result in feature matrix
virtual EFeatureClass get_feature_class | ( | ) | [virtual] |
return that we are simple features (just fixed size matrices)
实现了CPreProc。
在文件SimplePreProc.h第52行定义。
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
实现了CPreProc。
在文件SimplePreProc.h第82行定义。
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
实现了CPreProc。
在文件SimplePreProc.h第77行定义。
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
实现了CPreProc。
在文件SimplePreProc.h第72行定义。
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
实现了CPreProc。
在文件SimplePreProc.h第67行定义。
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
实现了CPreProc。
在文件SimplePreProc.h第62行定义。
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type with which objects derived from CPreProc can deal
实现了CPreProc。
在文件SimplePreProc.h第57行定义。
virtual EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type
实现了CPreProc。