|
tesseract v5.3.3.20231005
|
Go to the source code of this file.
Classes | |
| struct | tesseract::TEMP_PROTO_STRUCT |
| struct | tesseract::TEMP_CONFIG_STRUCT |
| struct | tesseract::PERM_CONFIG_STRUCT |
| union | tesseract::ADAPTED_CONFIG |
| struct | tesseract::ADAPT_CLASS_STRUCT |
| class | tesseract::ADAPT_TEMPLATES_STRUCT |
Namespaces | |
| namespace | tesseract |
Macros | |
| #define | NumNonEmptyClassesIn(Template) ((Template)->NumNonEmptyClasses) |
| #define | IsEmptyAdaptedClass(Class) ((Class)->NumPermConfigs == 0 && (Class)->TempProtos == NIL_LIST) |
| #define | ConfigIsPermanent(Class, ConfigId) (test_bit((Class)->PermConfigs, ConfigId)) |
| #define | MakeConfigPermanent(Class, ConfigId) (SET_BIT((Class)->PermConfigs, ConfigId)) |
| #define | MakeProtoPermanent(Class, ProtoId) (SET_BIT((Class)->PermProtos, ProtoId)) |
| #define | TempConfigFor(Class, ConfigId) ((Class)->Config[ConfigId].Temp) |
| #define | PermConfigFor(Class, ConfigId) ((Class)->Config[ConfigId].Perm) |
| #define | IncreaseConfidence(TempConfig) ((TempConfig)->NumTimesSeen++) |
Functions | |
| void | tesseract::AddAdaptedClass (ADAPT_TEMPLATES_STRUCT *Templates, ADAPT_CLASS_STRUCT *Class, CLASS_ID ClassId) |
| ADAPT_CLASS_STRUCT * | tesseract::ReadAdaptedClass (TFile *fp) |
| PERM_CONFIG_STRUCT * | tesseract::ReadPermConfig (TFile *fp) |
| TEMP_CONFIG_STRUCT * | tesseract::ReadTempConfig (TFile *fp) |
| void | tesseract::WriteAdaptedClass (FILE *File, ADAPT_CLASS_STRUCT *Class, int NumConfigs) |
| void | tesseract::WritePermConfig (FILE *File, PERM_CONFIG_STRUCT *Config) |
| void | tesseract::WriteTempConfig (FILE *File, TEMP_CONFIG_STRUCT *Config) |
| #define ConfigIsPermanent | ( | Class, | |
| ConfigId | |||
| ) | (test_bit((Class)->PermConfigs, ConfigId)) |
Definition at line 85 of file adaptive.h.
| #define IncreaseConfidence | ( | TempConfig | ) | ((TempConfig)->NumTimesSeen++) |
Definition at line 95 of file adaptive.h.
| #define IsEmptyAdaptedClass | ( | Class | ) | ((Class)->NumPermConfigs == 0 && (Class)->TempProtos == NIL_LIST) |
Definition at line 83 of file adaptive.h.
| #define MakeConfigPermanent | ( | Class, | |
| ConfigId | |||
| ) | (SET_BIT((Class)->PermConfigs, ConfigId)) |
Definition at line 87 of file adaptive.h.
| #define MakeProtoPermanent | ( | Class, | |
| ProtoId | |||
| ) | (SET_BIT((Class)->PermProtos, ProtoId)) |
Definition at line 89 of file adaptive.h.
| #define NumNonEmptyClassesIn | ( | Template | ) | ((Template)->NumNonEmptyClasses) |
Definition at line 81 of file adaptive.h.
| #define PermConfigFor | ( | Class, | |
| ConfigId | |||
| ) | ((Class)->Config[ConfigId].Perm) |
Definition at line 93 of file adaptive.h.
| #define TempConfigFor | ( | Class, | |
| ConfigId | |||
| ) | ((Class)->Config[ConfigId].Temp) |
Definition at line 91 of file adaptive.h.