Typedefs | Functions
build_tree.cpp File Reference
#include <pcl/point_types.h>
#include <pcl/point_cloud.h>
#include <pcl/console/parse.h>
#include <pcl/console/print.h>
#include <pcl/io/pcd_io.h>
#include <boost/filesystem.hpp>
#include <flann/flann.h>
#include <flann/io/hdf5.h>
#include <fstream>
Include dependency graph for build_tree.cpp:

Go to the source code of this file.

Typedefs

typedef std::pair< std::string,
std::vector< float > > 
vfh_model

Functions

void loadFeatureModels (const boost::filesystem::path &base_dir, const std::string &extension, std::vector< vfh_model > &models)
 Load a set of VFH features that will act as the model (training data)
bool loadHist (const boost::filesystem::path &path, vfh_model &vfh)
 Loads an n-D histogram file as a VFH signature.
int main (int argc, char **argv)

Typedef Documentation

typedef std::pair<std::string, std::vector<float> > vfh_model

Definition at line 11 of file build_tree.cpp.


Function Documentation

void loadFeatureModels ( const boost::filesystem::path &  base_dir,
const std::string &  extension,
std::vector< vfh_model > &  models 
)

Load a set of VFH features that will act as the model (training data)

Parameters:
argcthe number of arguments (pass from main ())
argvthe actual command line arguments (pass from main ())
extensionthe file extension containing the VFH features
modelsthe resultant vector of histogram models

Definition at line 66 of file build_tree.cpp.

bool loadHist ( const boost::filesystem::path &  path,
vfh_model vfh 
)

Loads an n-D histogram file as a VFH signature.

Parameters:
paththe input file name
vfhthe resultant VFH model

Definition at line 18 of file build_tree.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 91 of file build_tree.cpp.



pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:19:12