Point Cloud Library (PCL)
1.9.1
|
38 #ifndef PCL_ML_BRANCH_ESTIMATOR_H_
39 #define PCL_ML_BRANCH_ESTIMATOR_H_
42 #include <pcl/ml/stats_estimator.h>
59 getNumOfBranches ()
const = 0;
70 const unsigned char flag,
71 const float threshold,
72 unsigned char & branch_index)
const = 0;
101 const unsigned char flag,
102 const float threshold,
103 unsigned char & branch_index)
const
106 branch_index = (result > threshold) ? 1 : 0;
136 const unsigned char flag,
137 const float threshold,
138 unsigned char & branch_index)
const
141 branch_index = (result > threshold) ? 1 : 0;
This file defines compatibility wrappers for low level I/O functions.
virtual ~BinaryTreeThresholdBasedBranchEstimator()
Destructor.
BinaryTreeThresholdBasedBranchEstimator()
Constructor.
virtual ~BranchEstimator()
Destructor.
Interface for branch estimators.
size_t getNumOfBranches() const
Returns the number of branches the corresponding tree has.
TernaryTreeMissingDataBranchEstimator()
Constructor.
void computeBranchIndex(const float result, const unsigned char flag, const float threshold, unsigned char &branch_index) const
Computes the branch index for the specified result.
Branch estimator for ternary trees where one branch is used for missing data (indicated by flag !...
size_t getNumOfBranches() const
Returns the number of branches the corresponding tree has.
Branch estimator for binary trees where the branch is computed only from the threshold.
virtual ~TernaryTreeMissingDataBranchEstimator()
Destructor.
void computeBranchIndex(const float result, const unsigned char flag, const float threshold, unsigned char &branch_index) const
Computes the branch index for the specified result.