5.3.4.19. Function CCL_alloc_data

5.3.4.19.1. Function Documentation

CCL_gen_data_t *CCL_alloc_data(const enum ccl_impl_e impl, const int i0, const int i1, const int j0, const int j1)

Allocation of inner data required to perform Connected-Components Labeling (CCL). Generic CCL implementation.

Parameters
  • impl – Selected implementation (LSLH or LSLM).

  • i0 – The first \(y\) index in the image (included).

  • i1 – The last \(y\) index in the image (included).

  • j0 – The first \(x\) index in the image (included).

  • j1 – The last \(x\) index in the image (included).

Returns

The allocated and initialized data.