5.3.4.54. Function features_labels_zero_init

5.3.4.54.1. Function Documentation

void features_labels_zero_init(const RoI_basic_t *RoIs_basic, const size_t n_RoIs, uint32_t **labels)

Initialize labels to zero value depending on bounding boxes.

See also

RoI_basic_t for more explanations about the basic features.

Parameters
  • RoIs_basic – Basic features (contains the bounding boxes).

  • n_RoIs – Number of connected-components (= number of RoIs).

  • labels – 2D array of labels ( \([\texttt{img\_height}][\texttt{img\_width}]\)).