Public Member Functions | Private Attributes | List of all members
ProbabilisticSceneRecognition::OcmSceneObjectLearner Class Reference

#include <OcmSceneObjectLearner.h>

Inheritance diagram for ProbabilisticSceneRecognition::OcmSceneObjectLearner:
Inheritance graph
[legend]

Public Member Functions

void initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticSceneVisualization > mSuperior)
 
void learn (std::vector< ISM::ObjectSetPtr > pExamplesList, boost::shared_ptr< SceneModel::TreeNode > pTree)
 
 OcmSceneObjectLearner (std::string pSceneObjectType, std::string pSceneName="")
 
void save (boost::property_tree::ptree &pPt)
 
 ~OcmSceneObjectLearner ()
 
- Public Member Functions inherited from ProbabilisticSceneRecognition::SceneObjectLearner
bool hasType (std::string pSceneObjectType)
 
 SceneObjectLearner (std::string pSceneObjectType)
 
void setClusteringParameters (double pStaticBreakRatio, double pTogetherRatio, double pMaxAngleDeviation)
 
void setPriori (double pPriori)
 
void setVolumeOfWorkspace (double pValue)
 
virtual ~SceneObjectLearner ()
 

Private Attributes

boost::shared_ptr< OcmModelmOcmModel
 
std::vector< boost::shared_ptr< TermLearner > > mTermLearners
 
boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mVisualizer
 

Additional Inherited Members

- Protected Attributes inherited from ProbabilisticSceneRecognition::SceneObjectLearner
double mMaxAngleDeviation
 
double mPriori
 
std::string mSceneObjectType
 
double mStaticBreakRatio
 
double mTogetherRatio
 
double mWorkspaceVolume
 

Detailed Description

A learner for a scene object based on the OCM.

Author
Joachim Gehrung
Version
See SVN

Definition at line 53 of file OcmSceneObjectLearner.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::OcmSceneObjectLearner::OcmSceneObjectLearner ( std::string  pSceneObjectType,
std::string  pSceneName = "" 
)

Constructor.

Parameters
pSceneObjectTypeThe type of the scene object.
pSceneNameThe name of the scene.

Definition at line 22 of file OcmSceneObjectLearner.cpp.

ProbabilisticSceneRecognition::OcmSceneObjectLearner::~OcmSceneObjectLearner ( )

Destructor.

Definition at line 31 of file OcmSceneObjectLearner.cpp.

Member Function Documentation

void ProbabilisticSceneRecognition::OcmSceneObjectLearner::initializeVisualizer ( boost::shared_ptr< Visualization::ProbabilisticSceneVisualization >  mSuperior)
virtual

Initializes the visualization mechanism.

Parameters
mSuperiorThe superior visualizer coordinating the scene visualizers.

Implements ProbabilisticSceneRecognition::SceneObjectLearner.

Definition at line 35 of file OcmSceneObjectLearner.cpp.

void ProbabilisticSceneRecognition::OcmSceneObjectLearner::learn ( std::vector< ISM::ObjectSetPtr >  pExamplesList,
boost::shared_ptr< SceneModel::TreeNode >  pTree 
)
virtual

Learns the scene object.

Parameters
pExamplesListA list of all examples for the scene this scene object belongs to.
pTreeThe relation tree.

Implements ProbabilisticSceneRecognition::SceneObjectLearner.

Definition at line 68 of file OcmSceneObjectLearner.cpp.

void ProbabilisticSceneRecognition::OcmSceneObjectLearner::save ( boost::property_tree::ptree &  pPt)
virtual

Saves the scene to XML file.

Parameters
pPtDatastructure for handling XML operations.

Implements ProbabilisticSceneRecognition::SceneObjectLearner.

Definition at line 50 of file OcmSceneObjectLearner.cpp.

Member Data Documentation

boost::shared_ptr<OcmModel> ProbabilisticSceneRecognition::OcmSceneObjectLearner::mOcmModel
private

The root node of the OCM tree required for learning the parameters.

Definition at line 96 of file OcmSceneObjectLearner.h.

std::vector<boost::shared_ptr<TermLearner> > ProbabilisticSceneRecognition::OcmSceneObjectLearner::mTermLearners
private

A list of term learners. They calculate the parameter for the terms the OCM consists of.

Definition at line 101 of file OcmSceneObjectLearner.h.

boost::shared_ptr<Visualization::ProbabilisticPrimarySceneObjectVisualization> ProbabilisticSceneRecognition::OcmSceneObjectLearner::mVisualizer
private

Coordinates the secondary scene object visualizers.

Definition at line 106 of file OcmSceneObjectLearner.h.


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


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 04:00:09