5.3.4.35. Function features_extract

5.3.4.35.1. Function Documentation

void features_extract(const uint32_t **labels, const int i0, const int i1, const int j0, const int j1, const size_t n_RoIs, RoIs_basic_t *RoIs_basic)

See also

_features_extract for the explanations about the nature of the processing.

See also

RoIs_basic_t for more explanations about the features.

Parameters
  • labels – Input 2D array of labels ( \([i1 - i0 + 1][j1 - j0 + 1]\)).

  • i0 – First \(y\) index in the labels (included).

  • i1 – Last \(y\) index in the labels (included).

  • j0 – First \(x\) index in the labels (included).

  • j1 – Last \(x\) index in the labels (included).

  • n_RoIs – Number of connected-components (= number of RoIs) in the 2D array of labels.

  • RoIs_basic – Basic features.