w2kmeans::SegmentMotionEstimator< GridType >::OldRegion Struct Reference

List of all members.

template<class GridType>
struct w2kmeans::SegmentMotionEstimator< GridType >::OldRegion


Public Member Functions

 OldRegion ()
 OldRegion (const code::Time &t, const Region &r)
void updateScore (const code::Time &curr, float avgsize, float avgcval, int timeBetweenFrames)

Static Public Member Functions

static bool preferTo (const OldRegion &a, const OldRegion &b)
 should a be prefered to b? larger, more recent regions are preferred.

Public Attributes

code::Time myTime
double ux
double uy
double gr
double cx
double cy
size_t size
double cval
double score

Constructor & Destructor Documentation

template<class GridType>
w2kmeans::SegmentMotionEstimator< GridType >::OldRegion::OldRegion (  )  [inline]

template<class GridType>
w2kmeans::SegmentMotionEstimator< GridType >::OldRegion::OldRegion ( const code::Time &  t,
const Region r 
)


Member Function Documentation

template<class GridType>
static bool w2kmeans::SegmentMotionEstimator< GridType >::OldRegion::preferTo ( const OldRegion a,
const OldRegion b 
) [static]

should a be prefered to b? larger, more recent regions are preferred.

template<class GridType>
void w2kmeans::SegmentMotionEstimator< GridType >::OldRegion::updateScore ( const code::Time &  curr,
float  avgsize,
float  avgcval,
int  timeBetweenFrames 
)


Member Data Documentation

template<class GridType>
double w2kmeans::SegmentMotionEstimator< GridType >::OldRegion::cval

template<class GridType>
double w2kmeans::SegmentMotionEstimator< GridType >::OldRegion::cx

template<class GridType>
double w2kmeans::SegmentMotionEstimator< GridType >::OldRegion::cy

template<class GridType>
double w2kmeans::SegmentMotionEstimator< GridType >::OldRegion::gr

template<class GridType>
code::Time w2kmeans::SegmentMotionEstimator< GridType >::OldRegion::myTime

template<class GridType>
double w2kmeans::SegmentMotionEstimator< GridType >::OldRegion::score

template<class GridType>
size_t w2kmeans::SegmentMotionEstimator< GridType >::OldRegion::size

template<class GridType>
double w2kmeans::SegmentMotionEstimator< GridType >::OldRegion::ux

template<class GridType>
double w2kmeans::SegmentMotionEstimator< GridType >::OldRegion::uy


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