#include <quad_regression.h>
Public Member Functions | |
virtual bool | compute () |
void | compute_accuracy (float &mean, float &var, float &mean_weighted, float &var_weighted, size_t &used, size_t &mem, size_t &points, float &avg_dist, const boost::shared_ptr< const pcl::PointCloud< PointLabel > > &labeled_pc, double &true_positive, double &false_positive) |
virtual bool | extractImages () |
virtual boost::shared_ptr < const pcl::PointCloud < PointLabel > > | getOutputCloud () |
gets preprocessed output cloud | |
virtual boost::shared_ptr < const pcl::PointCloud < PointLabel > > | getReconstructedOutputCloud () |
gets reconstructed output cloud | |
operator cob_3d_mapping_msgs::ShapeArray () const | |
convert to ROS message | |
operator visualization_msgs::Marker () const | |
convert edges to ROS message | |
std::istream & | serialize (std::istream &is) |
for easy testing purpose: serialize surfaces | |
std::ostream & | serialize (std::ostream &is) const |
for easy testing purpose: serialize surfaces | |
virtual void | setInputCloud (const boost::shared_ptr< const pcl::PointCloud< Point > > &cloud) |
sets preprocessed input cloud | |
virtual | ~Segmentation_QuadRegression () |
destructor | |
Private Member Functions | |
void | back_check_repeat () |
boost::shared_ptr< const pcl::PointCloud< PointLabel > > | compute_labeled_pc () |
repeat back check on model | |
boost::shared_ptr< const pcl::PointCloud< PointLabel > > | compute_reconstructed_pc () |
a segmentation implementation based on quad-trees and regression
Definition at line 81 of file quad_regression.h.
virtual Segmentation::Segmentation_QuadRegression< Point, PointLabel, Parent >::~Segmentation_QuadRegression | ( | ) | [inline, virtual] |
destructor
Definition at line 91 of file quad_regression.h.
void Segmentation::Segmentation_QuadRegression< Point, PointLabel, Parent >::back_check_repeat | ( | ) | [private] |
Definition at line 75 of file quad_regression.hpp.
bool Segmentation::Segmentation_QuadRegression< Point, PointLabel, Parent >::compute | ( | ) | [virtual] |
Implements GeneralSegmentation< Point, PointLabel >.
Definition at line 145 of file quad_regression.hpp.
void Segmentation::Segmentation_QuadRegression< Point, PointLabel, Parent >::compute_accuracy | ( | float & | mean, |
float & | var, | ||
float & | mean_weighted, | ||
float & | var_weighted, | ||
size_t & | used, | ||
size_t & | mem, | ||
size_t & | points, | ||
float & | avg_dist, | ||
const boost::shared_ptr< const pcl::PointCloud< PointLabel > > & | labeled_pc, | ||
double & | true_positive, | ||
double & | false_positive | ||
) |
Definition at line 262 of file quad_regression.hpp.
boost::shared_ptr< const pcl::PointCloud< PointLabel > > Segmentation::Segmentation_QuadRegression< Point, PointLabel, Parent >::compute_labeled_pc | ( | ) | [private] |
repeat back check on model
Definition at line 156 of file quad_regression.hpp.
boost::shared_ptr< const pcl::PointCloud< PointLabel > > Segmentation::Segmentation_QuadRegression< Point, PointLabel, Parent >::compute_reconstructed_pc | ( | ) | [private] |
Definition at line 190 of file quad_regression.hpp.
bool Segmentation::Segmentation_QuadRegression< Point, PointLabel, Parent >::extractImages | ( | ) | [virtual] |
Definition at line 552 of file quad_regression.hpp.
virtual boost::shared_ptr<const pcl::PointCloud<PointLabel> > Segmentation::Segmentation_QuadRegression< Point, PointLabel, Parent >::getOutputCloud | ( | ) | [inline, virtual] |
gets preprocessed output cloud
Implements GeneralSegmentation< Point, PointLabel >.
Definition at line 95 of file quad_regression.h.
virtual boost::shared_ptr<const pcl::PointCloud<PointLabel> > Segmentation::Segmentation_QuadRegression< Point, PointLabel, Parent >::getReconstructedOutputCloud | ( | ) | [inline, virtual] |
gets reconstructed output cloud
Definition at line 100 of file quad_regression.h.
Segmentation::Segmentation_QuadRegression< Point, PointLabel, Parent >::operator cob_3d_mapping_msgs::ShapeArray | ( | ) | const [virtual] |
convert to ROS message
Implements GeneralSegmentation< Point, PointLabel >.
Definition at line 354 of file quad_regression.hpp.
Segmentation::Segmentation_QuadRegression< Point, PointLabel, Parent >::operator visualization_msgs::Marker | ( | ) | const |
convert edges to ROS message
Definition at line 478 of file quad_regression.hpp.
std::istream & Segmentation::Segmentation_QuadRegression< Point, PointLabel, Parent >::serialize | ( | std::istream & | is | ) |
for easy testing purpose: serialize surfaces
Definition at line 614 of file quad_regression.hpp.
std::ostream & Segmentation::Segmentation_QuadRegression< Point, PointLabel, Parent >::serialize | ( | std::ostream & | is | ) | const |
for easy testing purpose: serialize surfaces
Definition at line 650 of file quad_regression.h.
virtual void Segmentation::Segmentation_QuadRegression< Point, PointLabel, Parent >::setInputCloud | ( | const boost::shared_ptr< const pcl::PointCloud< Point > > & | cloud | ) | [inline, virtual] |
sets preprocessed input cloud
Implements GeneralSegmentation< Point, PointLabel >.
Definition at line 105 of file quad_regression.h.