5.3.2.11. Struct RoIs_misc_t

5.3.2.11.1. Struct Documentation

struct RoIs_misc_t

Miscellaneous features. This structure contains features that are considered “less important” than others. The memory layout is a Structure of Arrays (SoA), each field is an array of _max_size capacity (except for _max_size itself and _size fields that are both scalar values).

Public Members

uint32_t *id

RoI unique identifiers. A RoI identifier should starts from 1 while 0 should be reserved for uninitialized structure.

uint32_t *magnitude

Magnitudes or brightness of the RoIs. Sums of the pixels intensities.

uint32_t *sat_count

Number of pixels that are saturated in the CC. A pixel is saturated if its intensity \(I_p\) is equal to the maximum value (here it is 255).

size_t *_size

Current size/utilization of the fields. Note: it is allocated on the heap but it represents only one value.

size_t *_max_size

Maximum capacity of data that can be contained in the fields. Note: it is allocated on the heap but it represents only one value.