Main Page
Namespaces
Classes
Files
File List
File Members
include
inference
model
foreground
ocm
shape
ShapeTermEvaluator.h
Go to the documentation of this file.
1
18
#pragma once
19
20
// Global includes
21
#include <map>
22
#include <cmath>
23
#include <vector>
24
#include <string>
25
26
// Package includes
27
#include <boost/foreach.hpp>
28
#include <boost/lexical_cast.hpp>
29
#include <boost/property_tree/ptree.hpp>
30
31
#include <asr_msgs/AsrObject.h>
32
33
#include <visualization/psm/ProbabilisticPrimarySceneObjectVisualization.h>
34
35
// Local includes
36
#include "
inference/model/foreground/ocm/TermEvaluator.h
"
37
38
#include "
inference/model/foreground/ocm/shape/HierarchicalShapeModel.h
"
39
40
#include <ISM/common_type/Object.hpp>
41
42
namespace
ProbabilisticSceneRecognition
{
43
50
class
ShapeTermEvaluator
:
public
TermEvaluator
{
51
public
:
52
56
ShapeTermEvaluator
();
57
61
~ShapeTermEvaluator
();
62
68
void
load
(boost::property_tree::ptree& pPt);
69
75
void
initializeVisualizer
(
boost::shared_ptr<Visualization::ProbabilisticPrimarySceneObjectVisualization>
mSuperior);
76
84
double
calculateProbabilityForHypothesis
(std::vector<ISM::Object> pEvidenceList, std::vector<unsigned int> pAssignments);
85
86
92
void
visualize
(std::vector<ISM::Object> pEvidenceList);
93
99
unsigned
int
getNumberOfSlots
();
100
101
private
:
102
106
HierarchicalShapeModel
mHsm
;
107
};
108
}
ProbabilisticSceneRecognition::ShapeTermEvaluator::getNumberOfSlots
unsigned int getNumberOfSlots()
Definition:
ShapeTermEvaluator.cpp:53
ProbabilisticSceneRecognition::ShapeTermEvaluator
Definition:
ShapeTermEvaluator.h:50
ProbabilisticSceneRecognition::ShapeTermEvaluator::visualize
void visualize(std::vector< ISM::Object > pEvidenceList)
Definition:
ShapeTermEvaluator.cpp:48
HierarchicalShapeModel.h
ProbabilisticSceneRecognition::ShapeTermEvaluator::initializeVisualizer
void initializeVisualizer(boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mSuperior)
Definition:
ShapeTermEvaluator.cpp:37
ProbabilisticSceneRecognition::ShapeTermEvaluator::ShapeTermEvaluator
ShapeTermEvaluator()
Definition:
ShapeTermEvaluator.cpp:22
ProbabilisticSceneRecognition::ShapeTermEvaluator::~ShapeTermEvaluator
~ShapeTermEvaluator()
Definition:
ShapeTermEvaluator.cpp:27
boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization >
ProbabilisticSceneRecognition::ShapeTermEvaluator::load
void load(boost::property_tree::ptree &pPt)
Definition:
ShapeTermEvaluator.cpp:31
ProbabilisticSceneRecognition::HierarchicalShapeModel
Definition:
HierarchicalShapeModel.h:58
ProbabilisticSceneRecognition::ShapeTermEvaluator::calculateProbabilityForHypothesis
double calculateProbabilityForHypothesis(std::vector< ISM::Object > pEvidenceList, std::vector< unsigned int > pAssignments)
Definition:
ShapeTermEvaluator.cpp:43
ProbabilisticSceneRecognition::ShapeTermEvaluator::mHsm
HierarchicalShapeModel mHsm
Definition:
ShapeTermEvaluator.h:106
ProbabilisticSceneRecognition
Definition:
MappedProbabilityTable.h:33
TermEvaluator.h
ProbabilisticSceneRecognition::TermEvaluator
Definition:
TermEvaluator.h:40
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54