segmentation_cylinder.cpp File Reference

#include <pcl/ModelCoefficients.h>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/features/normal_3d.h>
#include <pcl/filters/extract_indices.h>
#include <pcl/filters/passthrough.h>
#include <pcl/sample_consensus/method_types.h>
#include <pcl/sample_consensus/model_types.h>
#include <pcl/segmentation/sac_segmentation.h>
Include dependency graph for segmentation_cylinder.cpp:

Go to the source code of this file.

Typedefs

typedef pcl::PointXYZ PointT

Functions

int main (int argc, char **argv)

Typedef Documentation

typedef pcl::PointXYZ PointT
Author:
Radu Bogdan Rusu

segmentation_cylinder exemplifies how to run a Sample Consensus segmentation for cylindrical models.

To make the example a bit more practical, the following operations are applied to the input dataset (in order):

  • data points further away than 1.5 meters are filtered
  • surface normals at each point are estimated
  • a planar model (describing the table in our demo dataset) is segmented and saved to disk
  • a cylindrical model (describing the mug in our demo dataset) is segmented and saved to disk

Definition at line 66 of file segmentation_cylinder.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 70 of file segmentation_cylinder.cpp.

 All Classes Files Functions Variables Typedefs


pcl_tutorials
Author(s): Radu Bogdan Rusu, Bastian Steder
autogenerated on Fri Jan 11 09:13:01 2013