#include <fast_segmentation.h>
Public Types | |
typedef ClusterGraphT::Ptr | ClusterGraphPtr |
typedef cob_3d_segmentation::ClusterGraphStructure < ClusterHdlT, EdgeHdlT > | ClusterGraphT |
typedef ClusterHdlT::Ptr | ClusterHdlPtr |
typedef ClusterHdlT::ClusterPtr | ClusterPtr |
typedef cob_3d_segmentation::BoundaryPointsEdgeHandler < PointLabelT, PointT > | EdgeHdlT |
typedef pcl::PointCloud < PointLabelT > | LabelCloud |
typedef LabelCloud::ConstPtr | LabelCloudConstPtr |
typedef LabelCloud::Ptr | LabelCloudPtr |
typedef pcl::PointCloud< PointNT > | NormalCloud |
typedef NormalCloud::ConstPtr | NormalCloudConstPtr |
typedef pcl::PointCloud< PointT > | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
Public Member Functions | |
ClusterHdlPtr | clusters () |
virtual bool | compute () |
void | createSeedPoints () |
FastSegmentation () | |
virtual LabelCloudConstPtr | getOutputCloud () |
gets preprocessed output cloud | |
ClusterGraphPtr | graph () |
bool | hasLabel (int label_new, int label_this, int idx_new, int idx_this, Options::ComputeGraph t) |
bool | hasLabel (int label_new, int label_this, int idx_new, int idx_this, Options::WithoutGraph t) |
void | mapSegmentColor (pcl::PointCloud< PointXYZRGB >::Ptr color_cloud) |
virtual | operator cob_3d_mapping_msgs::ShapeArray () const |
convert to ROS message | |
virtual void | setInputCloud (const PointCloudConstPtr &points) |
void | setLabelCloudInOut (const LabelCloudPtr &labels) |
void | setNormalCloudIn (const NormalCloudConstPtr &normals) |
void | setSeedMethod (SeedMethod type) |
virtual | ~FastSegmentation () |
Private Member Functions | |
float | n_threshold (int size) |
Private Attributes | |
ClusterHdlPtr | clusters_ |
ClusterGraphPtr | graph_ |
LabelCloudPtr | labels_ |
float | max_angle_ |
float | min_angle_ |
float | min_cluster_size_ |
NormalCloudConstPtr | normals_ |
std::vector< std::list < unsigned int >::iterator > | p_seeds_ |
SeedMethod | seed_method_ |
std::list< unsigned int > | seeds_ |
PointCloudConstPtr | surface_ |
Definition at line 135 of file fast_segmentation.h.
typedef ClusterGraphT::Ptr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::ClusterGraphPtr |
Definition at line 152 of file fast_segmentation.h.
typedef cob_3d_segmentation::ClusterGraphStructure< ClusterHdlT, EdgeHdlT> cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::ClusterGraphT |
Definition at line 149 of file fast_segmentation.h.
typedef ClusterHdlT::Ptr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::ClusterHdlPtr |
Definition at line 150 of file fast_segmentation.h.
typedef ClusterHdlT::ClusterPtr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::ClusterPtr |
Definition at line 151 of file fast_segmentation.h.
typedef cob_3d_segmentation::BoundaryPointsEdgeHandler< PointLabelT,PointT> cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::EdgeHdlT |
Definition at line 147 of file fast_segmentation.h.
typedef pcl::PointCloud<PointLabelT> cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::LabelCloud |
Definition at line 142 of file fast_segmentation.h.
typedef LabelCloud::ConstPtr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::LabelCloudConstPtr |
Definition at line 144 of file fast_segmentation.h.
typedef LabelCloud::Ptr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::LabelCloudPtr |
Definition at line 143 of file fast_segmentation.h.
typedef pcl::PointCloud<PointNT> cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::NormalCloud |
Definition at line 140 of file fast_segmentation.h.
typedef NormalCloud::ConstPtr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::NormalCloudConstPtr |
Definition at line 141 of file fast_segmentation.h.
typedef pcl::PointCloud<PointT> cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::PointCloud |
Definition at line 138 of file fast_segmentation.h.
typedef PointCloud::ConstPtr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::PointCloudConstPtr |
Definition at line 139 of file fast_segmentation.h.
cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::FastSegmentation | ( | ) | [inline] |
Definition at line 156 of file fast_segmentation.h.
virtual cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::~FastSegmentation | ( | ) | [inline, virtual] |
Definition at line 167 of file fast_segmentation.h.
ClusterHdlPtr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::clusters | ( | ) | [inline] |
Definition at line 198 of file fast_segmentation.h.
bool cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::compute | ( | ) | [virtual] |
Implements GeneralSegmentation< PointT, PointLabelT >.
Definition at line 130 of file fast_segmentation.hpp.
void cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::createSeedPoints | ( | ) |
Definition at line 77 of file fast_segmentation.hpp.
virtual LabelCloudConstPtr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::getOutputCloud | ( | ) | [inline, virtual] |
gets preprocessed output cloud
Implements GeneralSegmentation< PointT, PointLabelT >.
Definition at line 171 of file fast_segmentation.h.
ClusterGraphPtr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::graph | ( | ) | [inline] |
Definition at line 199 of file fast_segmentation.h.
bool cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::hasLabel | ( | int | label_new, |
int | label_this, | ||
int | idx_new, | ||
int | idx_this, | ||
Options::ComputeGraph | t | ||
) | [inline] |
Definition at line 174 of file fast_segmentation.h.
bool cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::hasLabel | ( | int | label_new, |
int | label_this, | ||
int | idx_new, | ||
int | idx_this, | ||
Options::WithoutGraph | t | ||
) | [inline] |
Definition at line 187 of file fast_segmentation.h.
void cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::mapSegmentColor | ( | pcl::PointCloud< PointXYZRGB >::Ptr | color_cloud | ) | [inline] |
Definition at line 195 of file fast_segmentation.h.
float cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::n_threshold | ( | int | size | ) | [inline, private] |
Definition at line 207 of file fast_segmentation.h.
virtual cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::operator cob_3d_mapping_msgs::ShapeArray | ( | ) | const [inline, virtual] |
convert to ROS message
Implements GeneralSegmentation< PointT, PointLabelT >.
Definition at line 202 of file fast_segmentation.h.
virtual void cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::setInputCloud | ( | const PointCloudConstPtr & | points | ) | [inline, virtual] |
Definition at line 169 of file fast_segmentation.h.
void cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::setLabelCloudInOut | ( | const LabelCloudPtr & | labels | ) | [inline] |
Definition at line 192 of file fast_segmentation.h.
void cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::setNormalCloudIn | ( | const NormalCloudConstPtr & | normals | ) | [inline] |
Definition at line 191 of file fast_segmentation.h.
void cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::setSeedMethod | ( | SeedMethod | type | ) | [inline] |
Definition at line 193 of file fast_segmentation.h.
ClusterHdlPtr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::clusters_ [private] |
Definition at line 215 of file fast_segmentation.h.
ClusterGraphPtr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::graph_ [private] |
Definition at line 214 of file fast_segmentation.h.
LabelCloudPtr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::labels_ [private] |
Definition at line 218 of file fast_segmentation.h.
float cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::max_angle_ [private] |
Definition at line 221 of file fast_segmentation.h.
float cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::min_angle_ [private] |
Definition at line 220 of file fast_segmentation.h.
float cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::min_cluster_size_ [private] |
Definition at line 222 of file fast_segmentation.h.
NormalCloudConstPtr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::normals_ [private] |
Definition at line 217 of file fast_segmentation.h.
std::vector<std::list<unsigned int>::iterator> cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::p_seeds_ [private] |
Definition at line 224 of file fast_segmentation.h.
SeedMethod cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::seed_method_ [private] |
Definition at line 223 of file fast_segmentation.h.
std::list<unsigned int> cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::seeds_ [private] |
Definition at line 225 of file fast_segmentation.h.
PointCloudConstPtr cob_3d_segmentation::FastSegmentation< PointT, PointNT, PointLabelT, OptionsT, SensorT, ClusterHdlT >::surface_ [private] |
Definition at line 216 of file fast_segmentation.h.