Tesseract
3.02
|
#include <intmatcher.h>
Public Member Functions | |
IntegerMatcher () | |
void | Init (tesseract::IntParam *classify_debug_level, int classify_integer_matcher_multiplier) |
void | SetBaseLineMatch () |
void | SetCharNormMatch (int integer_matcher_multiplier) |
void | Match (INT_CLASS ClassTemplate, BIT_VECTOR ProtoMask, BIT_VECTOR ConfigMask, inT16 NumFeatures, const INT_FEATURE_STRUCT *Features, INT_RESULT Result, int AdaptFeatureThreshold, int Debug, bool SeparateDebugWindows) |
float | ApplyCNCorrection (float rating, int blob_length, int normalization_factor) |
int | FindGoodProtos (INT_CLASS ClassTemplate, BIT_VECTOR ProtoMask, BIT_VECTOR ConfigMask, uinT16 BlobLength, inT16 NumFeatures, INT_FEATURE_ARRAY Features, PROTO_ID *ProtoArray, int AdaptProtoThreshold, int Debug) |
int | FindBadFeatures (INT_CLASS ClassTemplate, BIT_VECTOR ProtoMask, BIT_VECTOR ConfigMask, uinT16 BlobLength, inT16 NumFeatures, INT_FEATURE_ARRAY Features, FEATURE_ID *FeatureArray, int AdaptFeatureThreshold, int Debug) |
Static Public Attributes | |
static const int | kIntThetaFudge = 128 |
static const int | kEvidenceTableBits = 9 |
static const int | kIntEvidenceTruncBits = 14 |
static const float | kSEExponentialMultiplier = 0.0 |
static const float | kSimilarityCenter = 0.0075 |
Definition at line 90 of file intmatcher.h.
|
inline |
Definition at line 103 of file intmatcher.h.
float IntegerMatcher::ApplyCNCorrection | ( | float | rating, |
int | blob_length, | ||
int | normalization_factor | ||
) |
Definition at line 1285 of file intmatcher.cpp.
int IntegerMatcher::FindBadFeatures | ( | INT_CLASS | ClassTemplate, |
BIT_VECTOR | ProtoMask, | ||
BIT_VECTOR | ConfigMask, | ||
uinT16 | BlobLength, | ||
inT16 | NumFeatures, | ||
INT_FEATURE_ARRAY | Features, | ||
FEATURE_ID * | FeatureArray, | ||
int | AdaptFeatureThreshold, | ||
int | Debug | ||
) |
Definition at line 625 of file intmatcher.cpp.
int IntegerMatcher::FindGoodProtos | ( | INT_CLASS | ClassTemplate, |
BIT_VECTOR | ProtoMask, | ||
BIT_VECTOR | ConfigMask, | ||
uinT16 | BlobLength, | ||
inT16 | NumFeatures, | ||
INT_FEATURE_ARRAY | Features, | ||
PROTO_ID * | ProtoArray, | ||
int | AdaptProtoThreshold, | ||
int | Debug | ||
) |
Definition at line 546 of file intmatcher.cpp.
void IntegerMatcher::Init | ( | tesseract::IntParam * | classify_debug_level, |
int | classify_integer_matcher_multiplier | ||
) |
Definition at line 696 of file intmatcher.cpp.
void IntegerMatcher::Match | ( | INT_CLASS | ClassTemplate, |
BIT_VECTOR | ProtoMask, | ||
BIT_VECTOR | ConfigMask, | ||
inT16 | NumFeatures, | ||
const INT_FEATURE_STRUCT * | Features, | ||
INT_RESULT | Result, | ||
int | AdaptFeatureThreshold, | ||
int | Debug, | ||
bool | SeparateDebugWindows | ||
) |
Definition at line 460 of file intmatcher.cpp.
void IntegerMatcher::SetBaseLineMatch | ( | ) |
Definition at line 728 of file intmatcher.cpp.
void IntegerMatcher::SetCharNormMatch | ( | int | integer_matcher_multiplier | ) |
Definition at line 734 of file intmatcher.cpp.
|
static |
Definition at line 95 of file intmatcher.h.
|
static |
Definition at line 97 of file intmatcher.h.
|
static |
Definition at line 93 of file intmatcher.h.
|
static |
Definition at line 99 of file intmatcher.h.
|
static |
Definition at line 101 of file intmatcher.h.