Public Member Functions | Protected Attributes | List of all members
ProbabilisticSceneRecognition::SceneObjectLearner Class Referenceabstract

#include <SceneObjectLearner.h>

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

Public Member Functions

bool hasType (std::string pSceneObjectType)
 
virtual void initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticSceneVisualization > mSuperior)=0
 
virtual void learn (std::vector< ISM::ObjectSetPtr > pExamplesList, boost::shared_ptr< SceneModel::TreeNode > tree)=0
 
virtual void save (boost::property_tree::ptree &pPt)=0
 
 SceneObjectLearner (std::string pSceneObjectType)
 
void setClusteringParameters (double pStaticBreakRatio, double pTogetherRatio, double pMaxAngleDeviation)
 
void setPriori (double pPriori)
 
void setVolumeOfWorkspace (double pValue)
 
virtual ~SceneObjectLearner ()
 

Protected Attributes

double mMaxAngleDeviation
 
double mPriori
 
std::string mSceneObjectType
 
double mStaticBreakRatio
 
double mTogetherRatio
 
double mWorkspaceVolume
 

Detailed Description

An abstract learner for a scene object.

Author
Joachim Gehrung
Version
See SVN

Definition at line 43 of file SceneObjectLearner.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::SceneObjectLearner::SceneObjectLearner ( std::string  pSceneObjectType)

Constructor.

Parameters
pSceneObjectTypeThe type of the scene object.

Definition at line 22 of file SceneObjectLearner.cpp.

ProbabilisticSceneRecognition::SceneObjectLearner::~SceneObjectLearner ( )
virtual

Destructor.

Definition at line 27 of file SceneObjectLearner.cpp.

Member Function Documentation

bool ProbabilisticSceneRecognition::SceneObjectLearner::hasType ( std::string  pSceneObjectType)

Checks, if this scene object has the given type.

Parameters
pSceneObjectTypeThe type to check for.

Definition at line 31 of file SceneObjectLearner.cpp.

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

Initializes the visualization mechanism.

Parameters
mSuperiorThe superior visualizer coordinating the scene visualizers.

Implemented in ProbabilisticSceneRecognition::OcmSceneObjectLearner.

virtual void ProbabilisticSceneRecognition::SceneObjectLearner::learn ( std::vector< ISM::ObjectSetPtr >  pExamplesList,
boost::shared_ptr< SceneModel::TreeNode >  tree 
)
pure virtual

Learns the scene object.

Parameters
mExamplesListA list of all examples for the scene this scene object belongs to.

Implemented in ProbabilisticSceneRecognition::OcmSceneObjectLearner.

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

Saves the scene to XML file.

Parameters
pPtDatastructure for handling XML operations.

Implemented in ProbabilisticSceneRecognition::OcmSceneObjectLearner.

void ProbabilisticSceneRecognition::SceneObjectLearner::setClusteringParameters ( double  pStaticBreakRatio,
double  pTogetherRatio,
double  pMaxAngleDeviation 
)

Parameters for the clustering algorithm.

Parameters
pStaticBreakRatioThe maximum ration the relationship between two objects may break.
pTogetherRatioThe minimum ratio that two objects must be together.
pMaxAngleDeviationMaximum angle deviation between two objects before counting as break.

Definition at line 36 of file SceneObjectLearner.cpp.

void ProbabilisticSceneRecognition::SceneObjectLearner::setPriori ( double  pPriori)

Sets the a priori probability of the scene.

Parameters
pPrioriThe a priori probability of the scene.

Definition at line 48 of file SceneObjectLearner.cpp.

void ProbabilisticSceneRecognition::SceneObjectLearner::setVolumeOfWorkspace ( double  pValue)

Sets the volume of the workspace.

Parameters
pValueThe volume of the workspace.

Definition at line 43 of file SceneObjectLearner.cpp.

Member Data Documentation

double ProbabilisticSceneRecognition::SceneObjectLearner::mMaxAngleDeviation
protected

Definition at line 129 of file SceneObjectLearner.h.

double ProbabilisticSceneRecognition::SceneObjectLearner::mPriori
protected

The a priori probability for this scene. Will be set to an equal distribution for all scenes.

Definition at line 114 of file SceneObjectLearner.h.

std::string ProbabilisticSceneRecognition::SceneObjectLearner::mSceneObjectType
protected

The type of the scene object. Because we don't use any instance information this is also the identity of the scene object.

Definition at line 119 of file SceneObjectLearner.h.

double ProbabilisticSceneRecognition::SceneObjectLearner::mStaticBreakRatio
protected

Parameters of heuristics used for hierarchical clustering.

Definition at line 129 of file SceneObjectLearner.h.

double ProbabilisticSceneRecognition::SceneObjectLearner::mTogetherRatio
protected

Definition at line 129 of file SceneObjectLearner.h.

double ProbabilisticSceneRecognition::SceneObjectLearner::mWorkspaceVolume
protected

The volume of the workspace the scene takes place in qubic meters.

Definition at line 124 of file SceneObjectLearner.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