Public Member Functions | Private Attributes | List of all members
ProbabilisticSceneRecognition::GaussianMixtureModel Class Reference

#include <GaussianMixtureModel.h>

Public Member Functions

void addKernel (const PSMLearner::GaussianKernel &pKernel)
 
 GaussianMixtureModel ()
 
std::vector< PSMLearner::GaussianKernelgetKernels () const
 
unsigned int getNumberOfKernels ()
 
void initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticSecondarySceneObjectVisualization > mSuperior)
 
void normalizeWeights ()
 
void save (boost::property_tree::ptree &pPt, std::string pNode)
 
 ~GaussianMixtureModel ()
 

Private Attributes

std::vector< PSMLearner::GaussianKernelmKernels
 

Detailed Description

This class is a wrapper for a gaussian mixture model (GMM).

Author
Joachim Gehrung
Version
See SVN

Definition at line 40 of file GaussianMixtureModel.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::GaussianMixtureModel::GaussianMixtureModel ( )

Constructor.

Definition at line 22 of file GaussianMixtureModel.cpp.

ProbabilisticSceneRecognition::GaussianMixtureModel::~GaussianMixtureModel ( )

Destructor.

Definition at line 26 of file GaussianMixtureModel.cpp.

Member Function Documentation

void ProbabilisticSceneRecognition::GaussianMixtureModel::addKernel ( const PSMLearner::GaussianKernel pKernel)

Adds a kernel to the distribution.

Parameters
pKernelThe kernel to add.

Definition at line 30 of file GaussianMixtureModel.cpp.

std::vector< PSMLearner::GaussianKernel > ProbabilisticSceneRecognition::GaussianMixtureModel::getKernels ( ) const

returns the kernels of the GMM

Returns
The kernels of the GMM

Definition at line 77 of file GaussianMixtureModel.cpp.

unsigned int ProbabilisticSceneRecognition::GaussianMixtureModel::getNumberOfKernels ( )

Returns the number of kernels.

Returns
The number of kernels.

Definition at line 54 of file GaussianMixtureModel.cpp.

void ProbabilisticSceneRecognition::GaussianMixtureModel::initializeVisualizer ( boost::shared_ptr< Visualization::ProbabilisticSecondarySceneObjectVisualization >  mSuperior)

Initializes the visualization mechanism.

Parameters
mSuperiorThe superior visualizer coordinating the scene visualizers.

Definition at line 59 of file GaussianMixtureModel.cpp.

void ProbabilisticSceneRecognition::GaussianMixtureModel::normalizeWeights ( )

Normalizes the weights to sum up to one. This is necessary after removing duplicate kernels.

Definition at line 41 of file GaussianMixtureModel.cpp.

void ProbabilisticSceneRecognition::GaussianMixtureModel::save ( boost::property_tree::ptree &  pPt,
std::string  pNode 
)

Saves the content to XML.

Parameters
pPtDatastructure for handling XML operations.
pNodeThe name of the XML node that should contain the distribution.

Definition at line 65 of file GaussianMixtureModel.cpp.

Member Data Documentation

std::vector<PSMLearner::GaussianKernel> ProbabilisticSceneRecognition::GaussianMixtureModel::mKernels
private

The gaussian kernels the GMM is made of.

Definition at line 98 of file GaussianMixtureModel.h.


The documentation for this class was generated from the following files:


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 04:00:09