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

#include <SceneModelDescription.h>

Public Member Functions

void getSceneListWithProbabilities (std::vector< SceneIdentifier > &pSceneList)
 
void initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization > mSuperior)
 
void integrateEvidence (const boost::shared_ptr< const ISM::Object > &pObject)
 
void loadModelFromFile (std::string pPathToFile, std::string pAlgorithm)
 
 SceneModelDescription ()
 
void updateModel ()
 
 ~SceneModelDescription ()
 

Private Attributes

std::vector< ISM::Object > mEvidenceList
 
ObjectEvidence mObjectEvidence
 
std::vector< boost::shared_ptr< SceneDescription > > mScenes
 

Detailed Description

Model for probabilistic scene recognition.

Author
Joachim Gehrung
Version
See SVN

Definition at line 52 of file SceneModelDescription.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::SceneModelDescription::SceneModelDescription ( )

Constructor.

Definition at line 22 of file SceneModelDescription.cpp.

ProbabilisticSceneRecognition::SceneModelDescription::~SceneModelDescription ( )

Destructor.

Definition at line 26 of file SceneModelDescription.cpp.

Member Function Documentation

void ProbabilisticSceneRecognition::SceneModelDescription::getSceneListWithProbabilities ( std::vector< SceneIdentifier > &  pSceneList)

Returns a list of all scenes containing their name and probability.

Parameters
pSceneListThe scene list including names and probabilities of all scenes.

Definition at line 88 of file SceneModelDescription.cpp.

void ProbabilisticSceneRecognition::SceneModelDescription::initializeVisualizer ( boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization >  mSuperior)

Initializes the visualization mechanism.

Parameters
mSuperiorThe superior visualizer coordinating the scene visualizers.

Definition at line 57 of file SceneModelDescription.cpp.

void ProbabilisticSceneRecognition::SceneModelDescription::integrateEvidence ( const boost::shared_ptr< const ISM::Object > &  pObject)

Integrated evidence abound objects found by the detection systems into the model. Evidences are accumulated until an update is requested.

Parameters
pObjectAsrObject message containing data about the evidence.

Definition at line 64 of file SceneModelDescription.cpp.

void ProbabilisticSceneRecognition::SceneModelDescription::loadModelFromFile ( std::string  pPathToFile,
std::string  pAlgorithm 
)

Loads the model from an XML file.

Parameters
pPathToFilePath to the XML file that contains the modelin serialized form.
pAlgorithmThe name of the inference algorithm that should be used.

Definition at line 30 of file SceneModelDescription.cpp.

void ProbabilisticSceneRecognition::SceneModelDescription::updateModel ( )

Update the model based on the accumulated evidence.

Definition at line 71 of file SceneModelDescription.cpp.

Member Data Documentation

std::vector<ISM::Object> ProbabilisticSceneRecognition::SceneModelDescription::mEvidenceList
private

Used for forwarding the evidences. Put this here so we don't need to build a new one every time we got new evidence.

Definition at line 111 of file SceneModelDescription.h.

ObjectEvidence ProbabilisticSceneRecognition::SceneModelDescription::mObjectEvidence
private

An intelligent container for the object evidences. It states whether a given evidence is an update of an already known object or a new one.

Definition at line 105 of file SceneModelDescription.h.

std::vector<boost::shared_ptr<SceneDescription> > ProbabilisticSceneRecognition::SceneModelDescription::mScenes
private

A list containing the background and foreground elements.

Definition at line 116 of file SceneModelDescription.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