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

Impala::Core::Tracking::TrackerBackFore Class Reference

This is an implementation of the tracking algorithm proposed by Hieu T. More...

#include <TrackerBackFore.h>

Inheritance diagram for Impala::Core::Tracking::TrackerBackFore:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TrackerBackFore (CmdOptions &options)
virtual ~TrackerBackFore ()
void Initialize (Array::Array2dVec3UInt8 *startImage, Tracking::FrameRegion *startPos, FrameRegionTable *resultTrack)
void Process (Array::Array2dVec3UInt8 *image)
Array::Array2dVec3UInt8GetReconstruction ()
bool ObjectVisible ()
 returns true if part of the tracked object was visible in the last image
void GetFilterFromPosition (int x, int y, int &filterX, int &filterY)

Public Attributes

double mLikelyhood
double mInitialLikelyhood

Private Member Functions

void SearchObject ()
void UpdateObject ()
void NewPosition (int left, int top, int right, int bottom)
 basically starts a new track by resetting the position
void SetForeground ()
void FormBackground ()
 this function is called when there is a new position.
void ComputeBackgroundResponse (Array::Array2dScalarReal64 &background)
void FillSearchArea (Array::Array2dVec3Real64 *searchArea, int bw, int bh)
 This function fills the array searchArea with a part of mInput.

Private Attributes

FrameRegionTablemTrack
Array::Array2dVec3Real64mInput
Util::TimeStats mStats
int mHeight
int mWidth
Core::Geometry::Rectangle mPosition
Core::Geometry::PointZ mSampleOffset
Core::Geometry::Rectangle mBack [4]
int mBackMaxPoints
Array::Array2dVec3Real64mSearchKernel
Array::Array2dVec3UInt8mReconstruction
Array::Array2dScalarReal64mSearchResult
ClassifiermClassifier
int mSampleSpacing
int mFilterSize
int mDimensionality
int mDirectionCount
GaborFilterSet mGabor
std::ofstream mDebugFile

Static Private Attributes

static log4cpp::Category & sLog

Detailed Description

This is an implementation of the tracking algorithm proposed by Hieu T.

Nguyen and Arnold Smeulders in the paper "Tracking aspects of the foreground against the background".

Todo:
add parameters (such as sigma, number of orientations) to constructor (perhaps in struct)
Please note that for speed considerations a search area of 21x21 is used. It might be possible to use the abstraction SearcherBase, so that the foreground/background tracker can be used with other seatch strategies.

Definition at line 46 of file TrackerBackFore.h.


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