Program Listing for File CCL_compute.h
↰ Return to documentation for file (c/fmdt/CCL/CCL_compute.h)
#pragma once
#include <stdint.h>
#include "fmdt/CCL/CCL_struct.h"
#include "fmdt/features/features_struct.h"
CCL_data_t* CCL_LSL_alloc_data(int i0, int i1, int j0, int j1);
void CCL_LSL_init_data(CCL_data_t* CCL_data);
void CCL_LSL_free_data(CCL_data_t* CCL_data);
uint32_t CCL_LSL_apply(CCL_data_t *CCL_data, const uint8_t** img, uint32_t** labels, const uint8_t no_init_labels);
uint32_t CCL_LSL_threshold_apply(CCL_data_t *CCL_data, const uint8_t** img, uint32_t** labels, const uint8_t threshold,
const uint8_t no_init_labels);
uint32_t CCL_LSL_threshold_features_apply(CCL_data_t *CCL_data, const uint8_t** img, uint32_t** labels,
const uint8_t threshold, RoI_basic_t* RoIs_basic, const size_t max_RoIs_size,
const uint8_t no_init_labels);
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
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);
void CCL_init_data(CCL_gen_data_t* CCL_data);
void CCL_free_data(CCL_gen_data_t* CCL_data);
uint32_t CCL_apply(CCL_gen_data_t* CCL_data, const uint8_t** img, uint32_t** labels, const uint8_t no_init_labels);
uint32_t CCL_threshold_apply(CCL_gen_data_t* CCL_data, const uint8_t** img, uint32_t** labels, const uint8_t threshold,
const uint8_t no_init_labels);
uint32_t CCL_threshold_features_apply(CCL_gen_data_t *CCL_data, const uint8_t** img, uint32_t** labels,
const uint8_t threshold, RoI_basic_t* RoIs_basic, const size_t max_RoIs_size,
const uint8_t no_init_labels);