Open Detection  1.0
od::ODDetector3D< PointT > Class Template Referenceabstract

The detector of 3D scene. More...

#include <ODDetector.h>

Inheritance diagram for od::ODDetector3D< PointT >:
Collaboration diagram for od::ODDetector3D< PointT >:

Public Member Functions

 ODDetector3D (std::string const &trained_data_location_)
 
virtual ODDetectionsdetect (ODScenePointCloud< PointT > *scene)=0
 Function for performing detection on a segmented scene. More...
 
virtual ODDetections3DdetectOmni (ODScenePointCloud< PointT > *scene)=0
 Function for performing detection on an entire scene. More...
 
- Public Member Functions inherited from od::ODDetector
 ODDetector (std::string const &training_data_location_)
 
virtual ODDetectionsdetect (ODScene *scene)
 
virtual ODDetectionsdetectOmni (ODScene *scene)
 
- Public Member Functions inherited from od::ODDetectorCommon
 ODDetectorCommon (std::string const &trained_data_location_="")
 
virtual void init ()=0
 
std::string getTrainingInputLocation () const
 Gets/Sets the directory containing the data for training. More...
 
void setTrainingInputLocation (std::string training_input_location_)
 Gets/Sets the directory containing the data for training. More...
 
std::string getTrainedDataLocation () const
 Gets/Sets the base directory for trained data. More...
 
virtual void setTrainedDataLocation (std::string trained_data_location_)
 The base directory for trained data. More...
 
std::string getSpecificTrainingDataLocation ()
 Gets the specific directory for a Trainer or a Detector inside trained_data_location_. More...
 
std::string getSpecificTrainingData ()
 
std::string const & getTrainedDataID () const
 
void setTrainedDataID (std::string const &trainedDataID)
 

Additional Inherited Members

- Public Attributes inherited from od::ODDetector
bool metainfo_
 
- Protected Attributes inherited from od::ODDetectorCommon
std::string training_input_location_
 
std::string trained_data_location_
 
std::string TRAINED_DATA_ID_
 
std::string TRAINED_LOCATION_DENTIFIER_
 

Detailed Description

template<typename PointT = pcl::PointXYZRGBA>
class od::ODDetector3D< PointT >

The detector of 3D scene.

This class takes a 2D scene (ODSceneImage) as input and performs detection on them. All the 3D detectors should derive from this class and implement the detect and detectOmni functions.

Author
Kripasindhu Sarkar

Definition at line 106 of file ODDetector.h.

Constructor & Destructor Documentation

template<typename PointT = pcl::PointXYZRGBA>
od::ODDetector3D< PointT >::ODDetector3D ( std::string const &  trained_data_location_)
inline

Definition at line 109 of file ODDetector.h.

Member Function Documentation

template<typename PointT = pcl::PointXYZRGBA>
virtual ODDetections* od::ODDetector3D< PointT >::detect ( ODScenePointCloud< PointT > *  scene)
pure virtual

Function for performing detection on a segmented scene.

The purpose of this function is to perform detection on a segmented scene or an 'object candidate'. i.e. the entire scene is considered as an 'object' or an detection. It is possible for a scene to trigger multiple detections.

Parameters
[in]sceneAn instance of 3D scene
Returns
A number of detections as an ODDetections instance.

Implemented in od::g3d::ODCADDetector3DGlobal< PointT >, and od::g3d::ODCADDetector3DGlobal< pcl::PointXYZ >.

template<typename PointT = pcl::PointXYZRGBA>
virtual ODDetections3D* od::ODDetector3D< PointT >::detectOmni ( ODScenePointCloud< PointT > *  scene)
pure virtual

Function for performing detection on an entire scene.

The purpose of this function is to detect an object in an entire scene. Thus, other than the type of detection we also have information about the location of the detection w.r.t. the scene.

Parameters
[in]sceneAn instance of 3D scene
Returns
A number of detections as an ODDetections3D instance containing information about the detection and its 3D pose.

Implemented in od::g3d::ODCADDetector3DGlobal< PointT >, and od::g3d::ODCADDetector3DGlobal< pcl::PointXYZ >.


The documentation for this class was generated from the following file: