#include <AbstractTopologyEvaluator.h>
Public Member Functions | |
void | eraseInvalidTestSet (unsigned int pIndex) |
void | eraseValidTestSet (unsigned int pIndex) |
virtual bool | evaluate (boost::shared_ptr< SceneModel::Topology > pTopology, bool pFullyMeshed=false)=0 |
std::vector< boost::shared_ptr< TestSet > > | getInvalidTestSets () |
double | getRecognitionThreshold () |
std::vector< boost::shared_ptr< TestSet > > | getValidTestSets () |
void | setInvalidTestSets (const std::vector< boost::shared_ptr< TestSet >> &pInvalidTestSets) |
void | setRecognitionThreshold (double pRecognitionThreshold) |
void | setValidTestSets (const std::vector< boost::shared_ptr< TestSet >> &pValidTestSets) |
Protected Attributes | |
std::vector< boost::shared_ptr< TestSet > > | mInvalidTestSets |
double | mRecognitionThreshold |
std::vector< boost::shared_ptr< TestSet > > | mValidTestSets |
Tests learned models of topologies against valid and invalid test sets.
Definition at line 38 of file AbstractTopologyEvaluator.h.
void ProbabilisticSceneRecognition::AbstractTopologyEvaluator::eraseInvalidTestSet | ( | unsigned int | pIndex | ) |
erase the invalid Test Set at the given index.
pIndex | index of the invalid test set to erase. |
Definition at line 59 of file AbstractTopologyEvaluator.cpp.
void ProbabilisticSceneRecognition::AbstractTopologyEvaluator::eraseValidTestSet | ( | unsigned int | pIndex | ) |
erase the Valid Test Set at the given index.
pIndex | index of the valid test set to erase. |
Definition at line 52 of file AbstractTopologyEvaluator.cpp.
|
pure virtual |
Evaluate model learned on topology against test sets, write results to topology.
pTopology | to evaluate. |
pFullyMeshed | whether the topology to evaluate is the fully meshed one. |
Implemented in ProbabilisticSceneRecognition::TopologyEvaluator.
std::vector< boost::shared_ptr< TestSet > > ProbabilisticSceneRecognition::AbstractTopologyEvaluator::getInvalidTestSets | ( | ) |
Get invalid test sets.
Definition at line 37 of file AbstractTopologyEvaluator.cpp.
double ProbabilisticSceneRecognition::AbstractTopologyEvaluator::getRecognitionThreshold | ( | ) |
Get recognition threshold.
Definition at line 47 of file AbstractTopologyEvaluator.cpp.
std::vector< boost::shared_ptr< TestSet > > ProbabilisticSceneRecognition::AbstractTopologyEvaluator::getValidTestSets | ( | ) |
Get valid test sets.
Definition at line 27 of file AbstractTopologyEvaluator.cpp.
void ProbabilisticSceneRecognition::AbstractTopologyEvaluator::setInvalidTestSets | ( | const std::vector< boost::shared_ptr< TestSet >> & | pInvalidTestSets | ) |
Set invalid test sets.
pInvalidTestSets | invalid test sets to set. |
Definition at line 32 of file AbstractTopologyEvaluator.cpp.
void ProbabilisticSceneRecognition::AbstractTopologyEvaluator::setRecognitionThreshold | ( | double | pRecognitionThreshold | ) |
Set recognition threshold.
pRecognitionThreshold | recognition threshold to set. |
Definition at line 42 of file AbstractTopologyEvaluator.cpp.
void ProbabilisticSceneRecognition::AbstractTopologyEvaluator::setValidTestSets | ( | const std::vector< boost::shared_ptr< TestSet >> & | pValidTestSets | ) |
Set valid test sets.
pValidTestSets | valid test sets to set. |
Definition at line 22 of file AbstractTopologyEvaluator.cpp.
|
protected |
The test sets that resemble but do not represent the considered scene.
Definition at line 106 of file AbstractTopologyEvaluator.h.
|
protected |
Threshold above which (>) a probability is seen as high enough to represent a scene has been recognized.
Definition at line 112 of file AbstractTopologyEvaluator.h.
|
protected |
The test sets which represent the considered scene.
Definition at line 102 of file AbstractTopologyEvaluator.h.