tesseract
4.0.0-1-g2a2b
|
#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, int32_t used_features) |
void | UpdateSumOfProtoEvidences (INT_CLASS ClassTemplate, BIT_VECTOR ConfigMask, int16_t NumFeatures) |
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 69 of file intmatcher.h.
void ScratchEvidence::Clear | ( | const INT_CLASS | class_template | ) |
Definition at line 700 of file intmatcher.cpp.
void ScratchEvidence::ClearFeatureEvidence | ( | const INT_CLASS | class_template | ) |
Definition at line 707 of file intmatcher.cpp.
void ScratchEvidence::NormalizeSums | ( | INT_CLASS | ClassTemplate, |
int16_t | NumFeatures, | ||
int32_t | used_features | ||
) |
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 1150 of file intmatcher.cpp.
void ScratchEvidence::UpdateSumOfProtoEvidences | ( | INT_CLASS | ClassTemplate, |
BIT_VECTOR | ConfigMask, | ||
int16_t | NumFeatures | ||
) |
Add sum of Proto Evidences into Sum Of Feature Evidence Array
Definition at line 1109 of file intmatcher.cpp.
uint8_t ScratchEvidence::feature_evidence_[MAX_NUM_CONFIGS] |
Definition at line 70 of file intmatcher.h.
uint8_t ScratchEvidence::proto_evidence_[MAX_NUM_PROTOS][MAX_PROTO_INDEX] |
Definition at line 72 of file intmatcher.h.
int ScratchEvidence::sum_feature_evidence_[MAX_NUM_CONFIGS] |
Definition at line 71 of file intmatcher.h.