26 "Use original wiseowl xheight");
28 "Debug old baseline generation");
30 "Debug baseline generation");
33 "Split stepped splines");
35 "Merge suspect partitions");
37 "Fix bug in modes threshold for xheights");
39 "Max lost before fallback line used");
42 "X fraction for new partition");
112 int degree,
int pointcount,
126 int coord2,
int &segments
166 int modelist[],
int modenum
171 int lefts[],
int rights[],
#define INT_VAR_H(name, val, comment)
double oldbl_dot_error_size
void old_first_xheight(TO_ROW *row, TBOX blobcoords[], int initialheight, int blobcount, QSPLINE *baseline, float jumplimit)
#define BOOL_VAR_H(name, val, comment)
int segment_spline(TBOX blobcoords[], int blobcount, int xcoords[], int ycoords[], int degree, int pointcount, int xstarts[])
bool textord_oldbl_split_splines
#define double_VAR_H(name, val, comment)
int oldbl_holed_losscount
void insert_spline_point(int xstarts[], int segment, int coord1, int coord2, int &segments)
void make_first_xheight(TO_ROW *row, TBOX blobcoords[], int lineheight, int init_lineheight, int blobcount, QSPLINE *baseline, float jumplimit)
int get_blob_coords(TO_ROW *row, int32_t lineheight, TBOX *blobcoords, bool &holed_line, int &outcount)
void find_top_modes(STATS *stats, int statnum, int modelist[], int modenum)
int get_ydiffs(TBOX blobcoords[], int blobcount, QSPLINE *spline, float ydiffs[])
bool textord_debug_baselines
double textord_oldbl_jumplimit
void make_first_baseline(TBOX blobcoords[], int blobcount, int xcoords[], int ycoords[], QSPLINE *spline, QSPLINE *baseline, float jumplimit)
int partition_line(TBOX blobcoords[], int blobcount, int *numparts, char partids[], int partsizes[], QSPLINE *spline, float jumplimit, float ydiffs[])
bool textord_really_old_xheight
void find_lesser_parts(TO_ROW *row, TBOX blobcoords[], int blobcount, char partids[], int partsizes[], int partcount, int bestpart)
bool textord_oldbl_merge_parts
int partition_coords(TBOX blobcoords[], int blobcount, char partids[], int bestpart, int xcoords[], int ycoords[])
int * make_height_array(TBOX blobcoords[], int blobcount, QSPLINE *baseline)
void merge_oldbl_parts(TBOX blobcoords[], int blobcount, char partids[], int partsizes[], int biggestpart, float jumplimit)
int choose_partition(float diff, float partdiffs[], int lastpart, float jumplimit, float *drift, float *last_delta, int *partcount)
bool textord_oldbl_paradef
void pick_x_height(TO_ROW *row, int modelist[], int lefts[], int rights[], STATS *heightstat, int mode_threshold)
bool split_stepped_spline(QSPLINE *baseline, float jumplimit, int *xcoords, int *xstarts, int &segments)
void make_holed_baseline(TBOX blobcoords[], int blobcount, QSPLINE *spline, QSPLINE *baseline, float gradient)