tesseract
3.05.02
|
#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 NumFeatures, inT32 used_features) |
void | UpdateSumOfProtoEvidences (INT_CLASS ClassTemplate, BIT_VECTOR ConfigMask, inT16 NumFeatures) |
Public Attributes | |
uinT8 | feature_evidence_ [MAX_NUM_CONFIGS] |
int | sum_feature_evidence_ [MAX_NUM_CONFIGS] |
uinT8 | 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 709 of file intmatcher.cpp.
void ScratchEvidence::ClearFeatureEvidence | ( | const INT_CLASS | class_template | ) |
Definition at line 716 of file intmatcher.cpp.
void ScratchEvidence::NormalizeSums | ( | INT_CLASS | ClassTemplate, |
inT16 | NumFeatures, | ||
inT32 | 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 1169 of file intmatcher.cpp.
void ScratchEvidence::UpdateSumOfProtoEvidences | ( | INT_CLASS | ClassTemplate, |
BIT_VECTOR | ConfigMask, | ||
inT16 | NumFeatures | ||
) |
Add sum of Proto Evidences into Sum Of Feature Evidence Array
Definition at line 1128 of file intmatcher.cpp.
uinT8 ScratchEvidence::feature_evidence_[MAX_NUM_CONFIGS] |
Definition at line 70 of file intmatcher.h.
uinT8 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.