|
tesseract
4.0.0-1-g2a2b
|
Go to the source code of this file.
Functions | |
| int | get_blob_coords (TO_ROW *row, int32_t lineheight, TBOX *blobcoords, bool &holed_line, int &outcount) |
| void | make_first_baseline (TBOX blobcoords[], int blobcount, int xcoords[], int ycoords[], QSPLINE *spline, QSPLINE *baseline, float jumplimit) |
| void | make_holed_baseline (TBOX blobcoords[], int blobcount, QSPLINE *spline, QSPLINE *baseline, float gradient) |
| int | partition_line (TBOX blobcoords[], int blobcount, int *numparts, char partids[], int partsizes[], QSPLINE *spline, float jumplimit, float ydiffs[]) |
| void | merge_oldbl_parts (TBOX blobcoords[], int blobcount, char partids[], int partsizes[], int biggestpart, float jumplimit) |
| int | get_ydiffs (TBOX blobcoords[], int blobcount, QSPLINE *spline, float ydiffs[]) |
| int | choose_partition (float diff, float partdiffs[], int lastpart, float jumplimit, float *drift, float *last_delta, int *partcount) |
| int | partition_coords (TBOX blobcoords[], int blobcount, char partids[], int bestpart, int xcoords[], int ycoords[]) |
| int | segment_spline (TBOX blobcoords[], int blobcount, int xcoords[], int ycoords[], int degree, int pointcount, int xstarts[]) |
| bool | split_stepped_spline (QSPLINE *baseline, float jumplimit, int *xcoords, int *xstarts, int &segments) |
| void | insert_spline_point (int xstarts[], int segment, int coord1, int coord2, int &segments) |
| void | find_lesser_parts (TO_ROW *row, TBOX blobcoords[], int blobcount, char partids[], int partsizes[], int partcount, int bestpart) |
| void | old_first_xheight (TO_ROW *row, TBOX blobcoords[], int initialheight, int blobcount, QSPLINE *baseline, float jumplimit) |
| void | make_first_xheight (TO_ROW *row, TBOX blobcoords[], int lineheight, int init_lineheight, int blobcount, QSPLINE *baseline, float jumplimit) |
| int * | make_height_array (TBOX blobcoords[], int blobcount, QSPLINE *baseline) |
| void | find_top_modes (STATS *stats, int statnum, int modelist[], int modenum) |
| void | pick_x_height (TO_ROW *row, int modelist[], int lefts[], int rights[], STATS *heightstat, int mode_threshold) |
Variables | |
| bool | textord_really_old_xheight = FALSE |
| bool | textord_oldbl_debug = FALSE |
| bool | textord_debug_baselines = FALSE |
| bool | textord_oldbl_paradef = TRUE |
| bool | textord_oldbl_split_splines = TRUE |
| bool | textord_oldbl_merge_parts = TRUE |
| bool | oldbl_xhfix = FALSE |
| int | oldbl_holed_losscount = 10 |
| double | oldbl_dot_error_size = 1.26 |
| double | textord_oldbl_jumplimit = 0.15 |
| int choose_partition | ( | float | diff, |
| float | partdiffs[], | ||
| int | lastpart, | ||
| float | jumplimit, | ||
| float * | drift, | ||
| float * | last_delta, | ||
| int * | partcount | ||
| ) |
Definition at line 947 of file oldbasel.cpp.
| void find_lesser_parts | ( | TO_ROW * | row, |
| TBOX | blobcoords[], | ||
| int | blobcount, | ||
| char | partids[], | ||
| int | partsizes[], | ||
| int | partcount, | ||
| int | bestpart | ||
| ) |
Definition at line 1306 of file oldbasel.cpp.
| void find_top_modes | ( | STATS * | stats, |
| int | statnum, | ||
| int | modelist[], | ||
| int | modenum | ||
| ) |
Definition at line 1557 of file oldbasel.cpp.
| int get_blob_coords | ( | TO_ROW * | row, |
| int32_t | lineheight, | ||
| TBOX * | blobcoords, | ||
| bool & | holed_line, | ||
| int & | outcount | ||
| ) |
Definition at line 431 of file oldbasel.cpp.
Definition at line 896 of file oldbasel.cpp.
| void insert_spline_point | ( | int | xstarts[], |
| int | segment, | ||
| int | coord1, | ||
| int | coord2, | ||
| int & | segments | ||
| ) |
Definition at line 1282 of file oldbasel.cpp.
| void make_first_baseline | ( | TBOX | blobcoords[], |
| int | blobcount, | ||
| int | xcoords[], | ||
| int | ycoords[], | ||
| QSPLINE * | spline, | ||
| QSPLINE * | baseline, | ||
| float | jumplimit | ||
| ) |
Definition at line 501 of file oldbasel.cpp.
| void make_first_xheight | ( | TO_ROW * | row, |
| TBOX | blobcoords[], | ||
| int | lineheight, | ||
| int | init_lineheight, | ||
| int | blobcount, | ||
| QSPLINE * | baseline, | ||
| float | jumplimit | ||
| ) |
Definition at line 1472 of file oldbasel.cpp.
| void make_holed_baseline | ( | TBOX | blobcoords[], |
| int | blobcount, | ||
| QSPLINE * | spline, | ||
| QSPLINE * | baseline, | ||
| float | gradient | ||
| ) |
Definition at line 644 of file oldbasel.cpp.
| void merge_oldbl_parts | ( | TBOX | blobcoords[], |
| int | blobcount, | ||
| char | partids[], | ||
| int | partsizes[], | ||
| int | biggestpart, | ||
| float | jumplimit | ||
| ) |
Definition at line 783 of file oldbasel.cpp.
| void old_first_xheight | ( | TO_ROW * | row, |
| TBOX | blobcoords[], | ||
| int | initialheight, | ||
| int | blobcount, | ||
| QSPLINE * | baseline, | ||
| float | jumplimit | ||
| ) |
Definition at line 1387 of file oldbasel.cpp.
| int partition_coords | ( | TBOX | blobcoords[], |
| int | blobcount, | ||
| char | partids[], | ||
| int | bestpart, | ||
| int | xcoords[], | ||
| int | ycoords[] | ||
| ) |
Definition at line 1019 of file oldbasel.cpp.
| int partition_line | ( | TBOX | blobcoords[], |
| int | blobcount, | ||
| int * | numparts, | ||
| char | partids[], | ||
| int | partsizes[], | ||
| QSPLINE * | spline, | ||
| float | jumplimit, | ||
| float | ydiffs[] | ||
| ) |
Definition at line 702 of file oldbasel.cpp.
| void pick_x_height | ( | TO_ROW * | row, |
| int | modelist[], | ||
| int | lefts[], | ||
| int | rights[], | ||
| STATS * | heightstat, | ||
| int | mode_threshold | ||
| ) |
Definition at line 1597 of file oldbasel.cpp.
| int segment_spline | ( | TBOX | blobcoords[], |
| int | blobcount, | ||
| int | xcoords[], | ||
| int | ycoords[], | ||
| int | degree, | ||
| int | pointcount, | ||
| int | xstarts[] | ||
| ) |
Definition at line 1050 of file oldbasel.cpp.
| bool split_stepped_spline | ( | QSPLINE * | baseline, |
| float | jumplimit, | ||
| int * | xcoords, | ||
| int * | xstarts, | ||
| int & | segments | ||
| ) |
Definition at line 1175 of file oldbasel.cpp.
| double oldbl_dot_error_size = 1.26 |
"Max aspect ratio of a dot"
Definition at line 54 of file oldbasel.cpp.
| int oldbl_holed_losscount = 10 |
"Max lost before fallback line used"
Definition at line 53 of file oldbasel.cpp.
| bool oldbl_xhfix = FALSE |
"Fix bug in modes threshold for xheights"
Definition at line 49 of file oldbasel.cpp.
| bool textord_debug_baselines = FALSE |
"Debug baseline generation"
Definition at line 43 of file oldbasel.cpp.
| bool textord_oldbl_debug = FALSE |
"Debug old baseline generation"
Definition at line 42 of file oldbasel.cpp.
| double textord_oldbl_jumplimit = 0.15 |
"X fraction for new partition"
Definition at line 56 of file oldbasel.cpp.
| bool textord_oldbl_merge_parts = TRUE |
"Merge suspect partitions"
Definition at line 46 of file oldbasel.cpp.
| bool textord_oldbl_paradef = TRUE |
"Use para default mechanism"
Definition at line 44 of file oldbasel.cpp.
| bool textord_oldbl_split_splines = TRUE |
"Split stepped splines"
Definition at line 45 of file oldbasel.cpp.
| bool textord_really_old_xheight = FALSE |
"Use original wiseowl xheight"
Definition at line 41 of file oldbasel.cpp.