w2kmeans::MultistageClusterAssociator Class Reference

Inheritance diagram for w2kmeans::MultistageClusterAssociator:

w2kmeans::ClusterAssociator List of all members.

Detailed Description

Uses a multi-stage strategy to associate clusters: (1) Project clusters to expected location based on motion field (2) Associate unique matches within overlap radius (3) Associate long-lived clusters within motion vector bounds (4) Associate closest if within lower of overlap and motion vector (5) Else assign new ID.

Author:
Lakshman
Version:
Id
w2kmeans_ClusterAssociator.h,v 1.8 2011/01/21 16:38:52 lakshman Exp


Public Member Functions

 ~MultistageClusterAssociator ()
virtual void assignIDs (std::vector< TrackedRegion > &currReg, const code::Time &now)
code::TimeInterval getIntervalSincePreviousFrame (const code::Time &now)
virtual void assignIDs (std::vector< TrackedRegion > &currReg, const code::Time &now)=0
void replaceRegions (std::vector< TrackedRegion > &currReg, const code::Time &now)

Static Public Member Functions

static code::SmartPtr< ClusterAssociatorcreateNew ()
static void setAssociationMethod (const std::string &method)
 Options include CENTPROJ, GLOBALCOST, OVERLAP, OVERLAPCOST, OLDEST, MULTISTAGE, AGECORR.
static void setToleranceDistanceSizeFactor (float sizefactor)
static void setToleranceDistance (float mindist_kms)
static void setCoastFrames (int frames)
static void setMaxAgeInCorrection (float maxage_minutes)

Protected Member Functions

void assignTo (TrackedRegion &curr, int best_offset_in_prev)
void assignNew (TrackedRegion &curr, const code::Time &startTime)

Protected Attributes

std::vector< TrackedRegion > prevRegions
int lastID
code::Time lastTimeProcessed


Constructor & Destructor Documentation

w2kmeans::MultistageClusterAssociator::~MultistageClusterAssociator (  )  [inline]


Member Function Documentation

virtual void w2kmeans::ClusterAssociator::assignIDs ( std::vector< TrackedRegion > &  currReg,
const code::Time &  now 
) [pure virtual, inherited]

virtual void w2kmeans::MultistageClusterAssociator::assignIDs ( std::vector< TrackedRegion > &  currReg,
const code::Time &  now 
) [virtual]

void w2kmeans::ClusterAssociator::assignNew ( TrackedRegion curr,
const code::Time &  startTime 
) [protected, inherited]

void w2kmeans::ClusterAssociator::assignTo ( TrackedRegion curr,
int  best_offset_in_prev 
) [protected, inherited]

static code::SmartPtr<ClusterAssociator> w2kmeans::ClusterAssociator::createNew (  )  [static, inherited]

code::TimeInterval w2kmeans::ClusterAssociator::getIntervalSincePreviousFrame ( const code::Time &  now  )  [inherited]

void w2kmeans::ClusterAssociator::replaceRegions ( std::vector< TrackedRegion > &  currReg,
const code::Time &  now 
) [inherited]

static void w2kmeans::ClusterAssociator::setAssociationMethod ( const std::string &  method  )  [static, inherited]

Options include CENTPROJ, GLOBALCOST, OVERLAP, OVERLAPCOST, OLDEST, MULTISTAGE, AGECORR.

static void w2kmeans::ClusterAssociator::setCoastFrames ( int  frames  )  [static, inherited]

static void w2kmeans::ClusterAssociator::setMaxAgeInCorrection ( float  maxage_minutes  )  [static, inherited]

static void w2kmeans::ClusterAssociator::setToleranceDistance ( float  mindist_kms  )  [static, inherited]

static void w2kmeans::ClusterAssociator::setToleranceDistanceSizeFactor ( float  sizefactor  )  [static, inherited]


Member Data Documentation

int w2kmeans::ClusterAssociator::lastID [protected, inherited]

code::Time w2kmeans::ClusterAssociator::lastTimeProcessed [protected, inherited]

std::vector<TrackedRegion> w2kmeans::ClusterAssociator::prevRegions [protected, inherited]


Generated on Fri May 4 13:40:24 2012 for WDSS-IIw2algs by  doxygen 1.4.7