Public Member Functions | Public Attributes | Private Attributes
cop::VisFinder Class Reference

Basic class for loacting objects. More...

#include <VisFinder.h>

List of all members.

Public Member Functions

void AddAlgorithm (Algorithm< std::vector< RelPose * > > *alg)
 Adds a new Algorithm to the visual finder.
int CountAlgorithms ()
const AlgorithmSelector
< std::vector< RelPose * > > & 
GetAlgorithmSelection ()
bool GetPlaneClusterCall (PossibleLocations_t *poses, RelPose *, PerceptionPrimitive &obj, const std::vector< Sensor * > &sensors)
virtual SignatureLocations_t Locate (PossibleLocations_t *lastKnownPoses, PerceptionPrimitive &object, int &numOfObjects)
 locates the class or object that is specified by object, updates its signature if it succeeds, sets the numOfObjects, returns a SignatureLocations_t.
VisFinderoperator= (VisFinder &)
virtual RelPoseRelTwoObjects (const RelPose &pose, Signature &sig1, Signature &sig2)
virtual XMLTagSave ()
virtual void StartTrack (PerceptionPrimitive &object, RelPose *pose)
virtual void StopTrack (Signature &object)
 VisFinder (XMLTag *configFile, ImageInputSystem *imageSystem, SignatureDB *db, AttentionManager *manager, VisLearner *visLearner)
 constructs a visual finder
virtual ~VisFinder ()

Public Attributes

AttentionManagerm_attentionMan
ImageInputSystemm_imageSys
SignatureDBm_sigdb
VisLearnerm_visLearner

Private Attributes

std::map< int, TrackAlgorithm * > m_runningTracks
AlgorithmSelector< std::vector
< RelPose * > > 
m_selLocate

Detailed Description

Basic class for loacting objects.

class VisFinder

Definition at line 47 of file VisFinder.h.


Constructor & Destructor Documentation

VisFinder::VisFinder ( XMLTag configFile,
ImageInputSystem imageSystem,
SignatureDB db,
AttentionManager manager,
VisLearner visLearner 
)

constructs a visual finder

Constructor VisFinder

Parameters:
configFileconfiguation of the visual finder, menaing which algorithms are in it
imageSystemreference to the camera setup ussed to get images from
dbreference the the signature database used for looking up model information
managerAttention Manager, not specified
visLearnerreference to the model improver can be triggered by the visual finder #ifdef LOGFILE
logthe central logfile #endif

Definition at line 53 of file VisFinder.cpp.

VisFinder::~VisFinder ( ) [virtual]

Empty Destructor

Definition at line 70 of file VisFinder.cpp.


Member Function Documentation

void VisFinder::AddAlgorithm ( Algorithm< std::vector< RelPose * > > *  alg)

Adds a new Algorithm to the visual finder.

AddAlgorithm

Parameters:
algthe algorithm that should be added to the list of algorithms available

AddAlgorithm

Parameters:
alg

Definition at line 381 of file VisFinder.cpp.

Return num of Algorithms in the visual finder

Definition at line 136 of file VisFinder.h.

Definition at line 138 of file VisFinder.h.

bool VisFinder::GetPlaneClusterCall ( PossibleLocations_t poses,
RelPose pose,
PerceptionPrimitive obj,
const std::vector< Sensor * > &  sensors 
)

Checks if there is a the possibility to create search spaces, if there are no given

Parameters:
posesresulting poses
objtype of this could be relevant
sensorslist of available sensors, should contain a 3D sensor

Definition at line 96 of file VisFinder.cpp.

SignatureLocations_t VisFinder::Locate ( PossibleLocations_t lastKnownPoses,
PerceptionPrimitive visPrim,
int &  numOfObjects 
) [virtual]

locates the class or object that is specified by object, updates its signature if it succeeds, sets the numOfObjects, returns a SignatureLocations_t.

Locate

Parameters:
lastKnownPosesa list of possible positions and the a-prioi probabilitiers for the object beeing at this position
objectthe signature that will be searched for
numOfObjects
Returns:
a list of position, sorted by score
RelPose
Parameters:
LastKnownPose
Object
numOfObjects

Collect results and measure time

Make results sortable

Sort results

Definition at line 139 of file VisFinder.cpp.

VisFinder& cop::VisFinder::operator= ( VisFinder ) [inline]

Definition at line 80 of file VisFinder.h.

RelPose * VisFinder::RelTwoObjects ( const RelPose Pose,
Signature Obj1,
Signature Obj2 
) [virtual]

Not yet finished, concept not yet integrated

Parameters:
pose
sig1
sig2
Returns:
RelPose
RelPose
Parameters:
CurImage
Pose
Obj1
Obj2

Definition at line 371 of file VisFinder.cpp.

XMLTag * VisFinder::Save ( ) [virtual]

Saves the Visual Finder

Saves the status of the Visual Finder

Definition at line 88 of file VisFinder.cpp.

void VisFinder::StartTrack ( PerceptionPrimitive visPrim,
RelPose poseEstimation 
) [virtual]

Starts a thread tracks the object specified with object

Parameters:
objectcontains a trackable signature and the vision primitive id
poseintial guess of the pose of the trackable object
Object
poseEstimation

TODO: Check how to include Locating and special Tracking algorithms

Definition at line 315 of file VisFinder.cpp.

void VisFinder::StopTrack ( Signature object) [virtual]

Stops the thread that tracks the object specified with object

Parameters:
objectcontains a trackable signature
Object

Definition at line 353 of file VisFinder.cpp.


Member Data Documentation

Definition at line 149 of file VisFinder.h.

Definition at line 146 of file VisFinder.h.

Definition at line 144 of file VisFinder.h.

The list of algorithms and their type and evaluation

Definition at line 143 of file VisFinder.h.

Definition at line 147 of file VisFinder.h.

Definition at line 148 of file VisFinder.h.


The documentation for this class was generated from the following files:


cognitive_perception
Author(s): Ulrich F Klank
autogenerated on Mon Oct 6 2014 10:48:46