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

#include <AppearanceTermEvaluator.h>

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

Public Member Functions

 AppearanceTermEvaluator ()
 
double calculateProbabilityForHypothesis (std::vector< ISM::Object > pEvidenceList, std::vector< unsigned int > pAssignments)
 
unsigned int getNumberOfSlots ()
 
void initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mSuperior)
 
void load (boost::property_tree::ptree &pPt)
 
void visualize (std::vector< ISM::Object > pEvidenceList)
 
 ~AppearanceTermEvaluator ()
 
- Public Member Functions inherited from ProbabilisticSceneRecognition::TermEvaluator
 TermEvaluator ()
 
virtual ~TermEvaluator ()
 

Private Attributes

boost::shared_ptr< MappedProbabilityTablemMappedTable
 

Detailed Description

Subclass of the abstract TermEvaluator class responsible for the appearance distribution.It uses a table based probability model that supports mapping from clear text object types to table indices.

Author
Joachim Gehrung
Version
See SVN

Definition at line 49 of file AppearanceTermEvaluator.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::AppearanceTermEvaluator::AppearanceTermEvaluator ( )

Constructor.

Parameters
pSubtreeThe name of the subtree in the XML file where to load the data from.

Definition at line 22 of file AppearanceTermEvaluator.cpp.

ProbabilisticSceneRecognition::AppearanceTermEvaluator::~AppearanceTermEvaluator ( )

Destructor.

Definition at line 29 of file AppearanceTermEvaluator.cpp.

Member Function Documentation

double ProbabilisticSceneRecognition::AppearanceTermEvaluator::calculateProbabilityForHypothesis ( std::vector< ISM::Object >  pEvidenceList,
std::vector< unsigned int >  pAssignments 
)
virtual

Calculates the probability for a hypothesis with the given assignments.

Parameters
pEvidenceListA list containing all evidences.
pAssignmentsAssignments of parts to slots.
Returns
Probability as determinded by the appearance term.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 44 of file AppearanceTermEvaluator.cpp.

unsigned int ProbabilisticSceneRecognition::AppearanceTermEvaluator::getNumberOfSlots ( )
virtual

Returns the number of slots of the OCM (equals the number of distributions).

Returns
The number of slots of the OCM.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 91 of file AppearanceTermEvaluator.cpp.

void ProbabilisticSceneRecognition::AppearanceTermEvaluator::initializeVisualizer ( boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization >  mSuperior)
virtual

Initializes the visualization mechanism.

Parameters
mSuperiorThe superior visualizer coordinating the scene visualizers.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 39 of file AppearanceTermEvaluator.cpp.

void ProbabilisticSceneRecognition::AppearanceTermEvaluator::load ( boost::property_tree::ptree &  pPt)
virtual

Loads the working data from an XML file.

Parameters
pPtData structure for performing XML operations.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 33 of file AppearanceTermEvaluator.cpp.

void ProbabilisticSceneRecognition::AppearanceTermEvaluator::visualize ( std::vector< ISM::Object >  pEvidenceList)
virtual

Update the visualizers based on the evidence.

Parameters
pEvidenceListA list containing all evidences.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 86 of file AppearanceTermEvaluator.cpp.

Member Data Documentation

boost::shared_ptr<MappedProbabilityTable> ProbabilisticSceneRecognition::AppearanceTermEvaluator::mMappedTable
private

A probability table that entries could be adressed by clear text object names.

Definition at line 106 of file AppearanceTermEvaluator.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