Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

Impala::Core::Tracking::TrackerGeneralised Class Reference

This class implements a tracker in terms of a SearcherBase and an ObjectRespresentation. More...

#include <TrackerGeneralised.h>

Inheritance diagram for Impala::Core::Tracking::TrackerGeneralised:

Inheritance graph
[legend]
Collaboration diagram for Impala::Core::Tracking::TrackerGeneralised:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TrackerGeneralised (SearcherBase *s=0, ObjectRepresentation *o=0)
virtual ~TrackerGeneralised ()
virtual void Initialize (Array::Array2dVec3UInt8 *input, Tracking::FrameRegion *startPos, FrameRegionTable *resultTrack)
void Process (Array::Array2dVec3UInt8 *input)
 actual tracking:
bool ObjectVisible ()
 returns true if some part of the object lies within the image.
Position GetPosition ()
 returns the last position of the tracked object

Protected Member Functions

void Clip (Position &pos)
 Actually we shouldn't clip at all, rather we should handle the situation that the object is (partially) outside the scene, when updating the object and when searching.
virtual void NewPosition (int left, int top, int right, int bottom)
 resets the position, normally used to start a new track

Protected Attributes

ObjectRepresentationmObject
SearcherBasemSearcher
int mWidth
int mHeight
FrameRegionTablemTrack
Array::Array2dVec3UInt8mScratch
Array::Array2dVec3Real64mInput
 the image from the data source is copied to this image, the image has a border that should be big enough for all computations
Position mPosition
 mPosition is used to represent which part of the image is the object.

Static Protected Attributes

static log4cpp::Category & sLog

Detailed Description

This class implements a tracker in terms of a SearcherBase and an ObjectRespresentation.

In this way we don't have to duplicate code that is independant of searching strategy and object representation.

Definition at line 22 of file TrackerGeneralised.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 13 09:21:07 2011 for ImpalaSrc by  doxygen 1.5.1