#include <OcmForegroundSceneLearner.h>
Public Member Functions | |
void | initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization > mSuperior) |
void | learn () |
OcmForegroundSceneLearner (const ISM::ObjectSetPtr pExample) | |
void | save (boost::property_tree::ptree &pPt) |
~OcmForegroundSceneLearner () | |
Public Member Functions inherited from ProbabilisticSceneRecognition::ForegroundSceneLearner | |
ForegroundSceneLearner (const ISM::ObjectSetPtr pExample) | |
void | setClusteringParameters (double pStaticBreakRatio, double pTogetherRatio, double pMaxAngleDeviation) |
virtual | ~ForegroundSceneLearner () |
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 | |
std::vector< boost::shared_ptr< SceneObjectLearner > > | mSceneObjectLearners |
boost::shared_ptr< Visualization::ProbabilisticSceneVisualization > | mVisualizer |
Additional Inherited Members | |
Protected Attributes inherited from ProbabilisticSceneRecognition::ForegroundSceneLearner | |
double | mMaxAngleDeviation |
double | mStaticBreakRatio |
double | mTogetherRatio |
Protected Attributes inherited from ProbabilisticSceneRecognition::SceneLearner | |
std::vector< ISM::ObjectSetPtr > | mExamplesList |
double | mPriori |
std::string | mSceneName |
double | mWorkspaceVolume |
A learner for a foreground scene based on the OCM.
Definition at line 56 of file OcmForegroundSceneLearner.h.
ProbabilisticSceneRecognition::OcmForegroundSceneLearner::OcmForegroundSceneLearner | ( | const ISM::ObjectSetPtr | pExample | ) |
Constructor.
pExample | A ISM::ObjectSet containing object observation trajectories. |
Definition at line 22 of file OcmForegroundSceneLearner.cpp.
ProbabilisticSceneRecognition::OcmForegroundSceneLearner::~OcmForegroundSceneLearner | ( | ) |
Destructor.
Definition at line 27 of file OcmForegroundSceneLearner.cpp.
|
virtual |
Initializes the visualization mechanism.
mSuperior | The superior visualizer coordinating the scene visualizers. |
Implements ProbabilisticSceneRecognition::ForegroundSceneLearner.
Definition at line 31 of file OcmForegroundSceneLearner.cpp.
|
virtual |
Learns the scene.
Implements ProbabilisticSceneRecognition::ForegroundSceneLearner.
Definition at line 65 of file OcmForegroundSceneLearner.cpp.
|
virtual |
Saves the scene to XML file.
pPt | Datastructure for handling XML operations. |
Implements ProbabilisticSceneRecognition::ForegroundSceneLearner.
Definition at line 47 of file OcmForegroundSceneLearner.cpp.
|
private |
A list of all scene object learners.
Definition at line 95 of file OcmForegroundSceneLearner.h.
|
private |
Coordinates the primary scene object visualization.
Definition at line 100 of file OcmForegroundSceneLearner.h.