segmentImageTrack Class Reference

Collaboration diagram for segmentImageTrack:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 segmentImageTrack ()
 set up tracker one time, input max blobs and a linked image segmenter
 segmentImageTrack (int initSize)
 segmentImageTrack (int initSize, segmentImage *seg)
void setImage (segmentImage *seg)
 insert image into object
void setUpVars (int initSize)
 set up variables
void track (float _levity=0)
 track this object
int getObjectX ()
 get centroid of object in X
int getObjectY ()
 get centroid of object in Y
int getXmin ()
 get boundry of object minimum X
int getXmax ()
 get boundry of object maximum X
int getYmin ()
 get boundry of object minimum Y
int getYmax ()
 get boundry of object maximum Y
int getMass ()
 get mass of object
bool isCandidate (int blob)
 tell if this blob is still a candidate
bool isSoftCandidate (int blob)
 tell if this blob is a soft candidate
bool wasKilledByTrack (int blob)
 tells if candidicy was removed by this class and not externally
void setCandidate (int blob, bool setThis)
 let an external class set this blobs candidicy
bool returnLOT ()
 Returns if it has a loss of track.
void reset ()
 resets some parameters if needed

Public Attributes

std::vector< float > pVergance
 P that a blob will bring this instance into vergance.

Detailed Description

Definition at line 44 of file segmentImageTrack.H.


Constructor & Destructor Documentation

segmentImageTrack::segmentImageTrack (  ) 

set up tracker one time, input max blobs and a linked image segmenter

Definition at line 180 of file segmentImageTrack.C.


Member Function Documentation

int segmentImageTrack::getMass (  ) 

get mass of object

Definition at line 276 of file segmentImageTrack.C.

Referenced by main().

int segmentImageTrack::getObjectX (  ) 

get centroid of object in X

Definition at line 246 of file segmentImageTrack.C.

Referenced by main().

int segmentImageTrack::getObjectY (  ) 

get centroid of object in Y

Definition at line 251 of file segmentImageTrack.C.

Referenced by main().

int segmentImageTrack::getXmax (  ) 

get boundry of object maximum X

Definition at line 261 of file segmentImageTrack.C.

int segmentImageTrack::getXmin (  ) 

get boundry of object minimum X

Definition at line 256 of file segmentImageTrack.C.

int segmentImageTrack::getYmax (  ) 

get boundry of object maximum Y

Definition at line 271 of file segmentImageTrack.C.

int segmentImageTrack::getYmin (  ) 

get boundry of object minimum Y

Definition at line 266 of file segmentImageTrack.C.

bool segmentImageTrack::isCandidate ( int  blob  ) 

tell if this blob is still a candidate

Definition at line 281 of file segmentImageTrack.C.

Referenced by main().

bool segmentImageTrack::isSoftCandidate ( int  blob  ) 

tell if this blob is a soft candidate

Definition at line 286 of file segmentImageTrack.C.

void segmentImageTrack::reset ( void   ) 

resets some parameters if needed

Definition at line 306 of file segmentImageTrack.C.

bool segmentImageTrack::returnLOT (  ) 

Returns if it has a loss of track.

Definition at line 301 of file segmentImageTrack.C.

Referenced by main().

void segmentImageTrack::setCandidate ( int  blob,
bool  setThis 
)

let an external class set this blobs candidicy

Definition at line 296 of file segmentImageTrack.C.

void segmentImageTrack::setImage ( segmentImage seg  ) 

insert image into object

Definition at line 194 of file segmentImageTrack.C.

void segmentImageTrack::setUpVars ( int  initSize  ) 

set up variables

Definition at line 199 of file segmentImageTrack.C.

References pVergance.

void segmentImageTrack::track ( float  _levity = 0  ) 

track this object

Call this method to apply single camera tracking constraints.

Parameters:
_levity This is how much levity to allow in tracking constraints \ 0 = none while 1 equals total levity and almost disables this feature

Definition at line 230 of file segmentImageTrack.C.

Referenced by main().

bool segmentImageTrack::wasKilledByTrack ( int  blob  ) 

tells if candidicy was removed by this class and not externally

Definition at line 291 of file segmentImageTrack.C.


Member Data Documentation

P that a blob will bring this instance into vergance.

Definition at line 93 of file segmentImageTrack.H.

Referenced by setUpVars().


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