#include <ransac_simple.h>
Public Member Functions | |
void | computeModel () |
bool | computeModelCoefficients (int sample, Eigen::VectorXf &model_coefficients) |
float | countScore (const Eigen::VectorXf &model_coefficients) |
float | generateVisibilityScore (const pcl17::PointCloud< PointT > &cloud) |
Eigen::VectorXf | getBestModelCoeficients () |
float | getBestScore () |
int | getMaxIterations () |
pcl17::PointCloud< PointT >::Ptr | getModel () |
bool | isSampleGood (int sample) const |
RandomSampleConsensusSimple (float octree_res) | |
void | setMaxIterations (int max_iterations) |
void | setModel (typename pcl17::PointCloud< PointT >::Ptr &model) |
void | setScene (typename pcl17::PointCloud< PointT >::Ptr &scene) |
void | setSceneSegment (boost::shared_ptr< std::vector< int > > idx) |
void | setWeight (float weight) |
Public Attributes | |
Eigen::VectorXf | best_model_coefficients_ |
float | best_score_ |
float | eps_ |
int | max_iterations_ |
pcl17::PointCloud< PointT >::Ptr | model_ |
pcl17::PointCloud< PointT >::Ptr | scene_ |
pcl17::octree::OctreePointCloudSearch < PointT > | scene_octree_ |
boost::shared_ptr< std::vector < int > > | scene_segment_idx_ |
float | weight_ |
Definition at line 14 of file ransac_simple.h.
pcl17::RandomSampleConsensusSimple< PointT >::RandomSampleConsensusSimple | ( | float | octree_res | ) | [inline] |
Definition at line 17 of file ransac_simple.h.
void pcl17::RandomSampleConsensusSimple< PointT >::computeModel | ( | ) | [inline] |
Definition at line 54 of file ransac_simple.h.
bool pcl17::RandomSampleConsensusSimple< PointT >::computeModelCoefficients | ( | int | sample, |
Eigen::VectorXf & | model_coefficients | ||
) | [inline] |
Definition at line 95 of file ransac_simple.h.
float pcl17::RandomSampleConsensusSimple< PointT >::countScore | ( | const Eigen::VectorXf & | model_coefficients | ) | [inline] |
Definition at line 135 of file ransac_simple.h.
float pcl17::RandomSampleConsensusSimple< PointT >::generateVisibilityScore | ( | const pcl17::PointCloud< PointT > & | cloud | ) | [inline] |
Definition at line 154 of file ransac_simple.h.
Eigen::VectorXf pcl17::RandomSampleConsensusSimple< PointT >::getBestModelCoeficients | ( | ) | [inline] |
Definition at line 223 of file ransac_simple.h.
float pcl17::RandomSampleConsensusSimple< PointT >::getBestScore | ( | ) | [inline] |
Definition at line 228 of file ransac_simple.h.
int pcl17::RandomSampleConsensusSimple< PointT >::getMaxIterations | ( | ) | [inline] |
Definition at line 30 of file ransac_simple.h.
pcl17::PointCloud<PointT>::Ptr pcl17::RandomSampleConsensusSimple< PointT >::getModel | ( | ) | [inline] |
Definition at line 238 of file ransac_simple.h.
bool pcl17::RandomSampleConsensusSimple< PointT >::isSampleGood | ( | int | sample | ) | const [inline] |
Definition at line 218 of file ransac_simple.h.
void pcl17::RandomSampleConsensusSimple< PointT >::setMaxIterations | ( | int | max_iterations | ) | [inline] |
Definition at line 25 of file ransac_simple.h.
void pcl17::RandomSampleConsensusSimple< PointT >::setModel | ( | typename pcl17::PointCloud< PointT >::Ptr & | model | ) | [inline] |
Definition at line 49 of file ransac_simple.h.
void pcl17::RandomSampleConsensusSimple< PointT >::setScene | ( | typename pcl17::PointCloud< PointT >::Ptr & | scene | ) | [inline] |
Definition at line 35 of file ransac_simple.h.
void pcl17::RandomSampleConsensusSimple< PointT >::setSceneSegment | ( | boost::shared_ptr< std::vector< int > > | idx | ) | [inline] |
Definition at line 44 of file ransac_simple.h.
void pcl17::RandomSampleConsensusSimple< PointT >::setWeight | ( | float | weight | ) | [inline] |
Definition at line 233 of file ransac_simple.h.
Eigen::VectorXf pcl17::RandomSampleConsensusSimple< PointT >::best_model_coefficients_ |
Definition at line 247 of file ransac_simple.h.
float pcl17::RandomSampleConsensusSimple< PointT >::best_score_ |
Definition at line 248 of file ransac_simple.h.
float pcl17::RandomSampleConsensusSimple< PointT >::eps_ |
Definition at line 252 of file ransac_simple.h.
int pcl17::RandomSampleConsensusSimple< PointT >::max_iterations_ |
Definition at line 251 of file ransac_simple.h.
pcl17::PointCloud<PointT>::Ptr pcl17::RandomSampleConsensusSimple< PointT >::model_ |
Definition at line 245 of file ransac_simple.h.
pcl17::PointCloud<PointT>::Ptr pcl17::RandomSampleConsensusSimple< PointT >::scene_ |
Definition at line 243 of file ransac_simple.h.
pcl17::octree::OctreePointCloudSearch<PointT> pcl17::RandomSampleConsensusSimple< PointT >::scene_octree_ |
Definition at line 242 of file ransac_simple.h.
boost::shared_ptr<std::vector<int> > pcl17::RandomSampleConsensusSimple< PointT >::scene_segment_idx_ |
Definition at line 244 of file ransac_simple.h.
float pcl17::RandomSampleConsensusSimple< PointT >::weight_ |
Definition at line 249 of file ransac_simple.h.