Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
pcl::gpu::SeededHueSegmentation Class Reference

#include </__w/1/s/gpu/segmentation/include/pcl/gpu/segmentation/gpu_seeded_hue_segmentation.h>

Public Types

typedef pcl::PointXYZ PointType
 
typedef pcl::PointCloud< pcl::PointXYZPointCloudHost
 
typedef PointCloudHost::Ptr PointCloudHostPtr
 
typedef PointCloudHost::ConstPtr PointCloudHostConstPtr
 
typedef PointIndices::Ptr PointIndicesPtr
 
typedef PointIndices::ConstPtr PointIndicesConstPtr
 
typedef pcl::gpu::Octree GPUTree
 
typedef pcl::gpu::Octree::Ptr GPUTreePtr
 
typedef pcl::gpu::Octree::PointCloud CloudDevice
 

Public Member Functions

 SeededHueSegmentation ()
 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 tollerance on the hue. More...
 
float getDeltaHue ()
 Get the tolerance on the hue. More...
 
void segment (PointIndices &indices_in, PointIndices &indices_out)
 Cluster extraction in 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_
 The spatial cluster tolerance as a measure in the L2 Euclidean space. More...
 
float delta_hue_
 The allowed difference on the hue. More...
 

Detailed Description

Definition at line 59 of file gpu_seeded_hue_segmentation.h.

Member Typedef Documentation

Definition at line 73 of file gpu_seeded_hue_segmentation.h.

Definition at line 70 of file gpu_seeded_hue_segmentation.h.

Definition at line 71 of file gpu_seeded_hue_segmentation.h.

Definition at line 63 of file gpu_seeded_hue_segmentation.h.

Definition at line 65 of file gpu_seeded_hue_segmentation.h.

Definition at line 64 of file gpu_seeded_hue_segmentation.h.

Definition at line 68 of file gpu_seeded_hue_segmentation.h.

Definition at line 67 of file gpu_seeded_hue_segmentation.h.

Definition at line 62 of file gpu_seeded_hue_segmentation.h.

Constructor & Destructor Documentation

pcl::gpu::SeededHueSegmentation::SeededHueSegmentation ( )
inline

Empty constructor.

Definition at line 77 of file gpu_seeded_hue_segmentation.h.

Member Function Documentation

virtual std::string pcl::gpu::SeededHueSegmentation::getClassName ( ) const
inlineprotectedvirtual

Class getName method.

Definition at line 135 of file gpu_seeded_hue_segmentation.h.

References pcl::gpu::comparePointClusters(), and pcl::PointIndices::indices.

double pcl::gpu::SeededHueSegmentation::getClusterTolerance ( )
inline

Get the spatial cluster tolerance as a measure in the L2 Euclidean space.

Definition at line 96 of file gpu_seeded_hue_segmentation.h.

References cluster_tolerance_.

float pcl::gpu::SeededHueSegmentation::getDeltaHue ( )
inline

Get the tolerance on the hue.

Definition at line 110 of file gpu_seeded_hue_segmentation.h.

References delta_hue_, and segment().

GPUTreePtr pcl::gpu::SeededHueSegmentation::getSearchMethod ( )
inline

Get a pointer to the search method used.

Definition at line 88 of file gpu_seeded_hue_segmentation.h.

References tree_.

void pcl::gpu::SeededHueSegmentation::segment ( PointIndices indices_in,
PointIndices indices_out 
)

Cluster extraction in a PointCloud given by <setInputCloud (), setIndices ()>

Parameters
indices_in
indices_out

Definition at line 141 of file gpu_seeded_hue_segmentation.hpp.

References cluster_tolerance_, delta_hue_, host_cloud_, input_, pcl::gpu::seededHueSegmentation(), and tree_.

Referenced by getDeltaHue().

void pcl::gpu::SeededHueSegmentation::setClusterTolerance ( double  tolerance)
inline

Set the spatial cluster tolerance as a measure in the L2 Euclidean space.

Parameters
tolerancethe spatial cluster tolerance as a measure in the L2 Euclidean space

Definition at line 93 of file gpu_seeded_hue_segmentation.h.

References cluster_tolerance_.

void pcl::gpu::SeededHueSegmentation::setDeltaHue ( float  delta_hue)
inline

Set the tollerance on the hue.

Parameters
[in]delta_huethe new delta hue

Definition at line 106 of file gpu_seeded_hue_segmentation.h.

References delta_hue_.

void pcl::gpu::SeededHueSegmentation::setHostCloud ( PointCloudHostPtr  host_cloud)
inline

Definition at line 100 of file gpu_seeded_hue_segmentation.h.

References host_cloud_.

void pcl::gpu::SeededHueSegmentation::setInput ( CloudDevice  input)
inline

Definition at line 98 of file gpu_seeded_hue_segmentation.h.

References input_.

void pcl::gpu::SeededHueSegmentation::setSearchMethod ( const GPUTreePtr tree)
inline

Provide a pointer to the search object.

Parameters
treea pointer to the spatial search object.

Definition at line 83 of file gpu_seeded_hue_segmentation.h.

References tree_.

Member Data Documentation

double pcl::gpu::SeededHueSegmentation::cluster_tolerance_
protected

The spatial cluster tolerance as a measure in the L2 Euclidean space.

Definition at line 129 of file gpu_seeded_hue_segmentation.h.

Referenced by getClusterTolerance(), segment(), and setClusterTolerance().

float pcl::gpu::SeededHueSegmentation::delta_hue_
protected

The allowed difference on the hue.

Definition at line 132 of file gpu_seeded_hue_segmentation.h.

Referenced by getDeltaHue(), segment(), and setDeltaHue().

PointCloudHostPtr pcl::gpu::SeededHueSegmentation::host_cloud_
protected

the original cloud the Host

Definition at line 123 of file gpu_seeded_hue_segmentation.h.

Referenced by segment(), and setHostCloud().

CloudDevice pcl::gpu::SeededHueSegmentation::input_
protected

the input cloud on the GPU

Definition at line 120 of file gpu_seeded_hue_segmentation.h.

Referenced by segment(), and setInput().

GPUTreePtr pcl::gpu::SeededHueSegmentation::tree_
protected

A pointer to the spatial search object.

Definition at line 126 of file gpu_seeded_hue_segmentation.h.

Referenced by getSearchMethod(), segment(), and setSearchMethod().


The documentation for this class was generated from the following files: