Typedefs | Functions
train_linemod_template.cpp File Reference
#include <math.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/console/print.h>
#include <pcl/console/parse.h>
#include <pcl/console/time.h>
#include <pcl/PointIndices.h>
#include <pcl/ModelCoefficients.h>
#include <pcl/sample_consensus/method_types.h>
#include <pcl/sample_consensus/model_types.h>
#include <pcl/segmentation/sac_segmentation.h>
#include <pcl/recognition/linemod.h>
#include <pcl/recognition/color_gradient_modality.h>
#include <pcl/recognition/surface_normal_modality.h>
Include dependency graph for train_linemod_template.cpp:

Go to the source code of this file.

Typedefs

typedef pcl::PointCloud
< pcl::PointXYZRGBA
PointCloudXYZRGBA

Functions

void compute (const PointCloudXYZRGBA::ConstPtr &input, float min_depth, float max_depth, float max_height, const std::string &template_pcd_filename, const std::string &template_sqmmt_filename)
bool loadCloud (const std::string &filename, PointCloudXYZRGBA &cloud)
int main (int argc, char **argv)
std::vector< bool > maskForegroundPoints (const PointCloudXYZRGBA::ConstPtr &input, float min_depth, float max_depth, float max_height)
void printElapsedTimeAndNumberOfPoints (double t, int w, int h=1)
void printHelp (int, char **argv)
void trainTemplate (const PointCloudXYZRGBA::ConstPtr &input, const std::vector< bool > &foreground_mask, pcl::LINEMOD &linemod)

Typedef Documentation

Definition at line 61 of file train_linemod_template.cpp.


Function Documentation

void compute ( const PointCloudXYZRGBA::ConstPtr input,
float  min_depth,
float  max_depth,
float  max_height,
const std::string template_pcd_filename,
const std::string template_sqmmt_filename 
)

Definition at line 203 of file train_linemod_template.cpp.

bool loadCloud ( const std::string filename,
PointCloudXYZRGBA cloud 
)

Definition at line 85 of file train_linemod_template.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 234 of file train_linemod_template.cpp.

std::vector<bool> maskForegroundPoints ( const PointCloudXYZRGBA::ConstPtr input,
float  min_depth,
float  max_depth,
float  max_height 
)

Definition at line 103 of file train_linemod_template.cpp.

void printElapsedTimeAndNumberOfPoints ( double  t,
int  w,
int  h = 1 
)

Definition at line 78 of file train_linemod_template.cpp.

void printHelp ( int  ,
char **  argv 
)

Definition at line 64 of file train_linemod_template.cpp.

void trainTemplate ( const PointCloudXYZRGBA::ConstPtr input,
const std::vector< bool > &  foreground_mask,
pcl::LINEMOD linemod 
)

Definition at line 155 of file train_linemod_template.cpp.



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