Capsualtes functionalities to perform object recognition using NARFs. More...
#include <object_recognition_helper.h>
Classes | |
struct | IntermediateElements |
struct | Parameters |
struct | Timings |
Public Member Functions | |
bool | addObjectModelsFromPcdFiles (std::vector< std::string > &file_names) |
Read model point clouds from disc and create model database. | |
bool | createRangeImageFromPcdFile (const std::string &file_name) |
Read scene point cloud from disc and create the range image. | |
bool | createRangeImageFromPointCloud (const PointCloud< PointXYZ > &point_cloud, const PointCloud< PointWithViewpoint > *far_ranges=NULL) |
Use an existing point cloud to create the scene range image. | |
bool | extractModelFeatures () |
Extract features for the object models. | |
void | extractPoseEstimates () |
Extract pose estimates from feature matches. | |
bool | extractSceneFeatures () |
Extract NARFs from the scene range image. | |
std::vector < PosesFromMatches::PoseEstimatesVector > & | filterFalsePositives () |
Filter the pose estimates to remove false positives. | |
FalsePositivesFilter & | getFalsePositivesFilter () |
Get a reference to the false positives filter member. | |
IntermediateElements & | getIntermediateElements () |
Get a reference to the intermediate elements struct. | |
Parameters & | getParameters () |
Get a reference to the parameters struct. | |
Timings & | getTimings () |
Get a reference to the timings struct. | |
ObjectRecognitionHelper () | |
void | printTimings () const |
Print the timings from the last recongition to cout. | |
~ObjectRecognitionHelper () | |
Protected Member Functions | |
void | clearModelFeatures () |
Free the memory of the current object model features. | |
void | clearObjectModels () |
Free the memory of the current object model list. | |
void | clearSceneFeatures () |
Free the memory of the current scene feature list. | |
Protected Attributes | |
FalsePositivesFilter | false_positives_filter_ |
IntermediateElements | intermediate_elements_ |
Parameters | parameters_ |
Timings | timings_ |
Capsualtes functionalities to perform object recognition using NARFs.
Definition at line 23 of file object_recognition_helper.h.
Constructor
Definition at line 5 of file object_recognition_helper.cpp.
Destructor
Definition at line 9 of file object_recognition_helper.cpp.
bool pcl::ObjectRecognitionHelper::addObjectModelsFromPcdFiles | ( | std::vector< std::string > & | file_names | ) |
Read model point clouds from disc and create model database.
Definition at line 48 of file object_recognition_helper.cpp.
void pcl::ObjectRecognitionHelper::clearModelFeatures | ( | ) | [protected] |
Free the memory of the current object model features.
Definition at line 37 of file object_recognition_helper.cpp.
void pcl::ObjectRecognitionHelper::clearObjectModels | ( | ) | [protected] |
Free the memory of the current object model list.
Definition at line 27 of file object_recognition_helper.cpp.
void pcl::ObjectRecognitionHelper::clearSceneFeatures | ( | ) | [protected] |
Free the memory of the current scene feature list.
Definition at line 17 of file object_recognition_helper.cpp.
bool pcl::ObjectRecognitionHelper::createRangeImageFromPcdFile | ( | const std::string & | file_name | ) |
Read scene point cloud from disc and create the range image.
Definition at line 104 of file object_recognition_helper.cpp.
bool pcl::ObjectRecognitionHelper::createRangeImageFromPointCloud | ( | const PointCloud< PointXYZ > & | point_cloud, |
const PointCloud< PointWithViewpoint > * | far_ranges = NULL |
||
) |
Use an existing point cloud to create the scene range image.
Definition at line 142 of file object_recognition_helper.cpp.
Extract features for the object models.
Definition at line 228 of file object_recognition_helper.cpp.
Extract pose estimates from feature matches.
Definition at line 260 of file object_recognition_helper.cpp.
Extract NARFs from the scene range image.
Definition at line 196 of file object_recognition_helper.cpp.
std::vector< pcl::PosesFromMatches::PoseEstimatesVector > & pcl::ObjectRecognitionHelper::filterFalsePositives | ( | ) |
Filter the pose estimates to remove false positives.
Definition at line 299 of file object_recognition_helper.cpp.
Get a reference to the false positives filter member.
Definition at line 160 of file object_recognition_helper.h.
Get a reference to the intermediate elements struct.
Definition at line 156 of file object_recognition_helper.h.
Parameters& pcl::ObjectRecognitionHelper::getParameters | ( | ) | [inline] |
Get a reference to the parameters struct.
Definition at line 148 of file object_recognition_helper.h.
Timings& pcl::ObjectRecognitionHelper::getTimings | ( | ) | [inline] |
Get a reference to the timings struct.
Definition at line 152 of file object_recognition_helper.h.
void pcl::ObjectRecognitionHelper::printTimings | ( | ) | const |
Print the timings from the last recongition to cout.
Definition at line 323 of file object_recognition_helper.cpp.
Definition at line 182 of file object_recognition_helper.h.
Definition at line 181 of file object_recognition_helper.h.
Parameters pcl::ObjectRecognitionHelper::parameters_ [protected] |
Definition at line 179 of file object_recognition_helper.h.
Timings pcl::ObjectRecognitionHelper::timings_ [protected] |
Definition at line 180 of file object_recognition_helper.h.