tesseract
5.0.0-alpha-619-ge9db
|
#include <intmatcher.h>
Public Member Functions | |
void | Clear (const INT_CLASS class_template) |
void | ClearFeatureEvidence (const INT_CLASS class_template) |
void | NormalizeSums (INT_CLASS ClassTemplate, int16_t NumFeatures) |
void | UpdateSumOfProtoEvidences (INT_CLASS ClassTemplate, BIT_VECTOR ConfigMask) |
Public Attributes | |
uint8_t | feature_evidence_ [MAX_NUM_CONFIGS] |
int | sum_feature_evidence_ [MAX_NUM_CONFIGS] |
uint8_t | proto_evidence_ [MAX_NUM_PROTOS][MAX_PROTO_INDEX] |
Definition at line 57 of file intmatcher.h.
void ScratchEvidence::Clear | ( | const INT_CLASS | class_template | ) |
Definition at line 738 of file intmatcher.cpp.
void ScratchEvidence::ClearFeatureEvidence | ( | const INT_CLASS | class_template | ) |
Definition at line 745 of file intmatcher.cpp.
void ScratchEvidence::NormalizeSums | ( | INT_CLASS | ClassTemplate, |
int16_t | NumFeatures | ||
) |
Normalize Sum of Proto and Feature Evidence by dividing by the sum of the Feature Lengths and the Proto Lengths for each configuration.
Definition at line 1176 of file intmatcher.cpp.
void ScratchEvidence::UpdateSumOfProtoEvidences | ( | INT_CLASS | ClassTemplate, |
BIT_VECTOR | ConfigMask | ||
) |
Add sum of Proto Evidences into Sum Of Feature Evidence Array
Definition at line 1133 of file intmatcher.cpp.
uint8_t ScratchEvidence::feature_evidence_[MAX_NUM_CONFIGS] |
Definition at line 58 of file intmatcher.h.
uint8_t ScratchEvidence::proto_evidence_[MAX_NUM_PROTOS][MAX_PROTO_INDEX] |
Definition at line 60 of file intmatcher.h.
int ScratchEvidence::sum_feature_evidence_[MAX_NUM_CONFIGS] |
Definition at line 59 of file intmatcher.h.