Main Page
Namespaces
Classes
Files
File List
File Members
include
inference
model
foreground
ocm
shape
GaussianMixtureDistribution.h
Go to the documentation of this file.
1
18
#pragma once
19
20
// Package includes
21
#include <Eigen/Core>
22
#include <Eigen/Geometry>
23
24
#include <boost/foreach.hpp>
25
#include <boost/lexical_cast.hpp>
26
#include <boost/property_tree/ptree.hpp>
27
28
#include <Pose.h>
29
30
#include <visualization/psm/ProbabilisticSecondarySceneObjectVisualization.h>
31
32
// Local includes
33
#include "
inference/model/foreground/ocm/shape/GaussianKernel.h
"
34
35
#include <ISM/common_type/Pose.hpp>
36
37
namespace
ProbabilisticSceneRecognition
{
38
42
class
GaussianMixtureDistribution
{
43
public
:
44
50
GaussianMixtureDistribution
(
unsigned
int
pDimension);
51
55
~GaussianMixtureDistribution
();
56
63
void
load
(boost::property_tree::ptree& pPt, std::string pNode);
64
70
void
initializeVisualizer
(
boost::shared_ptr<Visualization::ProbabilisticSecondarySceneObjectVisualization>
pVisualizer);
71
78
void
visualize
(
boost::shared_ptr<Visualization::ProbabilisticSecondarySceneObjectVisualization>
pVisualizer,
79
boost::shared_ptr<ISM::Pose>
pPose);
80
86
double
evaluate
(
boost::shared_ptr<ISM::Pose>
pPose);
87
88
private
:
89
96
Eigen::VectorXd
getVectorFromObject
(
boost::shared_ptr<ISM::Pose>
pPose);
97
98
private
:
99
103
unsigned
int
mDimension
;
104
108
std::vector<PSMInference::GaussianKernel>
mKernels
;
109
};
110
}
ProbabilisticSceneRecognition::GaussianMixtureDistribution::visualize
void visualize(boost::shared_ptr< Visualization::ProbabilisticSecondarySceneObjectVisualization > pVisualizer, boost::shared_ptr< ISM::Pose > pPose)
Definition:
GaussianMixtureDistribution.cpp:74
ProbabilisticSceneRecognition::GaussianMixtureDistribution
Definition:
GaussianMixtureDistribution.h:42
ProbabilisticSceneRecognition::GaussianMixtureDistribution::mKernels
std::vector< PSMInference::GaussianKernel > mKernels
Definition:
GaussianMixtureDistribution.h:108
ProbabilisticSceneRecognition::GaussianMixtureDistribution::~GaussianMixtureDistribution
~GaussianMixtureDistribution()
Definition:
GaussianMixtureDistribution.cpp:27
ProbabilisticSceneRecognition::GaussianMixtureDistribution::GaussianMixtureDistribution
GaussianMixtureDistribution(unsigned int pDimension)
Definition:
GaussianMixtureDistribution.cpp:22
ProbabilisticSceneRecognition::GaussianMixtureDistribution::initializeVisualizer
void initializeVisualizer(boost::shared_ptr< Visualization::ProbabilisticSecondarySceneObjectVisualization > pVisualizer)
Definition:
GaussianMixtureDistribution.cpp:51
boost::shared_ptr< Visualization::ProbabilisticSecondarySceneObjectVisualization >
ProbabilisticSceneRecognition::GaussianMixtureDistribution::load
void load(boost::property_tree::ptree &pPt, std::string pNode)
Definition:
GaussianMixtureDistribution.cpp:31
ProbabilisticSceneRecognition::GaussianMixtureDistribution::mDimension
unsigned int mDimension
Definition:
GaussianMixtureDistribution.h:103
ProbabilisticSceneRecognition
Definition:
MappedProbabilityTable.h:33
ProbabilisticSceneRecognition::GaussianMixtureDistribution::evaluate
double evaluate(boost::shared_ptr< ISM::Pose > pPose)
Definition:
GaussianMixtureDistribution.cpp:58
ProbabilisticSceneRecognition::GaussianMixtureDistribution::getVectorFromObject
Eigen::VectorXd getVectorFromObject(boost::shared_ptr< ISM::Pose > pPose)
Definition:
GaussianMixtureDistribution.cpp:85
GaussianKernel.h
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54