VarClusterFinder

template<typename T>
class VarClusterFinder

Public Functions

inline VarClusterFinder(Shape<2> shape, T threshold)
inline NDArray<int, 2> labeled()
inline void set_noiseMap(NDView<T, 2> noise_map)
inline void set_peripheralThresholdFactor(int factor)
void find_clusters(NDView<T, 2> img)
void find_clusters_X(NDView<T, 2> img)
void rec_FillHit(int clusterIndex, int i, int j)
void single_pass(NDView<T, 2> img)
void first_pass()
void second_pass()
void store_clusters()
inline std::vector<Hit> steal_hits()
inline void clear_hits()
inline void print_connections()
inline size_t total_clusters() const
struct Hit

Public Members

int16_t size = {}
int16_t row = {}
int16_t col = {}
uint16_t reserved = {}
T energy = {}
T max = {}
int16_t rows[MAX_CLUSTER_SIZE] = {0}
int16_t cols[MAX_CLUSTER_SIZE] = {0}
double enes[MAX_CLUSTER_SIZE] = {0}