5.3.4.32. Function features_alloc_RoIs_misc

5.3.4.32.1. Function Documentation

RoIs_misc_t *features_alloc_RoIs_misc(const uint8_t enable_magnitude, const uint8_t enable_sat_count, const size_t max_size, uint32_t *RoIs_id)

Allocation of the miscellaneous features.

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

  • enable_magnitude – Boolean to allocate the buffer of magnitudes.

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

  • RoIs_id – Pointer of max_size elements to use for the id field. If set to NULL, the id field is allocated.

Returns

Pointer of allocated RoIs.