#include <CombinatorialTrainer.hpp>
Public Member Functions | |
CombinatorialTrainer (CombinatorialTrainerParameters params) | |
std::map< std::string, std::pair< double, TreePtr > > | learn () |
Private Member Functions | |
const std::map< std::string, ISM::ObjectRelations > | calculateAllObjectRelations () |
bool | checkCorrectOrder (std::map< std::string, ISM::ObjectRelations > allObjectRelationsPerPattern) |
bool | containsAllObjects (const ISM::ObjectRelations &topology, const std::string &patternName) const |
std::pair< PatternNameToObjectSet, PatternNameToObjectSet > | createTestSets (double binSize, double maxAngleDeviation, double confidenceThreshold, unsigned int testSetCount) |
void | drawISM (unsigned ismId, std::string patternName, std::map< std::string, std::vector< VoteSpecifierPtr > > voteSpecifiersPerObject) |
std::string | genTimeString () |
const std::map< std::string, ISM::TracksPtr > | getRecordedObjectsTracks () |
TopologyValidationResultsPtr | getValidationResultsForPattern (std::string patternName) |
void | initStartTopologiesPerPattern (std::string loadStartTopologiesFrom) |
void | initTestSets (double binSize, double maxAngleDeviation, double confidenceThreshold, std::string loadValidTestSetsFrom, std::string loadInvalidTestSetsFrom, unsigned int testSetCount) |
std::map< std::string, IsmPtr > | learnFullyMeshedTopologyPerPattern (bool naive=false) |
PatternNameToObjectSet | loadTestSetsFromDB (std::string fileName) |
void | storePatternToDB (std::map< std::string, IsmPtr > bestISMPerPattern) |
void | storeTestSetsToDB (PatternNameToObjectSet testSet, const path dbFilePath, const std::string &type) |
Private Attributes | |
std::map< std::string, ISM::ObjectRelations > | allObjectRelationsPerPattern |
std::map< std::string, std::vector< ISM::ObjectRelationPtr > > | allSelfRelationsPerPattern |
path | mDBPath |
DocumentationHelperPtr | mDocumentationHelper |
std::map< std::string, IsmPtr > | mFullyMeshedTopologyPerPattern |
path | mOutputDataPath |
CombinatorialTrainerParameters | mParams |
std::map< std::string, std::vector< TopologyPtr > > | mStartTopologiesPerPattern |
std::pair< PatternNameToObjectSet, PatternNameToObjectSet > | mTestSets |
std::map< std::string, std::map< std::string, boost::filesystem::path > > | objectModelsPerPattern |
std::map< std::string, ISM::TracksPtr > | objectTracksPerPattern |
std::vector< std::string > | patternNames |
TableHelperPtr | tableHelper |
CombinatorialTrainer class. In opposite to the "Trainer" class, this class build a scene model depending only on the relevant relations between objects in the scene
Definition at line 53 of file CombinatorialTrainer.hpp.
ISM::CombinatorialTrainer::CombinatorialTrainer | ( | CombinatorialTrainerParameters | params | ) |
Definition at line 40 of file CombinatorialTrainer.cpp.
|
private |
Definition at line 209 of file CombinatorialTrainer.cpp.
|
private |
Definition at line 263 of file CombinatorialTrainer.cpp.
|
private |
Definition at line 306 of file CombinatorialTrainer.cpp.
|
private |
Definition at line 401 of file CombinatorialTrainer.cpp.
|
private |
|
private |
Definition at line 464 of file CombinatorialTrainer.cpp.
|
private |
Definition at line 164 of file CombinatorialTrainer.cpp.
|
private |
|
private |
Definition at line 477 of file CombinatorialTrainer.cpp.
|
private |
Definition at line 430 of file CombinatorialTrainer.cpp.
std::map< std::string, std::pair< double, TreePtr > > ISM::CombinatorialTrainer::learn | ( | ) |
Definition at line 102 of file CombinatorialTrainer.cpp.
|
private |
Definition at line 328 of file CombinatorialTrainer.cpp.
|
private |
Definition at line 384 of file CombinatorialTrainer.cpp.
|
private |
|
private |
Definition at line 346 of file CombinatorialTrainer.cpp.
|
private |
Definition at line 66 of file CombinatorialTrainer.hpp.
|
private |
Definition at line 68 of file CombinatorialTrainer.hpp.
|
private |
Definition at line 72 of file CombinatorialTrainer.hpp.
|
private |
Definition at line 74 of file CombinatorialTrainer.hpp.
|
private |
Definition at line 76 of file CombinatorialTrainer.hpp.
|
private |
Definition at line 71 of file CombinatorialTrainer.hpp.
|
private |
Definition at line 81 of file CombinatorialTrainer.hpp.
|
private |
Definition at line 77 of file CombinatorialTrainer.hpp.
|
private |
Definition at line 79 of file CombinatorialTrainer.hpp.
|
private |
Definition at line 70 of file CombinatorialTrainer.hpp.
|
private |
Definition at line 64 of file CombinatorialTrainer.hpp.
|
private |
Definition at line 62 of file CombinatorialTrainer.hpp.
|
private |
Definition at line 60 of file CombinatorialTrainer.hpp.