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. |
w2img::FeatureTracker< GridType >::FeatureID::FeatureID | ( | ) | [inline] |
void w2img::FeatureTracker< GridType >::FeatureID::computeExpectedPosition | ( | const GridType & | poss | ) |
void w2img::FeatureTracker< GridType >::FeatureID::computeUxUy | ( | const GridType & | poss, | |
double | newcx, | |||
double | newcy | |||
) |
float w2img::FeatureTracker< GridType >::FeatureID::get_dissimilarity_measure | ( | const Region & | other | ) | const |
float w2img::FeatureTracker< GridType >::FeatureID::get_dist | ( | const GridType & | , | |
const Region & | other | |||
) | const |
void w2img::FeatureTracker< GridType >::FeatureID::setTrackedValueAndChange | ( | int | index, | |
float | newValue | |||
) | [inline] |
void w2img::FeatureTracker< GridType >::FeatureID::setWeight | ( | float | avg_age, | |
float | avg_sz | |||
) |
decreasing order of weight.
int w2img::FeatureTracker< GridType >::FeatureID::age |
bool w2img::FeatureTracker< GridType >::FeatureID::assigned |
int w2img::FeatureTracker< GridType >::FeatureID::coasted |
double w2img::FeatureTracker< GridType >::FeatureID::cx |
double w2img::FeatureTracker< GridType >::FeatureID::cy |
double w2img::FeatureTracker< GridType >::FeatureID::expected_cx |
double w2img::FeatureTracker< GridType >::FeatureID::expected_cy |
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()
size_t w2img::FeatureTracker< GridType >::FeatureID::number |
int w2img::FeatureTracker< GridType >::FeatureID::size |
std::vector<float> w2img::FeatureTracker< GridType >::FeatureID::trackedValues |
double w2img::FeatureTracker< GridType >::FeatureID::ux |
double w2img::FeatureTracker< GridType >::FeatureID::uy |
float w2img::FeatureTracker< GridType >::FeatureID::weight |