#include <charsample.h>
Public Member Functions | |
CHAR_SAMPLES () | |
CHAR_SAMPLES (CHAR_SAMPLE *sample) | |
~CHAR_SAMPLES () | |
inT32 | n_samples () |
void | add_sample (CHAR_SAMPLE *sample, tesseract::Tesseract *) |
void | build_prototype () |
void | rebuild_prototype (inT32 new_xsize, inT32 new_ysize) |
void | add_sample_to_prototype (CHAR_SAMPLE *sample) |
CHAR_PROTO * | prototype () |
void | find_best_sample () |
float | match_score (CHAR_SAMPLE *sample, tesseract::Tesseract *tess) |
float | nn_match_score (CHAR_SAMPLE *sample, tesseract::Tesseract *tess) |
char | character () |
void | assign_to_char () |
void | print (FILE *f) |
Public Attributes | |
NEWDELETE2(CHAR_SAMPLES) private char | ch |
CHAR_PROTO * | proto |
CHAR_SAMPLE * | best_sample |
CHAR_SAMPLE_LIST | samples |
CHAR_SAMPLES::CHAR_SAMPLES | ( | ) |
CHAR_SAMPLES::CHAR_SAMPLES | ( | CHAR_SAMPLE * | sample | ) |
CHAR_SAMPLES::~CHAR_SAMPLES | ( | ) | [inline] |
void CHAR_SAMPLES::add_sample | ( | CHAR_SAMPLE * | sample, | |
tesseract::Tesseract * | tess | |||
) |
void CHAR_SAMPLES::add_sample_to_prototype | ( | CHAR_SAMPLE * | sample | ) |
void CHAR_SAMPLES::assign_to_char | ( | ) |
void CHAR_SAMPLES::build_prototype | ( | ) |
char CHAR_SAMPLES::character | ( | ) | [inline] |
void CHAR_SAMPLES::find_best_sample | ( | ) |
float CHAR_SAMPLES::match_score | ( | CHAR_SAMPLE * | sample, | |
tesseract::Tesseract * | tess | |||
) |
inT32 CHAR_SAMPLES::n_samples | ( | ) | [inline] |
float CHAR_SAMPLES::nn_match_score | ( | CHAR_SAMPLE * | sample, | |
tesseract::Tesseract * | tess | |||
) |
void CHAR_SAMPLES::print | ( | FILE * | f | ) |
CHAR_PROTO* CHAR_SAMPLES::prototype | ( | ) | [inline] |
NEWDELETE2 (CHAR_SAMPLES) private char CHAR_SAMPLES::ch |
CHAR_SAMPLE_LIST CHAR_SAMPLES::samples |