#include <AbsoluteTestSetGenerator.h>
Public Member Functions | |
AbsoluteTestSetGenerator (boost::shared_ptr< AbstractTopologyEvaluator > pEvaluator, boost::shared_ptr< SceneModel::Topology > pFullyMeshedTopology, const std::vector< std::string > &pObjectTypes) | |
~AbsoluteTestSetGenerator () | |
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 absolute poses and no special reference object.
Definition at line 28 of file AbsoluteTestSetGenerator.h.
ProbabilisticSceneRecognition::AbsoluteTestSetGenerator::AbsoluteTestSetGenerator | ( | 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 AbsoluteTestSetGenerator.cpp.
ProbabilisticSceneRecognition::AbsoluteTestSetGenerator::~AbsoluteTestSetGenerator | ( | ) |
Destructor.
Definition at line 26 of file AbsoluteTestSetGenerator.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 AbsoluteTestSetGenerator.cpp.