Main Page
Namespaces
Classes
Files
File List
File Members
include
inference
model
foreground
ocm
appearance
AppearanceTermEvaluator.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 "
helper/MappedProbabilityTable.h
"
37
38
#include "
inference/model/foreground/ocm/TermEvaluator.h
"
39
#include <ISM/common_type/Object.hpp>
40
41
namespace
ProbabilisticSceneRecognition
{
42
49
class
AppearanceTermEvaluator
:
public
TermEvaluator
{
50
public
:
51
57
AppearanceTermEvaluator
();
58
62
~AppearanceTermEvaluator
();
63
69
void
load
(boost::property_tree::ptree& pPt);
70
76
void
initializeVisualizer
(
boost::shared_ptr<Visualization::ProbabilisticPrimarySceneObjectVisualization>
mSuperior);
77
85
double
calculateProbabilityForHypothesis
(std::vector<ISM::Object> pEvidenceList, std::vector<unsigned int> pAssignments);
86
92
void
visualize
(std::vector<ISM::Object> pEvidenceList);
93
99
unsigned
int
getNumberOfSlots
();
100
101
private
:
102
106
boost::shared_ptr<MappedProbabilityTable>
mMappedTable
;
107
};
108
}
ProbabilisticSceneRecognition::AppearanceTermEvaluator::AppearanceTermEvaluator
AppearanceTermEvaluator()
Definition:
AppearanceTermEvaluator.cpp:22
ProbabilisticSceneRecognition::AppearanceTermEvaluator::getNumberOfSlots
unsigned int getNumberOfSlots()
Definition:
AppearanceTermEvaluator.cpp:91
ProbabilisticSceneRecognition::AppearanceTermEvaluator::calculateProbabilityForHypothesis
double calculateProbabilityForHypothesis(std::vector< ISM::Object > pEvidenceList, std::vector< unsigned int > pAssignments)
Definition:
AppearanceTermEvaluator.cpp:44
boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization >
ProbabilisticSceneRecognition::AppearanceTermEvaluator::load
void load(boost::property_tree::ptree &pPt)
Definition:
AppearanceTermEvaluator.cpp:33
ProbabilisticSceneRecognition
Definition:
MappedProbabilityTable.h:33
TermEvaluator.h
ProbabilisticSceneRecognition::TermEvaluator
Definition:
TermEvaluator.h:40
ProbabilisticSceneRecognition::AppearanceTermEvaluator::visualize
void visualize(std::vector< ISM::Object > pEvidenceList)
Definition:
AppearanceTermEvaluator.cpp:86
ProbabilisticSceneRecognition::AppearanceTermEvaluator
Definition:
AppearanceTermEvaluator.h:49
ProbabilisticSceneRecognition::AppearanceTermEvaluator::~AppearanceTermEvaluator
~AppearanceTermEvaluator()
Definition:
AppearanceTermEvaluator.cpp:29
MappedProbabilityTable.h
ProbabilisticSceneRecognition::AppearanceTermEvaluator::initializeVisualizer
void initializeVisualizer(boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mSuperior)
Definition:
AppearanceTermEvaluator.cpp:39
ProbabilisticSceneRecognition::AppearanceTermEvaluator::mMappedTable
boost::shared_ptr< MappedProbabilityTable > mMappedTable
Definition:
AppearanceTermEvaluator.h:106
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54