#include <RelativeTestSetGenerator.h>
Public Member Functions | |
RelativeTestSetGenerator (boost::shared_ptr< AbstractTopologyEvaluator > pEvaluator, boost::shared_ptr< SceneModel::Topology > pFullyMeshedTopology, const std::vector< std::string > &pObjectTypes) | |
~RelativeTestSetGenerator () | |
Public Member Functions inherited from ProbabilisticSceneRecognition::TestSetGenerator | |
void | generateTestSets (std::vector< boost::shared_ptr< ISM::ObjectSet >> pExamplesList, unsigned int pTestSetCount) |
TestSetGenerator (boost::shared_ptr< AbstractTopologyEvaluator > pEvaluator, boost::shared_ptr< SceneModel::Topology > pFullyMeshedTopology, const std::vector< std::string > &pObjectTypes) | |
~TestSetGenerator () | |
Private Member Functions | |
virtual std::vector< boost::shared_ptr< TestSet > > | generateRandomSets (std::vector< boost::shared_ptr< ISM::ObjectSet >> pExamplesList, unsigned int pTestSetCount) |
Additional Inherited Members | |
Protected Member Functions inherited from ProbabilisticSceneRecognition::TestSetGenerator | |
void | setPoseOfObjectRelativeToReference (ISM::ObjectPtr pObject, ISM::ObjectPtr pReference) |
Protected Attributes inherited from ProbabilisticSceneRecognition::TestSetGenerator | |
PrintHelper | mPrintHelper |
std::vector< std::string > | mTypes |
Generates test sets by randomly picking poses for each object from different points in time on the given trajectories. Uses their poses relative to a random reference object. The pose of the reference is also relative to itself.
Definition at line 28 of file RelativeTestSetGenerator.h.
ProbabilisticSceneRecognition::RelativeTestSetGenerator::RelativeTestSetGenerator | ( | boost::shared_ptr< AbstractTopologyEvaluator > | pEvaluator, |
boost::shared_ptr< SceneModel::Topology > | pFullyMeshedTopology, | ||
const std::vector< std::string > & | pObjectTypes | ||
) |
Constructor
pEvaluator | evaluator used to validate test sets. |
pFullyMeshedTopology | fully meshed topology used to validate test sets. |
pObjectTypes | types of objects appearing in test sets (once each). |
Definition at line 22 of file RelativeTestSetGenerator.cpp.
ProbabilisticSceneRecognition::RelativeTestSetGenerator::~RelativeTestSetGenerator | ( | ) |
Destructor.
Definition at line 26 of file RelativeTestSetGenerator.cpp.
|
privatevirtual |
Generate random test sets.
pExamplesList | list of object observations serving as basis of the test sets. |
pTestSetCount | number of test sets to generate. |
Implements ProbabilisticSceneRecognition::TestSetGenerator.
Definition at line 29 of file RelativeTestSetGenerator.cpp.