#include <ForegroundSceneLearner.h>

Public Member Functions | |
| ForegroundSceneLearner (const ISM::ObjectSetPtr pExample) | |
| virtual void | initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization > mSuperior)=0 |
| virtual void | learn ()=0 |
| virtual void | save (boost::property_tree::ptree &pPt)=0 |
| 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 () |
Protected Attributes | |
| double | mMaxAngleDeviation |
| double | mStaticBreakRatio |
| double | mTogetherRatio |
Protected Attributes inherited from ProbabilisticSceneRecognition::SceneLearner | |
| std::vector< ISM::ObjectSetPtr > | mExamplesList |
| double | mPriori |
| std::string | mSceneName |
| double | mWorkspaceVolume |
Abstract learner for a foreground scene.
Definition at line 41 of file ForegroundSceneLearner.h.
| ProbabilisticSceneRecognition::ForegroundSceneLearner::ForegroundSceneLearner | ( | const ISM::ObjectSetPtr | pExample | ) |
Constructor.
| pExample | A ISM::ObjectSet containing object observation trajectories. |
Definition at line 23 of file ForegroundSceneLearner.cpp.
|
virtual |
Destructor.
Definition at line 30 of file ForegroundSceneLearner.cpp.
|
pure virtual |
Initializes the visualization mechanism.
| mSuperior | The superior visualizer coordinating the scene visualizers. |
Implements ProbabilisticSceneRecognition::SceneLearner.
Implemented in ProbabilisticSceneRecognition::OcmForegroundSceneLearner.
|
pure virtual |
Learns the scene.
Implements ProbabilisticSceneRecognition::SceneLearner.
Implemented in ProbabilisticSceneRecognition::OcmForegroundSceneLearner.
|
pure virtual |
Saves the scene to XML file.
| pPt | Datastructure for handling XML operations. |
Implements ProbabilisticSceneRecognition::SceneLearner.
Implemented in ProbabilisticSceneRecognition::OcmForegroundSceneLearner.
| void ProbabilisticSceneRecognition::ForegroundSceneLearner::setClusteringParameters | ( | double | pStaticBreakRatio, |
| double | pTogetherRatio, | ||
| double | pMaxAngleDeviation | ||
| ) |
Parameters for the clustering algorithm.
| pStaticBreakRatio | The maximum ration the relationship between two objects may break. |
| pTogetherRatio | The minimum ratio that two objects must be together. |
| pMaxAngleDeviation | Maximum angle deviation between two objects before counting as break. |
Definition at line 34 of file ForegroundSceneLearner.cpp.
|
protected |
Definition at line 88 of file ForegroundSceneLearner.h.
|
protected |
Parameters of heuristics used for hierarchical clustering.
Definition at line 88 of file ForegroundSceneLearner.h.
|
protected |
Definition at line 88 of file ForegroundSceneLearner.h.