5.3.2.8. Struct RoIs_asso_t¶
Defined in File features_struct.h
5.3.2.8.1. Struct Documentation¶
-
struct RoIs_asso_t¶
Associations between RoIs. \(RoI_{t - 1} \leftrightarrow RoI_{t}\) and \( RoI_{t} \leftrightarrow RoI_{t + 1}\). Generally these associations are computed by a \(k\)-Nearest Neighbors ( \(k\)-NN) matching algorithm. The memory layout is a Structure of Arrays (SoA), each field is an array of
_max_sizecapacity (except for_max_sizeitself and_sizefields 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 *prev_id¶
Previous corresponding RoI identifiers ( \(RoI_{t - 1} \leftrightarrow RoI_{t}\)).
-
uint32_t *next_id¶
Next corresponding RoI identifiers ( \( RoI_{t} \leftrightarrow RoI_{t + 1}\)).
-
size_t *_size¶
Current number of RoIs in each feature field. Note: this field a pointer but it has to be a scalar value.
-
size_t *_max_size¶
Maximum capacity of each feature field (= maximum number of elements in the arrays). Note: this field a pointer but it has to be a scalar value.
-
uint32_t *id¶