#include <BackgroundSceneLearner.h>
Public Member Functions | |
BackgroundSceneLearner () | |
void | initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization > mSuperior) |
void | learn () |
void | save (boost::property_tree::ptree &pPt) |
~BackgroundSceneLearner () | |
Public Member Functions inherited from ProbabilisticSceneRecognition::SceneLearner | |
void | addExampleToScene (const ISM::ObjectSetPtr pExample) |
bool | isExampleForScene (const ISM::ObjectSetPtr pExample) |
SceneLearner (std::string pSceneName) | |
SceneLearner () | |
void | setPriori (double pPriori) |
void | setVolumeOfWorkspace (double pValue) |
virtual | ~SceneLearner () |
Private Attributes | |
unsigned int | mMaximalNumberOfObjects |
Additional Inherited Members | |
Protected Attributes inherited from ProbabilisticSceneRecognition::SceneLearner | |
std::vector< ISM::ObjectSetPtr > | mExamplesList |
double | mPriori |
std::string | mSceneName |
double | mWorkspaceVolume |
A learner for the background scene.
Definition at line 44 of file BackgroundSceneLearner.h.
ProbabilisticSceneRecognition::BackgroundSceneLearner::BackgroundSceneLearner | ( | ) |
Constructor.
Definition at line 22 of file BackgroundSceneLearner.cpp.
ProbabilisticSceneRecognition::BackgroundSceneLearner::~BackgroundSceneLearner | ( | ) |
Destructor.
Definition at line 28 of file BackgroundSceneLearner.cpp.
|
virtual |
Initializes the visualization mechanism.
mSuperior | The superior visualizer coordinating the scene visualizers. |
Implements ProbabilisticSceneRecognition::SceneLearner.
Definition at line 32 of file BackgroundSceneLearner.cpp.
|
virtual |
Learns the scene.
Implements ProbabilisticSceneRecognition::SceneLearner.
Definition at line 55 of file BackgroundSceneLearner.cpp.
|
virtual |
Saves the scene to XML file.
pPt | Datastructure for handling XML operations. |
Implements ProbabilisticSceneRecognition::SceneLearner.
Definition at line 37 of file BackgroundSceneLearner.cpp.
|
private |
The maximal number of objects existing in the world. Because we assume that there is only one instance per object class, this variable equals the number of all object classes.
Definition at line 81 of file BackgroundSceneLearner.h.