5.3.4.57. Function features_RoIs0_RoIs1_write
Defined in File features_io.h
5.3.4.57.1. Function Documentation
-
void features_RoIs0_RoIs1_write(FILE *f, const int prev_frame, const int cur_frame, const RoI_basic_t *RoIs0_basic, const RoI_magn_t *RoIs0_magn, const RoI_elli_t *RoIs0_elli, const size_t n_RoIs0, const RoI_basic_t *RoIs1_basic, const RoI_magn_t *RoIs1_magn, const RoI_elli_t *RoIs1_elli, const size_t n_RoIs1, const vec_track_t tracks, uint8_t hexa_float)
Print two tables of RoIs, one at \(t - 1\) and one at \(t\).
See also
RoI_basic_t for more explanations about the features.
See also
RoI_magn_t for more explanations about the features.
See also
RoI_elli_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_basic – Basic features (at \(t -1\)).
RoIs0_magn – Magnitude features (at \(t -1\), can be NULL).
RoIs0_elli – Ellipse features (at \(t -1\), can be NULL).
n_RoIs0 – Number of connected-components (= number of RoIs) in the 2D array of
labels(at \(t -1\)).RoIs1_basic – Basic features (at \(t\)).
RoIs1_magn – Magnitude features (at \(t\), can be NULL).
RoIs1_elli – Ellipse features (at \(t\), can be NULL).
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. Can be NULL, then the corresponding tracks are not shown.
hexa_float – A boolean to print float numbers in hexadecimal.