5.3.4.9. Function _kNN_asso_conflicts_write

5.3.4.9.1. Function Documentation

void _kNN_asso_conflicts_write(FILE *f, const float **kNN_data_distances, const uint32_t **kNN_data_nearest, const uint32_t *kNN_data_conflicts, const uint32_t *RoIs0_id, const uint32_t *RoIs0_next_id, const size_t n_RoIs0, const float *RoIs1_dx, const float *RoIs1_dy, const float *RoIs1_error, const uint8_t *RoIs1_is_moving, const size_t n_RoIs1)

Print a table of RoIs association features plus the corresponding RoIs motion features.

Parameters
  • f – File descriptor (in write mode).

  • kNN_data_distances – 2D array of euclidean distances.

  • kNN_data_nearest – 2D array of ranks.

  • kNN_data_conflicts – 1D array of conflicts. The conflicts are printed only if the FMDT_ENABLE_DEBUG macro is defined.

  • RoIs0_id – Array of RoI unique identifiers (at \(t -1\)).

  • RoIs0_next_id – Array of RoI identifiers at \(t -1 + 1 = t\).

  • n_RoIs0 – Number of connected-components (= number of RoIs) (at \(t - 1\)).

  • RoIs1_dx – Array of \(x\) components of the distance between centroids at \(t - 1\) and \(t\).

  • RoIs1_dy – Array of \(y\) components of the distance between centroids at \(t - 1\) and \(t\).

  • RoIs1_error – Array of velocity norms (if is_moving == 1) or error (if is_moving == 0).

  • RoIs1_is_moving – Array of booleans that define if the RoI is moving.

  • n_RoIs1 – Number of connected-components (= number of RoIs) (at \(t\)).