#include <OcclusionTermEvaluator.h>
Public Member Functions | |
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) |
OcclusionTermEvaluator () | |
void | visualize (std::vector< ISM::Object > pEvidenceList) |
~OcclusionTermEvaluator () | |
Public Member Functions inherited from ProbabilisticSceneRecognition::TermEvaluator | |
TermEvaluator () | |
virtual | ~TermEvaluator () |
Private Attributes | |
boost::shared_ptr< ProbabilityTable > | mTable |
Subclass of the abstract TermEvaluator class responsible for the occlusion distribution which is part of P(h|theta).
Definition at line 51 of file OcclusionTermEvaluator.h.
ProbabilisticSceneRecognition::OcclusionTermEvaluator::OcclusionTermEvaluator | ( | ) |
Constructor.
Definition at line 22 of file OcclusionTermEvaluator.cpp.
ProbabilisticSceneRecognition::OcclusionTermEvaluator::~OcclusionTermEvaluator | ( | ) |
Destructor.
Definition at line 29 of file OcclusionTermEvaluator.cpp.
|
virtual |
Calculates the probability for a hypothesis with the given assignments.
pEvidenceList | A list containing all evidences. |
pAssignments | Assignments of parts to slots. |
Implements ProbabilisticSceneRecognition::TermEvaluator.
Definition at line 44 of file OcclusionTermEvaluator.cpp.
|
virtual |
Returns the number of slots of the OCM (equals the number of distributions).
Implements ProbabilisticSceneRecognition::TermEvaluator.
Definition at line 87 of file OcclusionTermEvaluator.cpp.
|
virtual |
Initializes the visualization mechanism.
mSuperior | The superior visualizer coordinating the scene visualizers. |
Implements ProbabilisticSceneRecognition::TermEvaluator.
Definition at line 39 of file OcclusionTermEvaluator.cpp.
|
virtual |
Loads the working data from an XML file.
pPt | Data structure for performing XML operations. |
Implements ProbabilisticSceneRecognition::TermEvaluator.
Definition at line 33 of file OcclusionTermEvaluator.cpp.
|
virtual |
Update the visualizers based on the evidence.
pEvidenceList | A list containing all evidences. |
Implements ProbabilisticSceneRecognition::TermEvaluator.
Definition at line 82 of file OcclusionTermEvaluator.cpp.
|
private |
A probability table that describes the distribution of object types for every slot. The table has two columns per slot. The first column is the probabilit for NOT OBSERVING the object, the second one for observing it.
Definition at line 107 of file OcclusionTermEvaluator.h.