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

#include <SceneLearner.h>

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

Public Member Functions

void addExampleToScene (const ISM::ObjectSetPtr pExample)
 
virtual void initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization > mSuperior)=0
 
bool isExampleForScene (const ISM::ObjectSetPtr pExample)
 
virtual void learn ()=0
 
virtual void save (boost::property_tree::ptree &pPt)=0
 
 SceneLearner (std::string pSceneName)
 
 SceneLearner ()
 
void setPriori (double pPriori)
 
void setVolumeOfWorkspace (double pValue)
 
virtual ~SceneLearner ()
 

Protected Attributes

std::vector< ISM::ObjectSetPtr > mExamplesList
 
double mPriori
 
std::string mSceneName
 
double mWorkspaceVolume
 

Detailed Description

Abstract learner for a single scene.

Author
Joachim Gehrung
Version
See SVN

Definition at line 41 of file SceneLearner.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::SceneLearner::SceneLearner ( std::string  pSceneName)

Constructor.

Parameters
pSceneNameThe scene of the scene.

Definition at line 22 of file SceneLearner.cpp.

ProbabilisticSceneRecognition::SceneLearner::SceneLearner ( )

Constructor.

Definition at line 28 of file SceneLearner.cpp.

ProbabilisticSceneRecognition::SceneLearner::~SceneLearner ( )
virtual

Destructor.

Definition at line 33 of file SceneLearner.cpp.

Member Function Documentation

void ProbabilisticSceneRecognition::SceneLearner::addExampleToScene ( const ISM::ObjectSetPtr  pExample)

Adds an ISM::ObjectSet to the learner.

Parameters
pExampleISM::ObjectSet containing an example for the given scene.

Definition at line 47 of file SceneLearner.cpp.

virtual void ProbabilisticSceneRecognition::SceneLearner::initializeVisualizer ( boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization >  mSuperior)
pure virtual

Initializes the visualization mechanism.

Parameters
mSuperiorThe superior visualizer coordinating the scene visualizers.

Implemented in ProbabilisticSceneRecognition::OcmForegroundSceneLearner, ProbabilisticSceneRecognition::BackgroundSceneLearner, and ProbabilisticSceneRecognition::ForegroundSceneLearner.

bool ProbabilisticSceneRecognition::SceneLearner::isExampleForScene ( const ISM::ObjectSetPtr  pExample)

Checks, if the given ISM::ObjectSet contains an example for this scene.

Returns
True, if the set contains an example for this scene.

Definition at line 38 of file SceneLearner.cpp.

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

Saves the scene to XML file.

Parameters
pPtDatastructure for handling XML operations.

Implemented in ProbabilisticSceneRecognition::OcmForegroundSceneLearner, ProbabilisticSceneRecognition::BackgroundSceneLearner, and ProbabilisticSceneRecognition::ForegroundSceneLearner.

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

Sets the a priori probability of the scene.

Parameters
pPrioriThe a priori probability of the scene.

Definition at line 58 of file SceneLearner.cpp.

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

Sets the volume of the workspace.

Parameters
pValueThe volume of the workspace.

Definition at line 53 of file SceneLearner.cpp.

Member Data Documentation

std::vector<ISM::ObjectSetPtr> ProbabilisticSceneRecognition::SceneLearner::mExamplesList
protected

A list of all examples provided for this scene.

Definition at line 130 of file SceneLearner.h.

double ProbabilisticSceneRecognition::SceneLearner::mPriori
protected

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

Definition at line 115 of file SceneLearner.h.

std::string ProbabilisticSceneRecognition::SceneLearner::mSceneName
protected

The name of the scene. It is required for filtering ISM::ObjetSets and the export to file.

Definition at line 125 of file SceneLearner.h.

double ProbabilisticSceneRecognition::SceneLearner::mWorkspaceVolume
protected

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

Definition at line 120 of file SceneLearner.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