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

#include <TestSetSelection.h>

Public Member Functions

void removeMisclassifiedTestSets (double pRecognitionThreshold)
 
void removeUnusableTestSets (double &pMinValidProbability, double &pMaxInvalidProbability)
 
void takeXTestSets (unsigned int pTestSetCount)
 
 TestSetSelection (boost::shared_ptr< AbstractTopologyEvaluator > pEvaluator)
 
 ~TestSetSelection ()
 

Private Attributes

boost::shared_ptr< AbstractTopologyEvaluatormEvaluator
 
PrintHelper mPrintHelper
 

Detailed Description

This class can be used to filter out test sets loaded from files that are classified as valid or invalid incorrectly considering the Probabilistic Scene Model.

Definition at line 28 of file TestSetSelection.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::TestSetSelection::TestSetSelection ( boost::shared_ptr< AbstractTopologyEvaluator pEvaluator)

Constructor.

Parameters
pEvaluatorthe Evaluator that contains the test sets that should be filtered.

Definition at line 22 of file TestSetSelection.cpp.

ProbabilisticSceneRecognition::TestSetSelection::~TestSetSelection ( )

Destructor.

Definition at line 26 of file TestSetSelection.cpp.

Member Function Documentation

void ProbabilisticSceneRecognition::TestSetSelection::removeMisclassifiedTestSets ( double  pRecognitionThreshold)

Removes valid test sets below and invalid test sets above given recognition threshold.

Parameters
pRecognitionThresholdthreshold above which test sets are supposed to be classified as valid.

Definition at line 121 of file TestSetSelection.cpp.

void ProbabilisticSceneRecognition::TestSetSelection::removeUnusableTestSets ( double &  pMinValidProbability,
double &  pMaxInvalidProbability 
)

Removes unusable test sets from the evaluator. Test sets are considered unusable if they were loaded as valid or invalid but their probability when tested against the fully meshed topology was either lower than the highest invalid probability (in case of valid test sets) or higher than the smalles valid one.

Parameters
pMinValidProbabilitythe minimum probability of the valid test sets after the unsusable ones were removed.
pMaxInvalidProbabilitythe maximum probability of the invalid test sets after the unsusable ones were removed.

Definition at line 29 of file TestSetSelection.cpp.

void ProbabilisticSceneRecognition::TestSetSelection::takeXTestSets ( unsigned int  pTestSetCount)

If there are more than X = pTestSetCount test sets, take only X.

Parameters
pTestSetCountnumber of test sets to take.

Definition at line 145 of file TestSetSelection.cpp.

Member Data Documentation

boost::shared_ptr<AbstractTopologyEvaluator> ProbabilisticSceneRecognition::TestSetSelection::mEvaluator
private

The evaluator contains the test sets that should be filtered.

Definition at line 69 of file TestSetSelection.h.

PrintHelper ProbabilisticSceneRecognition::TestSetSelection::mPrintHelper
private

Helper used to print information as headers, marked with special dividers.

Definition at line 74 of file TestSetSelection.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