5.3.4.58. Function features_RoIs_write
Defined in File features_io.h
5.3.4.58.1. Function Documentation
-
void features_RoIs_write(FILE *f, const int frame, const RoI_basic_t *RoIs_basic, const RoI_magn_t *RoIs_magn, const RoI_elli_t *RoIs_elli, const size_t n_RoIs, const vec_track_t tracks, uint8_t hexa_float, const unsigned age)
Print a table of RoIs.
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 (write mode).
frame – Frame id corresponding to the RoIs.
RoIs_basic – Basic features.
RoIs_magn – Magnitude features (can be NULL).
RoIs_elli – Ellipse features (can be NULL).
n_RoIs – Number of connected-components (= number of RoIs) in the 2D array of
labels.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.
age – 0 if
frameis the current frame, 1 ifframeis the \(t - 1\) frame. This is mandatory to find the corresponding track (if any). Iftracks == NULLthen this argument is useless.