w2img::FeatureTracker< GridType >::FeatureID Struct Reference

List of all members.

template<class GridType>
struct w2img::FeatureTracker< GridType >::FeatureID


Public Member Functions

 FeatureID ()
void computeExpectedPosition (const GridType &poss)
void computeUxUy (const GridType &poss, double newcx, double newcy)
float get_dist (const GridType &, const Region &other) const
void setWeight (float avg_age, float avg_sz)
float get_dissimilarity_measure (const Region &other) const
void setTrackedValueAndChange (int index, float newValue)

Public Attributes

size_t number
double cx
double cy
double expected_cx
double expected_cy
double ux
double uy
int age
bool assigned
int coasted
int size
float weight
std::vector< float > trackedValues
int label_in_image
 This label will be negative if this feature was coasted from previous image.

Friends

bool operator< (const FeatureID &a, const FeatureID &b)
 decreasing order of weight.

Constructor & Destructor Documentation

template<class GridType>
w2img::FeatureTracker< GridType >::FeatureID::FeatureID (  )  [inline]


Member Function Documentation

template<class GridType>
void w2img::FeatureTracker< GridType >::FeatureID::computeExpectedPosition ( const GridType &  poss  ) 

template<class GridType>
void w2img::FeatureTracker< GridType >::FeatureID::computeUxUy ( const GridType &  poss,
double  newcx,
double  newcy 
)

template<class GridType>
float w2img::FeatureTracker< GridType >::FeatureID::get_dissimilarity_measure ( const Region other  )  const

template<class GridType>
float w2img::FeatureTracker< GridType >::FeatureID::get_dist ( const GridType &  ,
const Region other 
) const

template<class GridType>
void w2img::FeatureTracker< GridType >::FeatureID::setTrackedValueAndChange ( int  index,
float  newValue 
) [inline]

template<class GridType>
void w2img::FeatureTracker< GridType >::FeatureID::setWeight ( float  avg_age,
float  avg_sz 
)


Friends And Related Function Documentation

template<class GridType>
bool operator< ( const FeatureID a,
const FeatureID b 
) [friend]

decreasing order of weight.


Member Data Documentation

template<class GridType>
int w2img::FeatureTracker< GridType >::FeatureID::age

template<class GridType>
bool w2img::FeatureTracker< GridType >::FeatureID::assigned

template<class GridType>
int w2img::FeatureTracker< GridType >::FeatureID::coasted

template<class GridType>
double w2img::FeatureTracker< GridType >::FeatureID::cx

template<class GridType>
double w2img::FeatureTracker< GridType >::FeatureID::cy

template<class GridType>
double w2img::FeatureTracker< GridType >::FeatureID::expected_cx

template<class GridType>
double w2img::FeatureTracker< GridType >::FeatureID::expected_cy

template<class GridType>
int w2img::FeatureTracker< GridType >::FeatureID::label_in_image

This label will be negative if this feature was coasted from previous image.

Otherwise, it gives you label in the image returned by getLabels()

template<class GridType>
size_t w2img::FeatureTracker< GridType >::FeatureID::number

template<class GridType>
int w2img::FeatureTracker< GridType >::FeatureID::size

template<class GridType>
std::vector<float> w2img::FeatureTracker< GridType >::FeatureID::trackedValues

template<class GridType>
double w2img::FeatureTracker< GridType >::FeatureID::ux

template<class GridType>
double w2img::FeatureTracker< GridType >::FeatureID::uy

template<class GridType>
float w2img::FeatureTracker< GridType >::FeatureID::weight


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