|
Point Cloud Library (PCL)
1.8.1
|
Class representing a Fern. More...
#include <pcl/ml/ferns/fern.h>
Public Member Functions | |
| Fern () | |
| Constructor. More... | |
| virtual | ~Fern () |
| Destructor. More... | |
| void | initialize (const size_t num_of_decisions) |
| Initializes the fern. More... | |
| size_t | getNumOfNodes () |
| Returns the number of nodes the Fern has. More... | |
| size_t | getNumOfFeatures () |
| Returns the number of features the Fern has. More... | |
| void | serialize (::std::ostream &stream) const |
| Serializes the fern. More... | |
| void | deserialize (::std::istream &stream) |
| Deserializes the fern. More... | |
| NodeType & | operator[] (const size_t node_index) |
| Access operator for nodes. More... | |
| const NodeType & | operator[] (const size_t node_index) const |
| Access operator for nodes. More... | |
| FeatureType & | accessFeature (const size_t feature_index) |
| Access operator for features. More... | |
| const FeatureType & | accessFeature (const size_t feature_index) const |
| Access operator for features. More... | |
| float & | accessThreshold (const size_t threshold_index) |
| Access operator for thresholds. More... | |
| const float & | accessThreshold (const size_t threshold_index) const |
| Access operator for thresholds. More... | |
Class representing a Fern.
|
inline |
Access operator for features.
| feature_index | The index of the feature to access. |
Definition at line 168 of file fern.h.
Referenced by pcl::FernEvaluator< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::evaluate(), pcl::FernEvaluator< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::evaluateAndAdd(), pcl::FernEvaluator< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::getNodes(), and pcl::FernTrainer< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::train().
|
inline |
|
inline |
Access operator for thresholds.
| threshold_index | The index of the threshold to access. |
Definition at line 186 of file fern.h.
Referenced by pcl::FernEvaluator< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::evaluate(), pcl::FernEvaluator< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::evaluateAndAdd(), pcl::FernEvaluator< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::getNodes(), and pcl::FernTrainer< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::train().
|
inline |
|
inline |
|
inline |
Returns the number of features the Fern has.
Definition at line 88 of file fern.h.
Referenced by pcl::FernEvaluator< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::evaluate(), pcl::FernEvaluator< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::evaluateAndAdd(), and pcl::FernEvaluator< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::getNodes().
|
inline |
|
inline |
Initializes the fern.
| num_of_decisions | The number of decisions taken to access the nodes. |
Definition at line 71 of file fern.h.
Referenced by pcl::FernTrainer< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::train().
|
inline |
|
inline |
|
inline |