#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>
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 std::pair<std::string, std::vector<float> > vfh_model |
Definition at line 11 of file build_tree.cpp.
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)
argc | the number of arguments (pass from main ()) |
argv | the actual command line arguments (pass from main ()) |
extension | the file extension containing the VFH features |
models | the resultant vector of histogram models |
Definition at line 66 of file build_tree.cpp.
Loads an n-D histogram file as a VFH signature.
path | the input file name |
vfh | the 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.