VisualTracker Class Reference

Inheritance diagram for VisualTracker:
Inheritance graph
[legend]
Collaboration diagram for VisualTracker:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 VisualTracker (OptionManager &mgr, const std::string &descrName="VisualTracker", const std::string &tagName="VisualTracker")
void start2 ()
 This is called from within start() after the subcomponents have started.
void initTracker (Dims imageDims)
 initalize the tracker
void setTargets (const Image< byte > &grey, const Point2D< int > loc)
 Set the target point to track.
void setTargets (const Image< byte > &grey, const Image< byte > &target)
 Set the target as a region to track.
Point2D< int > trackObjects (const Image< byte > &grey)
 Get the location of track points.
Point2D< int > trackTemplObject (const Image< byte > &grey, double &err)
 Get the location of track objects.

Protected Member Functions

 SIMCALLBACK_DECLARE (VisualTracker, SimEventInputFrame)
 Callback for when a new input frame is available.
 SIMCALLBACK_DECLARE (VisualTracker, SimEventSetVisualTracker)

Detailed Description

Definition at line 53 of file VisualTracker.H.


Member Function Documentation

void VisualTracker::initTracker ( Dims  imageDims  ) 

initalize the tracker

Definition at line 150 of file VisualTracker.C.

References ZEROS.

Referenced by setTargets().

void VisualTracker::setTargets ( const Image< byte > &  grey,
const Image< byte > &  target 
)

Set the target as a region to track.

Definition at line 261 of file VisualTracker.C.

References Image< T >::getDims(), img2ipl(), and initTracker().

void VisualTracker::setTargets ( const Image< byte > &  grey,
const Point2D< int >  loc 
)

Set the target point to track.

Definition at line 215 of file VisualTracker.C.

References Image< T >::getDims(), Point2D< T >::i, img2ipl(), initTracker(), and Point2D< T >::isValid().

VisualTracker::SIMCALLBACK_DECLARE ( VisualTracker  ,
SimEventInputFrame   
) [protected]

Callback for when a new input frame is available.

void VisualTracker::start2 (  )  [virtual]

This is called from within start() after the subcomponents have started.

Reimplemented from ModelComponent.

Definition at line 146 of file VisualTracker.C.

Point2D< int > VisualTracker::trackObjects ( const Image< byte > &  grey  ) 
Point2D< int > VisualTracker::trackTemplObject ( const Image< byte > &  grey,
double &  err 
)

Get the location of track objects.

Definition at line 282 of file VisualTracker.C.

References Image< T >::getHeight(), Image< T >::getWidth(), Point2D< T >::i, img2ipl(), and Image< T >::initialized().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:26:46 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3