#include <ReferenceTestSetGenerator.h>
Public Member Functions | |
ReferenceTestSetGenerator (boost::shared_ptr< AbstractTopologyEvaluator > pEvaluator, boost::shared_ptr< SceneModel::Topology > pFullyMeshedTopology, const std::vector< std::string > &pObjectTypes) | |
~ReferenceTestSetGenerator () | |
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 the absolute pose of a random reference object and the poses relative to that object for all others.
Definition at line 28 of file ReferenceTestSetGenerator.h.
ProbabilisticSceneRecognition::ReferenceTestSetGenerator::ReferenceTestSetGenerator | ( | 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 ReferenceTestSetGenerator.cpp.
ProbabilisticSceneRecognition::ReferenceTestSetGenerator::~ReferenceTestSetGenerator | ( | ) |
Destructor.
Definition at line 26 of file ReferenceTestSetGenerator.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 ReferenceTestSetGenerator.cpp.