27 "Do not include character fragments in the"
28 " results of the classifier");
31 "Integer Matcher Multiplier 0-255: ");
55#define SE_TABLE_BITS 9
56#define SE_TABLE_SIZE 512
92 int AdaptFeatureThreshold,
94 bool SeparateDebugWindows);
99 int normalization_factor,
int matcher_multiplier);
107 int AdaptProtoThreshold,
116 int AdaptFeatureThreshold,
120 int UpdateTablesForFeature(
129 int FindBestMatch(
INT_CLASS ClassTemplate,
133#ifndef GRAPHICS_DISABLED
134 void DebugFeatureProtoError(
142 void DisplayProtoDebugInfo(
146 bool SeparateDebugWindows);
148 void DisplayFeatureDebugInfo(
154 int AdaptFeatureThreshold,
156 bool SeparateDebugWindows);
162 uint32_t evidence_table_mask_;
163 uint32_t mult_trunc_shift_bits_;
164 uint32_t table_trunc_shift_bits_;
165 uint32_t evidence_mult_mask_;
#define BOOL_VAR_H(name, val, comment)
#define INT_VAR_H(name, val, comment)
bool disable_character_fragments
int classify_integer_matcher_multiplier
INT_FEATURE_STRUCT INT_FEATURE_ARRAY[MAX_NUM_INT_FEATURES]
void Clear(const INT_CLASS class_template)
void ClearFeatureEvidence(const INT_CLASS class_template)
int sum_feature_evidence_[MAX_NUM_CONFIGS]
void UpdateSumOfProtoEvidences(INT_CLASS ClassTemplate, BIT_VECTOR ConfigMask)
uint8_t feature_evidence_[MAX_NUM_CONFIGS]
uint8_t proto_evidence_[MAX_NUM_PROTOS][MAX_PROTO_INDEX]
void NormalizeSums(INT_CLASS ClassTemplate, int16_t NumFeatures)
static const float kSEExponentialMultiplier
int FindBadFeatures(INT_CLASS ClassTemplate, BIT_VECTOR ProtoMask, BIT_VECTOR ConfigMask, int16_t NumFeatures, INT_FEATURE_ARRAY Features, FEATURE_ID *FeatureArray, int AdaptFeatureThreshold, int Debug)
static const int kEvidenceTableBits
void Match(INT_CLASS ClassTemplate, BIT_VECTOR ProtoMask, BIT_VECTOR ConfigMask, int16_t NumFeatures, const INT_FEATURE_STRUCT *Features, tesseract::UnicharRating *Result, int AdaptFeatureThreshold, int Debug, bool SeparateDebugWindows)
static const int kIntThetaFudge
static const int kIntEvidenceTruncBits
static const float kSimilarityCenter
int FindGoodProtos(INT_CLASS ClassTemplate, BIT_VECTOR ProtoMask, BIT_VECTOR ConfigMask, int16_t NumFeatures, INT_FEATURE_ARRAY Features, PROTO_ID *ProtoArray, int AdaptProtoThreshold, int Debug)
float ApplyCNCorrection(float rating, int blob_length, int normalization_factor, int matcher_multiplier)