5.3.4.29. Function features_alloc_RoIs

5.3.4.29.1. Function Documentation

RoIs_t *features_alloc_RoIs(const uint8_t enable_magnitude, const uint8_t enable_sat_count, const size_t max_size)

Allocation of all the features.

Parameters
  • enable_magnitude – Boolean to allocate the buffer of magnitudes.

  • enable_sat_count – Boolean to allocate the buffer of saturation counters.

  • max_size – Maximum capacity of each feature field (= maximum number of elements in the arrays).

Returns

Pointer of allocated RoIs.