On this page
#include </__w/1/s/gpu/segmentation/include/pcl/gpu/segmentation/gpu_seeded_hue_segmentation.h>
Public Types |
|
| using | PointType = pcl::PointXYZ |
| using | PointCloudHost = pcl::PointCloud< pcl::PointXYZ > |
| using | PointCloudHostPtr = PointCloudHost::Ptr |
| using | PointCloudHostConstPtr = PointCloudHost::ConstPtr |
| using | PointIndicesPtr = PointIndices::Ptr |
| using | PointIndicesConstPtr = PointIndices::ConstPtr |
| using | GPUTree = pcl::gpu::Octree |
| using | GPUTreePtr = pcl::gpu::Octree::Ptr |
| using | CloudDevice = pcl::gpu::Octree::PointCloud |
Public Member Functions |
|
| SeededHueSegmentation ()=default | |
| Empty constructor. More... |
|
| void | setSearchMethod (const GPUTreePtr &tree) |
| Provide a pointer to the search object. More... |
|
| GPUTreePtr | getSearchMethod () |
| Get a pointer to the search method used. More... |
|
| void | setClusterTolerance (double tolerance) |
| Set the spatial cluster tolerance as a measure in the L2 Euclidean space. More... |
|
| double | getClusterTolerance () |
| Get the spatial cluster tolerance as a measure in the L2 Euclidean space. More... |
|
| void | setInput (CloudDevice input) |
| void | setHostCloud (PointCloudHostPtr host_cloud) |
| void | setDeltaHue (float delta_hue) |
| Set the tolerance on the hue. More... |
|
| float | getDeltaHue () |
| Get the tolerance on the hue. More... |
|
| void | segment (PointIndices &indices_in, PointIndices &indices_out) |
| extract clusters of a PointCloud given by <setInputCloud(), setIndices()> More... |
|
Protected Member Functions |
|
| virtual std::string | getClassName () const |
| Class getName method. More... |
|
Protected Attributes |
|
| CloudDevice | input_ |
| the input cloud on the GPU More... |
|
| PointCloudHostPtr | host_cloud_ |
| the original cloud the Host More... |
|
| GPUTreePtr | tree_ |
| A pointer to the spatial search object. More... |
|
| double | cluster_tolerance_ {0} |
| The spatial cluster tolerance as a measure in the L2 Euclidean space. More... |
|
| float | delta_hue_ {0.0} |
| The allowed difference on the hue. More... |
|
Detailed Description
Definition at line 57 of file gpu_seeded_hue_segmentation.h.
Member Typedef Documentation
CloudDevice
Definition at line 70 of file gpu_seeded_hue_segmentation.h.
GPUTree
Definition at line 67 of file gpu_seeded_hue_segmentation.h.
GPUTreePtr
Definition at line 68 of file gpu_seeded_hue_segmentation.h.
PointCloudHost
Definition at line 60 of file gpu_seeded_hue_segmentation.h.
PointCloudHostConstPtr
Definition at line 62 of file gpu_seeded_hue_segmentation.h.
PointCloudHostPtr
Definition at line 61 of file gpu_seeded_hue_segmentation.h.
PointIndicesConstPtr
Definition at line 65 of file gpu_seeded_hue_segmentation.h.
PointIndicesPtr
Definition at line 64 of file gpu_seeded_hue_segmentation.h.
PointType
Definition at line 59 of file gpu_seeded_hue_segmentation.h.
Constructor & Destructor Documentation
SeededHueSegmentation()
|
default |
Empty constructor.
Member Function Documentation
getClassName()
|
inlineprotectedvirtual |
Class getName method.
Definition at line 165 of file gpu_seeded_hue_segmentation.h.
getClusterTolerance()
|
inline |
Get the spatial cluster tolerance as a measure in the L2 Euclidean space.
Definition at line 107 of file gpu_seeded_hue_segmentation.h.
References cluster_tolerance_.
getDeltaHue()
|
inline |
Get the tolerance on the hue.
Definition at line 135 of file gpu_seeded_hue_segmentation.h.
References delta_hue_.
getSearchMethod()
|
inline |
Get a pointer to the search method used.
- Todo:
- fix this for a generic search tree
Definition at line 89 of file gpu_seeded_hue_segmentation.h.
References tree_.
segment()
| void pcl::gpu::SeededHueSegmentation::segment | ( | PointIndices & | indices_in, |
| PointIndices & | indices_out | ||
| ) |
extract clusters of a PointCloud given by <setInputCloud(), setIndices()>
- Parameters
-
indices_in indices_out
Definition at line 135 of file gpu_seeded_hue_segmentation.hpp.
References cluster_tolerance_, delta_hue_, host_cloud_, input_, pcl::gpu::seededHueSegmentation(), and tree_.
setClusterTolerance()
|
inline |
Set the spatial cluster tolerance as a measure in the L2 Euclidean space.
- Parameters
-
tolerance the spatial cluster tolerance as a measure in the L2 Euclidean space
Definition at line 99 of file gpu_seeded_hue_segmentation.h.
References cluster_tolerance_.
setDeltaHue()
|
inline |
Set the tolerance on the hue.
- Parameters
-
[in] delta_hue the new delta hue
Definition at line 128 of file gpu_seeded_hue_segmentation.h.
References delta_hue_.
setHostCloud()
|
inline |
Definition at line 119 of file gpu_seeded_hue_segmentation.h.
References host_cloud_.
setInput()
|
inline |
Definition at line 113 of file gpu_seeded_hue_segmentation.h.
References input_.
setSearchMethod()
|
inline |
Provide a pointer to the search object.
- Parameters
-
tree a pointer to the spatial search object.
Definition at line 80 of file gpu_seeded_hue_segmentation.h.
References tree_.
Member Data Documentation
cluster_tolerance_
|
protected |
The spatial cluster tolerance as a measure in the L2 Euclidean space.
Definition at line 158 of file gpu_seeded_hue_segmentation.h.
Referenced by getClusterTolerance(), segment(), and setClusterTolerance().
delta_hue_
|
protected |
The allowed difference on the hue.
Definition at line 161 of file gpu_seeded_hue_segmentation.h.
Referenced by getDeltaHue(), segment(), and setDeltaHue().
host_cloud_
|
protected |
the original cloud the Host
Definition at line 152 of file gpu_seeded_hue_segmentation.h.
Referenced by segment(), and setHostCloud().
input_
|
protected |
the input cloud on the GPU
Definition at line 149 of file gpu_seeded_hue_segmentation.h.
Referenced by segment(), and setInput().
tree_
|
protected |
A pointer to the spatial search object.
Definition at line 155 of file gpu_seeded_hue_segmentation.h.
Referenced by getSearchMethod(), segment(), and setSearchMethod().
The documentation for this class was generated from the following files:
- /__w/1/s/gpu/segmentation/include/pcl/gpu/segmentation/gpu_seeded_hue_segmentation.h
- /__w/1/s/gpu/segmentation/include/pcl/gpu/segmentation/impl/gpu_seeded_hue_segmentation.hpp
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1gpu_1_1_seeded_hue_segmentation.html