/home/rays/src/opensrc/tesseract-ocr/textord/underlin.h File Reference
#include "fpchop.h"
#include "notdll.h"
Go to the source code of this file.
Functions |
| void | restore_underlined_blobs (TO_BLOCK *block) |
| TO_ROW * | most_overlapping_row (TO_ROW_LIST *rows, BLOBNBOX *blob) |
| void | find_underlined_blobs (BLOBNBOX *u_line, QSPLINE *baseline, float xheight, float baseline_offset, ICOORDELT_LIST *chop_cells) |
| void | vertical_cunderline_projection (C_OUTLINE *outline, QSPLINE *baseline, float xheight, float baseline_offset, STATS *lower_proj, STATS *middle_proj, STATS *upper_proj) |
Variables |
| double | textord_underline_offset = 0.1 |
| bool | textord_restore_underlines = FALSE |
Function Documentation
| void find_underlined_blobs |
( |
BLOBNBOX * |
u_line, |
|
|
QSPLINE * |
baseline, |
|
|
float |
xheight, |
|
|
float |
baseline_offset, |
|
|
ICOORDELT_LIST * |
chop_cells | |
|
) |
| | |
| void restore_underlined_blobs |
( |
TO_BLOCK * |
block |
) |
|
| void vertical_cunderline_projection |
( |
C_OUTLINE * |
outline, |
|
|
QSPLINE * |
baseline, |
|
|
float |
xheight, |
|
|
float |
baseline_offset, |
|
|
STATS * |
lower_proj, |
|
|
STATS * |
middle_proj, |
|
|
STATS * |
upper_proj | |
|
) |
| | |
Variable Documentation
"Chop underlines & put back"
"Fraction of x to ignore"