tesseract
5.0.0-alpha-619-ge9db
|
Go to the documentation of this file.
71 unsigned NumSamples : 28;
85 int32_t NumberOfSamples;
96 int32_t MaxNumSamples;
101 #define InitSampleSearch(S, C) \
102 (((C) == nullptr) ? (S = NIL_LIST) : (S = push(NIL_LIST, (C))))
126 float m[],
float m1[],
float m2[]);
float StandardDeviation(PROTOTYPE *Proto, uint16_t Dimension)
CLUSTERER * MakeClusterer(int16_t SampleSize, const PARAM_DESC ParamDesc[])
SAMPLE * MakeSample(CLUSTERER *Clusterer, const float *Feature, int32_t CharID)
void FreeClusterer(CLUSTERER *Clusterer)
void FreePrototype(void *arg)
LIST ClusterSamples(CLUSTERER *Clusterer, CLUSTERCONFIG *Config)
CLUSTER * NextSample(LIST *SearchState)
float Mean(PROTOTYPE *Proto, uint16_t Dimension)
int32_t MergeClusters(int16_t N, PARAM_DESC ParamDesc[], int32_t n1, int32_t n2, float m[], float m1[], float m2[])
void FreeProtoList(LIST *ProtoList)