Classes | Defines | Functions
stick_segmentation.cpp File Reference
#include <pcl/common/distances.h>
#include <pcl/console/parse.h>
#include <pcl/console/time.h>
#include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/filters/passthrough.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/sample_consensus/method_types.h>
#include <pcl/segmentation/sac_segmentation.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/filters/conditional_removal.h>
#include <pcl/segmentation/extract_clusters.h>
Include dependency graph for stick_segmentation.cpp:

Go to the source code of this file.

Classes

class  ConditionThresholdHSV< PointT >

Defines

#define MIN_NR_INLIERS_LINE   40

Functions

void compute (const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &input, pcl::PointCloud< pcl::PointXYZRGB >::Ptr &output, pcl::ModelCoefficients &coefficients, pcl::PointIndices &inliers)
void downsample (const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &input, pcl::PointCloud< pcl::PointXYZRGB >::Ptr &output)
void extractLargestCluster (const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &input, const pcl::PointIndices::Ptr &inliers_all, pcl::PointIndices &inliers)
void filterGreen (const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &input, pcl::PointCloud< pcl::PointXYZRGB >::Ptr &output)
void filterRed (const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &input, pcl::PointCloud< pcl::PointXYZRGB >::Ptr &output)
int main (int argc, char **argv)

Define Documentation

#define MIN_NR_INLIERS_LINE   40

Definition at line 14 of file stick_segmentation.cpp.


Function Documentation

void compute ( const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &  input,
pcl::PointCloud< pcl::PointXYZRGB >::Ptr &  output,
pcl::ModelCoefficients coefficients,
pcl::PointIndices inliers 
)

Definition at line 135 of file stick_segmentation.cpp.

void downsample ( const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &  input,
pcl::PointCloud< pcl::PointXYZRGB >::Ptr &  output 
)

Definition at line 107 of file stick_segmentation.cpp.

void extractLargestCluster ( const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &  input,
const pcl::PointIndices::Ptr inliers_all,
pcl::PointIndices inliers 
)

Definition at line 120 of file stick_segmentation.cpp.

void filterGreen ( const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &  input,
pcl::PointCloud< pcl::PointXYZRGB >::Ptr &  output 
)

Definition at line 94 of file stick_segmentation.cpp.

void filterRed ( const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &  input,
pcl::PointCloud< pcl::PointXYZRGB >::Ptr &  output 
)

Definition at line 81 of file stick_segmentation.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 181 of file stick_segmentation.cpp.



pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:48