Main Page
Namespaces
Classes
Files
File List
File Members
include
inference
model
foreground
ocm
occlusion
OcclusionTermEvaluator.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
#include <algorithm>
26
27
// Package includes
28
#include <boost/foreach.hpp>
29
#include <boost/lexical_cast.hpp>
30
#include <boost/property_tree/ptree.hpp>
31
32
#include <asr_msgs/AsrObject.h>
33
34
#include <visualization/psm/ProbabilisticPrimarySceneObjectVisualization.h>
35
36
// Local includes
37
#include "
helper/ProbabilityTable.h
"
38
39
#include "
inference/model/foreground/ocm/TermEvaluator.h
"
40
41
#include <ISM/common_type/Object.hpp>
42
43
namespace
ProbabilisticSceneRecognition
{
44
51
class
OcclusionTermEvaluator
:
public
TermEvaluator
{
52
public
:
53
57
OcclusionTermEvaluator
();
58
62
~OcclusionTermEvaluator
();
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
107
boost::shared_ptr<ProbabilityTable>
mTable
;
108
};
109
}
ProbabilisticSceneRecognition::OcclusionTermEvaluator::getNumberOfSlots
unsigned int getNumberOfSlots()
Definition:
OcclusionTermEvaluator.cpp:87
ProbabilisticSceneRecognition::OcclusionTermEvaluator
Definition:
OcclusionTermEvaluator.h:51
ProbabilisticSceneRecognition::OcclusionTermEvaluator::~OcclusionTermEvaluator
~OcclusionTermEvaluator()
Definition:
OcclusionTermEvaluator.cpp:29
ProbabilisticSceneRecognition::OcclusionTermEvaluator::load
void load(boost::property_tree::ptree &pPt)
Definition:
OcclusionTermEvaluator.cpp:33
boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization >
ProbabilityTable.h
ProbabilisticSceneRecognition::OcclusionTermEvaluator::mTable
boost::shared_ptr< ProbabilityTable > mTable
Definition:
OcclusionTermEvaluator.h:107
ProbabilisticSceneRecognition::OcclusionTermEvaluator::calculateProbabilityForHypothesis
double calculateProbabilityForHypothesis(std::vector< ISM::Object > pEvidenceList, std::vector< unsigned int > pAssignments)
Definition:
OcclusionTermEvaluator.cpp:44
ProbabilisticSceneRecognition
Definition:
MappedProbabilityTable.h:33
TermEvaluator.h
ProbabilisticSceneRecognition::TermEvaluator
Definition:
TermEvaluator.h:40
ProbabilisticSceneRecognition::OcclusionTermEvaluator::OcclusionTermEvaluator
OcclusionTermEvaluator()
Definition:
OcclusionTermEvaluator.cpp:22
ProbabilisticSceneRecognition::OcclusionTermEvaluator::visualize
void visualize(std::vector< ISM::Object > pEvidenceList)
Definition:
OcclusionTermEvaluator.cpp:82
ProbabilisticSceneRecognition::OcclusionTermEvaluator::initializeVisualizer
void initializeVisualizer(boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mSuperior)
Definition:
OcclusionTermEvaluator.cpp:39
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54