Public Member Functions | |
segmentImageTrack2 () | |
set up tracker one time, input max blobs and a linked image segmenter | |
segmentImageTrack2 (int initSize) | |
segmentImageTrack2 (int initSize, segmentImage2 *seg) | |
void | SITsetImage (segmentImage2 *seg) |
insert image into object | |
void | SITsetBlobProp (blobProp *bp) |
insert blobProp pointer | |
void | SITsetUpVars (int initSize) |
set up variables | |
void | SITtrack (float _levity=0) |
track this object | |
int | SITgetObjectX () |
get centroid of object in X | |
int | SITgetObjectY () |
get centroid of object in Y | |
int | SITgetXmin () |
get boundry of object minimum X | |
int | SITgetXmax () |
get boundry of object maximum X | |
int | SITgetYmin () |
get boundry of object minimum Y | |
int | SITgetYmax () |
get boundry of object maximum Y | |
int | SITgetMass () |
get mass of object | |
bool | SITisCandidate (int blob) |
tell if this blob is still a candidate | |
bool | SITisSoftCandidate (int blob) |
tell if this blob is a soft candidate | |
bool | SITwasKilledByTrack (int blob) |
tells if candidicy was removed by this class and not externally | |
void | SITsetCandidate (int blob, bool setThis) |
let an external class set this blobs candidicy | |
bool | SITreturnLOT () |
Returns if it has a loss of track. | |
void | SITsetLOT (bool LOT) |
allows you to manually set the LOT bool | |
void | SITreset () |
resets some parameters if needed | |
Public Attributes | |
std::vector< float > | SIT_pVergance |
P that a blob will bring this instance into vergance. |
Definition at line 45 of file segmentImageTrack2.H.
segmentImageTrack2::segmentImageTrack2 | ( | ) |
set up tracker one time, input max blobs and a linked image segmenter
Definition at line 231 of file segmentImageTrack2.C.
int segmentImageTrack2::SITgetMass | ( | ) |
get mass of object
Definition at line 334 of file segmentImageTrack2.C.
int segmentImageTrack2::SITgetObjectX | ( | ) |
get centroid of object in X
Definition at line 304 of file segmentImageTrack2.C.
int segmentImageTrack2::SITgetObjectY | ( | ) |
get centroid of object in Y
Definition at line 309 of file segmentImageTrack2.C.
int segmentImageTrack2::SITgetXmax | ( | ) |
get boundry of object maximum X
Definition at line 319 of file segmentImageTrack2.C.
int segmentImageTrack2::SITgetXmin | ( | ) |
get boundry of object minimum X
Definition at line 314 of file segmentImageTrack2.C.
int segmentImageTrack2::SITgetYmax | ( | ) |
get boundry of object maximum Y
Definition at line 329 of file segmentImageTrack2.C.
int segmentImageTrack2::SITgetYmin | ( | ) |
get boundry of object minimum Y
Definition at line 324 of file segmentImageTrack2.C.
bool segmentImageTrack2::SITisCandidate | ( | int | blob | ) |
tell if this blob is still a candidate
Definition at line 339 of file segmentImageTrack2.C.
bool segmentImageTrack2::SITisSoftCandidate | ( | int | blob | ) |
tell if this blob is a soft candidate
Definition at line 344 of file segmentImageTrack2.C.
void segmentImageTrack2::SITreset | ( | ) |
resets some parameters if needed
Definition at line 369 of file segmentImageTrack2.C.
bool segmentImageTrack2::SITreturnLOT | ( | ) |
Returns if it has a loss of track.
Definition at line 359 of file segmentImageTrack2.C.
void segmentImageTrack2::SITsetBlobProp | ( | blobProp * | bp | ) |
insert blobProp pointer
Definition at line 254 of file segmentImageTrack2.C.
void segmentImageTrack2::SITsetCandidate | ( | int | blob, | |
bool | setThis | |||
) |
let an external class set this blobs candidicy
Definition at line 354 of file segmentImageTrack2.C.
void segmentImageTrack2::SITsetImage | ( | segmentImage2 * | seg | ) |
insert image into object
Definition at line 249 of file segmentImageTrack2.C.
void segmentImageTrack2::SITsetLOT | ( | bool | LOT | ) |
allows you to manually set the LOT bool
Definition at line 364 of file segmentImageTrack2.C.
void segmentImageTrack2::SITsetUpVars | ( | int | initSize | ) |
void segmentImageTrack2::SITtrack | ( | float | _levity = 0 |
) |
track this object
Call this method to apply single camera tracking constraints.
_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 288 of file segmentImageTrack2.C.
bool segmentImageTrack2::SITwasKilledByTrack | ( | int | blob | ) |
tells if candidicy was removed by this class and not externally
Definition at line 349 of file segmentImageTrack2.C.
P that a blob will bring this instance into vergance.
Definition at line 96 of file segmentImageTrack2.H.
Referenced by SITsetUpVars().