tesseract v5.3.3.20231005
|
#include <intmatcher.h>
Public Member Functions | |
void | Clear (const INT_CLASS_STRUCT *class_template) |
void | ClearFeatureEvidence (const INT_CLASS_STRUCT *class_template) |
void | NormalizeSums (INT_CLASS_STRUCT *ClassTemplate, int16_t NumFeatures) |
void | UpdateSumOfProtoEvidences (INT_CLASS_STRUCT *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 49 of file intmatcher.h.
void tesseract::ScratchEvidence::Clear | ( | const INT_CLASS_STRUCT * | class_template | ) |
Definition at line 697 of file intmatcher.cpp.
void tesseract::ScratchEvidence::ClearFeatureEvidence | ( | const INT_CLASS_STRUCT * | class_template | ) |
Definition at line 702 of file intmatcher.cpp.
void tesseract::ScratchEvidence::NormalizeSums | ( | INT_CLASS_STRUCT * | 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 1112 of file intmatcher.cpp.
void tesseract::ScratchEvidence::UpdateSumOfProtoEvidences | ( | INT_CLASS_STRUCT * | ClassTemplate, |
BIT_VECTOR | ConfigMask | ||
) |
Add sum of Proto Evidences into Sum Of Feature Evidence Array
Definition at line 1072 of file intmatcher.cpp.
uint8_t tesseract::ScratchEvidence::feature_evidence_[MAX_NUM_CONFIGS] |
Definition at line 50 of file intmatcher.h.
uint8_t tesseract::ScratchEvidence::proto_evidence_[MAX_NUM_PROTOS][MAX_PROTO_INDEX] |
Definition at line 52 of file intmatcher.h.
int tesseract::ScratchEvidence::sum_feature_evidence_[MAX_NUM_CONFIGS] |
Definition at line 51 of file intmatcher.h.