38 #ifndef PCL_ML_DT_FEATURE_HANDLER_H_ 39 #define PCL_ML_DT_FEATURE_HANDLER_H_ 41 #include <pcl/common/common.h> 67 createRandomFeatures (
const size_t num_of_features, std::vector<FeatureType> & features) = 0;
77 evaluateFeature (
const FeatureType & feature,
79 std::vector<ExampleIndex> & examples,
80 std::vector<float> & results,
81 std::vector<unsigned char> & flags)
const = 0;
91 evaluateFeature (
const FeatureType & feature,
93 const ExampleIndex & example,
95 unsigned char & flag)
const = 0;
102 generateCodeForEvaluation (
const FeatureType & feature,
103 ::std::ostream & stream)
const = 0;
virtual ~FeatureHandler()
Destructor.
Utility class interface which is used for creating and evaluating features.