All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
cop::VisLearner Class Reference

Basic class for improving model knowledge. More...

#include <VisLearner.h>

List of all members.

Public Member Functions

void AddAlgorithm (Algorithm< Descriptor * > *)
void AddAlgorithm (Algorithm< ImprovedPose > *)
SignatureGetObjectSignature (int index)
const AlgorithmSelector
< ImprovedPose > & 
GetProoveAlgorithmSelection ()
const AlgorithmSelector
< Descriptor * > & 
GetRefineAlgorithmSelection ()
SignatureLocations_t ProoveObject (PossibleLocations_t *lastKnownPoses, PerceptionPrimitive &visPrim, int &numOfObjects)
 tries to validate information of the given Signature
double RefineObject (Signature &object)
SignatureLocations_t RefineObject (PossibleLocations_t *lastKnownPoses, PerceptionPrimitive &visPrim, int &numOfObjects)
 tries to gather information of the given Signature
XMLTagSave ()
void threadfunc ()
 VisLearner (XMLTag *tag, SignatureDB &sigDB, ImageInputSystem &imgSys, bool bLearning=true)
virtual ~VisLearner ()

Private Member Functions

VisLearneroperator= (VisLearner &)
 VisLearner ()

Private Attributes

AlgorithmSelector< ImprovedPosem_checks
ImageInputSystemm_imageSys
AlgorithmSelector< Descriptor * > m_refinements
SignatureDBm_signatureDB
Statistics m_stats
std::vector< std::pair< TaskID,
Signature * > > 
m_taskList

Static Private Attributes

static bool s_Learning = false
static bool s_Running = true

Detailed Description

Basic class for improving model knowledge.

class VisLearner

Definition at line 52 of file VisLearner.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

Definition at line 169 of file VisLearner.cpp.

Definition at line 173 of file VisLearner.cpp.

Returns:
Signature*
Parameters:
index
Returns:
Signature
Parameters:
index

Definition at line 349 of file VisLearner.cpp.

Definition at line 120 of file VisLearner.h.

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

Returns:
the signature and similar signatures with their locations
Parameters:
lastKnownPosesa list of estimated location to start with, can be empty
visPrimthe object that should be refined
numOfObjectsmaximal number of similar objects to be returned, will be overwritten on return

TODO, set evaluation

Definition at line 265 of file VisLearner.cpp.

Returns:
double
Parameters:
object
Returns:
double
Parameters:
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

Returns:
the signature and similar signatures with their locations
Parameters:
lastKnownPosesa list of estimated location to start with, can be empty
visPrimthe object that should be refined
numOfObjectsmaximal number of similar objects to be returned, will be overwritten on return
Returns:
SignatureLocations_t
Parameters:
lastKnownPoses
sig
numOfObjects

We found at least one alg,

Definition at line 184 of file VisLearner.cpp.

Definition at line 336 of file VisLearner.cpp.

Definition at line 91 of file VisLearner.cpp.


Member Data Documentation

Definition at line 134 of file VisLearner.h.

Definition at line 128 of file VisLearner.h.

Definition at line 133 of file VisLearner.h.

Definition at line 127 of file VisLearner.h.

Definition at line 129 of file VisLearner.h.

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


cognitive_perception
Author(s): Ulrich F Klank
autogenerated on Thu May 23 2013 07:38:35