#include <ratngs.h>
|
| BLOB_CHOICE () |
|
| BLOB_CHOICE (UNICHAR_ID src_unichar_id, float src_rating, float src_cert, int script_id, float min_xheight, float max_xheight, float yshift, BlobChoiceClassifier c) |
|
| BLOB_CHOICE (const BLOB_CHOICE &other) |
|
| ~BLOB_CHOICE ()=default |
|
UNICHAR_ID | unichar_id () const |
|
float | rating () const |
|
float | certainty () const |
|
int16_t | fontinfo_id () const |
|
int16_t | fontinfo_id2 () const |
|
const GenericVector< tesseract::ScoredFont > & | fonts () const |
|
void | set_fonts (const GenericVector< tesseract::ScoredFont > &fonts) |
|
int | script_id () const |
|
const MATRIX_COORD & | matrix_cell () |
|
int16_t | xgap_before () const |
|
int16_t | xgap_after () const |
|
float | min_xheight () const |
|
float | max_xheight () const |
|
float | yshift () const |
|
BlobChoiceClassifier | classifier () const |
|
bool | IsAdapted () const |
|
bool | IsClassified () const |
|
void | set_unichar_id (UNICHAR_ID newunichar_id) |
|
void | set_rating (float newrat) |
|
void | set_certainty (float newrat) |
|
void | set_script (int newscript_id) |
|
void | set_matrix_cell (int col, int row) |
|
void | set_xgap_before (int16_t gap) |
|
void | set_xgap_after (int16_t gap) |
|
void | set_classifier (BlobChoiceClassifier classifier) |
|
bool | PosAndSizeAgree (const BLOB_CHOICE &other, float x_height, bool debug) const |
|
void | print (const UNICHARSET *unicharset) const |
|
void | print_full () const |
|
| ELIST_LINK () |
|
| ELIST_LINK (const ELIST_LINK &) |
|
void | operator= (const ELIST_LINK &) |
|
◆ BLOB_CHOICE() [1/3]
BLOB_CHOICE::BLOB_CHOICE |
( |
| ) |
|
|
inline |
◆ BLOB_CHOICE() [2/3]
BLOB_CHOICE::BLOB_CHOICE |
( |
UNICHAR_ID |
src_unichar_id, |
|
|
float |
src_rating, |
|
|
float |
src_cert, |
|
|
int |
src_script_id, |
|
|
float |
min_xheight, |
|
|
float |
max_xheight, |
|
|
float |
yshift, |
|
|
BlobChoiceClassifier |
c |
|
) |
| |
◆ BLOB_CHOICE() [3/3]
◆ ~BLOB_CHOICE()
BLOB_CHOICE::~BLOB_CHOICE |
( |
| ) |
|
|
default |
◆ certainty()
float BLOB_CHOICE::certainty |
( |
| ) |
const |
|
inline |
◆ classifier()
BlobChoiceClassifier BLOB_CHOICE::classifier |
( |
| ) |
const |
|
inline |
◆ deep_copy()
◆ fontinfo_id()
int16_t BLOB_CHOICE::fontinfo_id |
( |
| ) |
const |
|
inline |
◆ fontinfo_id2()
int16_t BLOB_CHOICE::fontinfo_id2 |
( |
| ) |
const |
|
inline |
◆ fonts()
◆ IsAdapted()
bool BLOB_CHOICE::IsAdapted |
( |
| ) |
const |
|
inline |
◆ IsClassified()
bool BLOB_CHOICE::IsClassified |
( |
| ) |
const |
|
inline |
◆ matrix_cell()
◆ max_xheight()
float BLOB_CHOICE::max_xheight |
( |
| ) |
const |
|
inline |
◆ min_xheight()
float BLOB_CHOICE::min_xheight |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ PosAndSizeAgree()
bool BLOB_CHOICE::PosAndSizeAgree |
( |
const BLOB_CHOICE & |
other, |
|
|
float |
x_height, |
|
|
bool |
debug |
|
) |
| const |
◆ print()
void BLOB_CHOICE::print |
( |
const UNICHARSET * |
unicharset | ) |
const |
|
inline |
◆ print_full()
void BLOB_CHOICE::print_full |
( |
| ) |
const |
|
inline |
◆ rating()
float BLOB_CHOICE::rating |
( |
| ) |
const |
|
inline |
◆ script_id()
int BLOB_CHOICE::script_id |
( |
| ) |
const |
|
inline |
◆ set_certainty()
void BLOB_CHOICE::set_certainty |
( |
float |
newrat | ) |
|
|
inline |
◆ set_classifier()
void BLOB_CHOICE::set_classifier |
( |
BlobChoiceClassifier |
classifier | ) |
|
|
inline |
◆ set_fonts()
◆ set_matrix_cell()
void BLOB_CHOICE::set_matrix_cell |
( |
int |
col, |
|
|
int |
row |
|
) |
| |
|
inline |
◆ set_rating()
void BLOB_CHOICE::set_rating |
( |
float |
newrat | ) |
|
|
inline |
◆ set_script()
void BLOB_CHOICE::set_script |
( |
int |
newscript_id | ) |
|
|
inline |
◆ set_unichar_id()
void BLOB_CHOICE::set_unichar_id |
( |
UNICHAR_ID |
newunichar_id | ) |
|
|
inline |
◆ set_xgap_after()
void BLOB_CHOICE::set_xgap_after |
( |
int16_t |
gap | ) |
|
|
inline |
◆ set_xgap_before()
void BLOB_CHOICE::set_xgap_before |
( |
int16_t |
gap | ) |
|
|
inline |
◆ SortByRating()
static int BLOB_CHOICE::SortByRating |
( |
const void * |
p1, |
|
|
const void * |
p2 |
|
) |
| |
|
inlinestatic |
◆ unichar_id()
UNICHAR_ID BLOB_CHOICE::unichar_id |
( |
| ) |
const |
|
inline |
◆ xgap_after()
int16_t BLOB_CHOICE::xgap_after |
( |
| ) |
const |
|
inline |
◆ xgap_before()
int16_t BLOB_CHOICE::xgap_before |
( |
| ) |
const |
|
inline |
◆ yshift()
float BLOB_CHOICE::yshift |
( |
| ) |
const |
|
inline |
◆ certainty_
float BLOB_CHOICE::certainty_ |
|
private |
◆ classifier_
BlobChoiceClassifier BLOB_CHOICE::classifier_ |
|
private |
◆ fontinfo_id2_
int16_t BLOB_CHOICE::fontinfo_id2_ |
|
private |
◆ fontinfo_id_
int16_t BLOB_CHOICE::fontinfo_id_ |
|
private |
◆ fonts_
◆ matrix_cell_
◆ max_xheight_
float BLOB_CHOICE::max_xheight_ |
|
private |
◆ min_xheight_
float BLOB_CHOICE::min_xheight_ |
|
private |
◆ rating_
float BLOB_CHOICE::rating_ |
|
private |
◆ script_id_
int BLOB_CHOICE::script_id_ |
|
private |
◆ unichar_id_
UNICHAR_ID BLOB_CHOICE::unichar_id_ |
|
private |
◆ xgap_after_
int16_t BLOB_CHOICE::xgap_after_ |
|
private |
◆ xgap_before_
int16_t BLOB_CHOICE::xgap_before_ |
|
private |
◆ yshift_
float BLOB_CHOICE::yshift_ |
|
private |
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/ccstruct/ratngs.h
- /home/stephane/src/tesseract/src/ccstruct/ratngs.cpp