5.3.4.69. Function kNN_match

5.3.4.69.1. Function Documentation

void kNN_match(kNN_data_t *kNN_data, const RoIs_basic_t *RoIs0_basic, const RoIs_basic_t *RoIs1_basic, RoIs_asso_t *RoIs0_asso, RoIs_asso_t *RoIs1_asso, const int k, const uint32_t max_dist, const float min_ratio_S)

See also

_kNN_match for the explanations about the nature of the processing.

Parameters
  • kNN_data – Inner kNN data.

  • RoIs0_basic – Basic features (at \(t -1\)).

  • RoIs1_basic – Basic features (at \(t\)).

  • RoIs0_asso – Association features (at \(t -1\)).

  • RoIs1_asso – Association features (at \(t\)).

  • k – Number of ranks considered for RoI associations.

  • max_dist – Maximum distance between 2 RoIs to make the association.

  • min_ratio_S – Minimum ratio between two RoIs. \( r_S = RoI_{S}^j / RoI_{S}^i\), if \(r_S < r_S^{min}\) then the association is not made.