5.3.4.5. Function _features_RoIs0_RoIs1_write

5.3.4.5.1. Function Documentation

void _features_RoIs0_RoIs1_write(FILE *f, const int prev_frame, const int cur_frame, const uint32_t *RoIs0_id, const uint32_t *RoIs0_xmin, const uint32_t *RoIs0_xmax, const uint32_t *RoIs0_ymin, const uint32_t *RoIs0_ymax, const uint32_t *RoIs0_S, const uint32_t *RoIs0_Sx, const uint32_t *RoIs0_Sy, const float *RoIs0_x, const float *RoIs0_y, const uint32_t *RoIs0_magnitude, const uint32_t *RoIs0_sat_count, const size_t n_RoIs0, const uint32_t *RoIs1_id, const uint32_t *RoIs1_xmin, const uint32_t *RoIs1_xmax, const uint32_t *RoIs1_ymin, const uint32_t *RoIs1_ymax, const uint32_t *RoIs1_S, const uint32_t *RoIs1_Sx, const uint32_t *RoIs1_Sy, const float *RoIs1_x, const float *RoIs1_y, const uint32_t *RoIs1_magnitude, const uint32_t *RoIs1_sat_count, const size_t n_RoIs1, const vec_track_t tracks)

Print two tables of RoIs, one at \(t - 1\) and one at \(t\).

See also

RoIs_basic_t for more explanations about the features.

See also

RoIs_misc_t for more explanations about the features.

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

  • prev_frame – Frame id corresponding to the RoIs at \(t -1\).

  • cur_frame – Frame id corresponding to the RoIs at \(t\).

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

  • RoIs0_xmin – Array of minimum \(x\) coordinates of the bounding box (at \(t -1\)).

  • RoIs0_xmax – Array of maximum \(x\) coordinates of the bounding box (at \(t -1\)).

  • RoIs0_ymin – Array of minimum \(y\) coordinates of the bounding box (at \(t -1\)).

  • RoIs0_ymax – Array of maximum \(y\) coordinates of the bounding box (at \(t -1\)).

  • RoIs0_S – Array of RoI surfaces (at \(t -1\)).

  • RoIs0_Sx – Array of sums of \(x\) properties (at \(t -1\)).

  • RoIs0_Sy – Array of sums of \(y\) properties (at \(t -1\)).

  • RoIs0_x – Array of centroids abscissa (at \(t -1\)).

  • RoIs0_y – Array of centroids ordinate (at \(t -1\)).

  • RoIs0_magnitude – Array of RoI magnitudes (at \(t -1\)) (if NULL, the magnitudes are not shown).

  • RoIs0_sat_count – Array of RoI saturation counters (at \(t -1\)) (if NULL, the saturation counters are not shown).

  • n_RoIs0 – Number of connected-components (= number of RoIs) in the 2D array of labels (at \(t -1\)).

  • RoIs1_id – Array of RoI unique identifiers (at \(t\)).

  • RoIs1_xmin – Array of minimum \(x\) coordinates of the bounding box (at \(t\)).

  • RoIs1_xmax – Array of maximum \(x\) coordinates of the bounding box (at \(t\)).

  • RoIs1_ymin – Array of minimum \(y\) coordinates of the bounding box (at \(t\)).

  • RoIs1_ymax – Array of maximum \(y\) coordinates of the bounding box (at \(t\)).

  • RoIs1_S – Array of RoI surfaces (at \(t\)).

  • RoIs1_Sx – Array of sums of \(x\) properties (at \(t\)).

  • RoIs1_Sy – Array of sums of \(y\) properties (at \(t\)).

  • RoIs1_x – Array of centroids abscissa (at \(t\)).

  • RoIs1_y – Array of centroids ordinate (at \(t\)).

  • RoIs1_magnitude – Array of RoI magnitudes (at \(t\)) (if NULL, the magnitudes are not shown).

  • RoIs1_sat_count – Array of RoI saturation counters (at \(t\)) (if NULL, the saturation counters are not shown).

  • n_RoIs1 – Number of connected-components (= number of RoIs) in the 2D array of labels (at \(t\)).

  • tracks – Vector of tracks. It enables to match RoIs with corresponding track in the table of RoIs.