Program Listing for File threshold_compute.h

Return to documentation for file (c/fmdt/threshold/threshold_compute.h)

#pragma once

#include <stdint.h>

#include "fmdt/features/features_struct.h"

void threshold(const uint8_t** img_in, uint8_t** img_out, const int i0, const int i1, const int j0, const int j1,
               const uint8_t threshold);

uint32_t threshold_ellipse_ratio(RoI_basic_t* RoIs_basic, const RoI_elli_t* RoIs_elli, const size_t n_RoIs,
                                 const float min_ratio);