Go to the source code of this file.
Classes | |
class | REGION_OCC |
class | BAND |
Macros | |
#define | RANGE_IN_BAND(band_max, band_min, range_max, range_min) ( ((range_min) >= (band_min)) && ((range_max) < (band_max)) ) ? TRUE : FALSE |
#define | RANGE_OVERLAPS_BAND(band_max, band_min, range_max, range_min) ( ((range_max) >= (band_min)) && ((range_min) < (band_max)) ) ? TRUE : FALSE |
#define | MAX_NUM_BANDS 5 |
#define | UNDEFINED_BAND 99 |
#define | NO_LOWER_LIMIT -9999 |
#define | NO_UPPER_LIMIT 9999 |
#define | DOT_BAND 0 |
#define | END_OF_WERD_CODE 255 |
Functions | |
BOOL8 | test_underline (BOOL8 testing_on, C_BLOB *blob, inT16 baseline, inT16 xheight) |
Variables | |
bool | blockocc_show_result = FALSE |
int | blockocc_desc_height = 0 |
int | blockocc_asc_height = 255 |
int | blockocc_band_count = 4 |
double | textord_underline_threshold = 0.9 |
test_underline
Check to see if the blob is an underline. Return TRUE if it is.
Definition at line 53 of file blkocc.cpp.
int blockocc_asc_height = 255 |
"Ascender height after normalisation"
int blockocc_band_count = 4 |
"Number of bands used"
int blockocc_desc_height = 0 |
"Descender height after normalisation"
bool blockocc_show_result = FALSE |
"Show intermediate results"
double textord_underline_threshold = 0.9 |
"Fraction of width occupied"
Definition at line 38 of file blkocc.cpp.