tesseract::ClassPruner Class Reference
List of all members.
Public Member Functions |
| ClassPruner (int max_classes) |
| ~ClassPruner () |
void | ComputeScores (const INT_TEMPLATES_STRUCT *int_templates, int num_features, const INT_FEATURE_STRUCT *features) |
void | AdjustForExpectedNumFeatures (const uinT16 *expected_num_features, int cutoff_strength) |
void | DisableDisabledClasses (const UNICHARSET &unicharset) |
void | DisableFragments (const UNICHARSET &unicharset) |
void | NormalizeForXheight (int norm_multiplier, const uinT8 *normalization_factors) |
void | NoNormalization () |
void | PruneAndSort (int pruning_factor, bool max_of_non_fragments, const UNICHARSET &unicharset) |
void | DebugMatch (const Classify &classify, const INT_TEMPLATES_STRUCT *int_templates, const INT_FEATURE_STRUCT *features) const |
void | SummarizeResult (const Classify &classify, const INT_TEMPLATES_STRUCT *int_templates, const uinT16 *expected_num_features, int norm_multiplier, const uinT8 *normalization_factors) const |
int | SetupResults (CP_RESULT_STRUCT *results) const |
Constructor & Destructor Documentation
tesseract::ClassPruner::ClassPruner |
( |
int |
max_classes |
) |
[inline] |
tesseract::ClassPruner::~ClassPruner |
( |
|
) |
[inline] |
Member Function Documentation
void tesseract::ClassPruner::AdjustForExpectedNumFeatures |
( |
const uinT16 * |
expected_num_features, |
|
|
int |
cutoff_strength | |
|
) |
| | [inline] |
void tesseract::ClassPruner::DisableDisabledClasses |
( |
const UNICHARSET & |
unicharset |
) |
[inline] |
void tesseract::ClassPruner::DisableFragments |
( |
const UNICHARSET & |
unicharset |
) |
[inline] |
void tesseract::ClassPruner::NoNormalization |
( |
|
) |
[inline] |
void tesseract::ClassPruner::NormalizeForXheight |
( |
int |
norm_multiplier, |
|
|
const uinT8 * |
normalization_factors | |
|
) |
| | [inline] |
void tesseract::ClassPruner::PruneAndSort |
( |
int |
pruning_factor, |
|
|
bool |
max_of_non_fragments, |
|
|
const UNICHARSET & |
unicharset | |
|
) |
| | [inline] |
int tesseract::ClassPruner::SetupResults |
( |
CP_RESULT_STRUCT * |
results |
) |
const [inline] |
void tesseract::ClassPruner::SummarizeResult |
( |
const Classify & |
classify, |
|
|
const INT_TEMPLATES_STRUCT * |
int_templates, |
|
|
const uinT16 * |
expected_num_features, |
|
|
int |
norm_multiplier, |
|
|
const uinT8 * |
normalization_factors | |
|
) |
| | const [inline] |
The documentation for this class was generated from the following file: