SeededHueSegmentation. More...
#include <seeded_hue_segmentation.h>
Public Types | |
typedef pcl::search::Search < PointXYZRGB > | KdTree |
typedef pcl::search::Search < PointXYZRGB >::Ptr | KdTreePtr |
typedef pcl::PointCloud < PointXYZRGB > | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef PointCloud::Ptr | PointCloudPtr |
typedef PointIndices::ConstPtr | PointIndicesConstPtr |
typedef PointIndices::Ptr | PointIndicesPtr |
Public Member Functions | |
double | getClusterTolerance () const |
Get the spatial cluster tolerance as a measure in the L2 Euclidean space. | |
float | getDeltaHue () const |
Get the tolerance on the hue. | |
KdTreePtr | getSearchMethod () const |
Get a pointer to the search method used. | |
SeededHueSegmentation () | |
Empty constructor. | |
void | segment (PointIndices &indices_in, PointIndices &indices_out) |
Cluster extraction in a PointCloud given by <setInputCloud (), setIndices ()> | |
void | setClusterTolerance (double tolerance) |
Set the spatial cluster tolerance as a measure in the L2 Euclidean space. | |
void | setDeltaHue (float delta_hue) |
Set the tollerance on the hue. | |
void | setSearchMethod (const KdTreePtr &tree) |
Provide a pointer to the search object. | |
Protected Member Functions | |
virtual std::string | getClassName () const |
Class getName method. | |
Protected Attributes | |
double | cluster_tolerance_ |
The spatial cluster tolerance as a measure in the L2 Euclidean space. | |
float | delta_hue_ |
The allowed difference on the hue. | |
KdTreePtr | tree_ |
A pointer to the spatial search object. | |
Private Types | |
typedef PCLBase< PointXYZRGB > | BasePCLBase |
Definition at line 94 of file seeded_hue_segmentation.h.
typedef PCLBase<PointXYZRGB> pcl::SeededHueSegmentation::BasePCLBase [private] |
Definition at line 96 of file seeded_hue_segmentation.h.
Definition at line 103 of file seeded_hue_segmentation.h.
Definition at line 104 of file seeded_hue_segmentation.h.
Reimplemented from pcl::PCLBase< PointXYZRGB >.
Definition at line 99 of file seeded_hue_segmentation.h.
Reimplemented from pcl::PCLBase< PointXYZRGB >.
Definition at line 101 of file seeded_hue_segmentation.h.
Reimplemented from pcl::PCLBase< PointXYZRGB >.
Definition at line 100 of file seeded_hue_segmentation.h.
Reimplemented from pcl::PCLBase< PointXYZRGB >.
Definition at line 107 of file seeded_hue_segmentation.h.
Reimplemented from pcl::PCLBase< PointXYZRGB >.
Definition at line 106 of file seeded_hue_segmentation.h.
pcl::SeededHueSegmentation::SeededHueSegmentation | ( | ) | [inline] |
Empty constructor.
Definition at line 111 of file seeded_hue_segmentation.h.
virtual std::string pcl::SeededHueSegmentation::getClassName | ( | ) | const [inline, protected, virtual] |
Class getName method.
Definition at line 168 of file seeded_hue_segmentation.h.
double pcl::SeededHueSegmentation::getClusterTolerance | ( | ) | const [inline] |
Get the spatial cluster tolerance as a measure in the L2 Euclidean space.
Definition at line 132 of file seeded_hue_segmentation.h.
float pcl::SeededHueSegmentation::getDeltaHue | ( | ) | const [inline] |
Get the tolerance on the hue.
Definition at line 142 of file seeded_hue_segmentation.h.
KdTreePtr pcl::SeededHueSegmentation::getSearchMethod | ( | ) | const [inline] |
Get a pointer to the search method used.
Definition at line 122 of file seeded_hue_segmentation.h.
void pcl::SeededHueSegmentation::segment | ( | PointIndices & | indices_in, |
PointIndices & | indices_out | ||
) |
Cluster extraction in a PointCloud given by <setInputCloud (), setIndices ()>
[in] | indices_in | |
[out] | indices_out |
Definition at line 199 of file seeded_hue_segmentation.hpp.
void pcl::SeededHueSegmentation::setClusterTolerance | ( | double | tolerance | ) | [inline] |
Set the spatial cluster tolerance as a measure in the L2 Euclidean space.
[in] | tolerance | the spatial cluster tolerance as a measure in the L2 Euclidean space |
Definition at line 128 of file seeded_hue_segmentation.h.
void pcl::SeededHueSegmentation::setDeltaHue | ( | float | delta_hue | ) | [inline] |
Set the tollerance on the hue.
[in] | delta_hue | the new delta hue |
Definition at line 138 of file seeded_hue_segmentation.h.
void pcl::SeededHueSegmentation::setSearchMethod | ( | const KdTreePtr & | tree | ) | [inline] |
Provide a pointer to the search object.
[in] | tree | a pointer to the spatial search object. |
Definition at line 118 of file seeded_hue_segmentation.h.
double pcl::SeededHueSegmentation::cluster_tolerance_ [protected] |
The spatial cluster tolerance as a measure in the L2 Euclidean space.
Definition at line 162 of file seeded_hue_segmentation.h.
float pcl::SeededHueSegmentation::delta_hue_ [protected] |
The allowed difference on the hue.
Definition at line 165 of file seeded_hue_segmentation.h.
KdTreePtr pcl::SeededHueSegmentation::tree_ [protected] |
A pointer to the spatial search object.
Definition at line 159 of file seeded_hue_segmentation.h.