5.3.4.46. Function features_merge_CCL_HI_v2

5.3.4.46.1. Function Documentation

void features_merge_CCL_HI_v2(const uint32_t **in_labels, const uint8_t **img_HI, uint32_t **out_labels, const int i0, const int i1, const int j0, const int j1, RoIs_basic_t *RoIs_basic, const uint32_t S_min, const uint32_t S_max)

See also

_features_merge_CCL_HI_v2 for the explanations about the nature of the processing.

See also

RoIs_basic_t for more explanations about the features.

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

  • img_HI – Binary image (2D array \([i1 - i0 + 1][j1 - j0 + 1]\) \(\{0,1\}\) has to be coded as \(\{0,255\}\)). This image results from a threshold filter on the original image. This threshold filter should be higher than the first one used to compute the initial labels (in_labels).

  • out_labels – Output 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).

  • RoIs_basic – Features.

  • S_min – Minimum morphological threshold.

  • S_max – Maximum morphological threshold.