Basic class for improving model knowledge. More...
#include <VisLearner.h>
Basic class for improving model knowledge.
class VisLearner
Definition at line 52 of file VisLearner.h.
VisLearner::VisLearner | ( | XMLTag * | tag, |
SignatureDB & | sigDB, | ||
ImageInputSystem & | imgSys, | ||
bool | bLearning = true |
||
) |
Constructor
Definition at line 49 of file VisLearner.cpp.
VisLearner::~VisLearner | ( | ) | [virtual] |
Empty Destructor
Definition at line 77 of file VisLearner.cpp.
cop::VisLearner::VisLearner | ( | ) | [private] |
void VisLearner::AddAlgorithm | ( | Algorithm< Descriptor * > * | alg | ) |
Definition at line 169 of file VisLearner.cpp.
void VisLearner::AddAlgorithm | ( | Algorithm< ImprovedPose > * | alg | ) |
Definition at line 173 of file VisLearner.cpp.
Signature * VisLearner::GetObjectSignature | ( | int | index | ) |
index |
index |
Definition at line 349 of file VisLearner.cpp.
const AlgorithmSelector<ImprovedPose>& cop::VisLearner::GetProoveAlgorithmSelection | ( | ) | [inline] |
Definition at line 120 of file VisLearner.h.
const AlgorithmSelector<Descriptor* >& cop::VisLearner::GetRefineAlgorithmSelection | ( | ) | [inline] |
Definition at line 119 of file VisLearner.h.
VisLearner& cop::VisLearner::operator= | ( | VisLearner & | ) | [inline, private] |
Definition at line 142 of file VisLearner.h.
SignatureLocations_t VisLearner::ProoveObject | ( | PossibleLocations_t * | lastKnownPoses, |
PerceptionPrimitive & | visPrim, | ||
int & | numOfObjects | ||
) |
tries to validate information of the given Signature
ProoveObject
lastKnownPoses | a list of estimated location to start with, can be empty |
visPrim | the object that should be refined |
numOfObjects | maximal number of similar objects to be returned, will be overwritten on return |
TODO, set evaluation
Definition at line 265 of file VisLearner.cpp.
double VisLearner::RefineObject | ( | Signature & | sig | ) |
object |
sig |
Definition at line 319 of file VisLearner.cpp.
SignatureLocations_t VisLearner::RefineObject | ( | PossibleLocations_t * | lastKnownPoses, |
PerceptionPrimitive & | visPrim, | ||
int & | numOfObjects | ||
) |
tries to gather information of the given Signature
RefineObject
lastKnownPoses | a list of estimated location to start with, can be empty |
visPrim | the object that should be refined |
numOfObjects | maximal number of similar objects to be returned, will be overwritten on return |
lastKnownPoses | |
sig | |
numOfObjects |
We found at least one alg,
Definition at line 184 of file VisLearner.cpp.
XMLTag * VisLearner::Save | ( | ) |
Definition at line 336 of file VisLearner.cpp.
void VisLearner::threadfunc | ( | ) |
Definition at line 91 of file VisLearner.cpp.
Definition at line 134 of file VisLearner.h.
ImageInputSystem& cop::VisLearner::m_imageSys [private] |
Definition at line 128 of file VisLearner.h.
AlgorithmSelector<Descriptor* > cop::VisLearner::m_refinements [private] |
Definition at line 133 of file VisLearner.h.
SignatureDB& cop::VisLearner::m_signatureDB [private] |
Definition at line 127 of file VisLearner.h.
Statistics cop::VisLearner::m_stats [private] |
Definition at line 129 of file VisLearner.h.
std::vector<std::pair<TaskID, Signature*> > cop::VisLearner::m_taskList [private] |
Definition at line 132 of file VisLearner.h.
bool VisLearner::s_Learning = false [static, private] |
Definition at line 139 of file VisLearner.h.
bool VisLearner::s_Running = true [static, private] |
Definition at line 140 of file VisLearner.h.