Point Cloud Library (PCL)
1.11.1-dev
|
41 #include <pcl/ml/feature_handler.h>
42 #include <pcl/ml/ferns/fern.h>
43 #include <pcl/ml/stats_estimator.h>
50 template <
class FeatureType,
80 std::vector<ExampleIndex>& examples,
81 std::vector<LabelType>& label_data);
100 std::vector<ExampleIndex>& examples,
101 std::vector<LabelType>& label_data);
119 std::vector<ExampleIndex>& examples,
120 std::vector<NodeType*>& nodes);
125 #include <pcl/ml/impl/ferns/fern_evaluator.hpp>
Class representing a Fern.
Utility class for evaluating a fern.
void getNodes(pcl::Fern< FeatureType, NodeType > &fern, pcl::FeatureHandler< FeatureType, DataSet, ExampleIndex > &feature_handler, pcl::StatsEstimator< LabelType, NodeType, DataSet, ExampleIndex > &stats_estimator, DataSet &data_set, std::vector< ExampleIndex > &examples, std::vector< NodeType * > &nodes)
Evaluates the specified examples using the supplied tree.
virtual ~FernEvaluator()
Destructor.
Utility class interface which is used for creating and evaluating features.
void evaluateAndAdd(pcl::Fern< FeatureType, NodeType > &fern, pcl::FeatureHandler< FeatureType, DataSet, ExampleIndex > &feature_handler, pcl::StatsEstimator< LabelType, NodeType, DataSet, ExampleIndex > &stats_estimator, DataSet &data_set, std::vector< ExampleIndex > &examples, std::vector< LabelType > &label_data)
Evaluates the specified examples using the supplied tree and adds the results to the supplied results...
void evaluate(pcl::Fern< FeatureType, NodeType > &fern, pcl::FeatureHandler< FeatureType, DataSet, ExampleIndex > &feature_handler, pcl::StatsEstimator< LabelType, NodeType, DataSet, ExampleIndex > &stats_estimator, DataSet &data_set, std::vector< ExampleIndex > &examples, std::vector< LabelType > &label_data)
Evaluates the specified examples using the supplied tree.
FernEvaluator()
Constructor.