#include <math.h>#include "chopper.h"#include "cutil.h"#include "matrix.h"#include "seam.h"#include "states.h"#include "stopper.h"#include "assert.h"#include "associate.h"#include "callcpp.h"#include "choices.h"#include "const.h"#include "oldheap.h"#include "chop.h"#include "freelist.h"#include "globals.h"#include "olutil.h"#include "metrics.h"#include "render.h"#include "permute.h"#include "pieces.h"#include "structures.h"#include "tordvars.h"#include "unicharset.h"#include "wordclass.h"#include "wordrec.h"Namespaces | |
| namespace | tesseract |
Defines | |
bounds_inside | |
| #define | bounds_inside(inner_tl, inner_br, outer_tl, outer_br) |
Functions | |
preserve_outline_tree | |
| void | preserve_outline (EDGEPT *start) |
| void | preserve_outline_tree (TESSLINE *srcline) |
restore_outline_tree | |
| EDGEPT * | restore_outline (EDGEPT *start) |
| void | restore_outline_tree (TESSLINE *srcline) |
attempt_blob_chop | |
| SEAM * | attempt_blob_chop (TWERD *word, inT32 blob_number, SEAMS seam_list) |
any_shared_split_points | |
| int | any_shared_split_points (SEAMS seam_list, SEAM *seam) |
check_blob | |
| int | check_blob (TBLOB *blob) |
check_seam_order | |
| inT16 | check_seam_order (TBLOB *blob, SEAM *seam) |
| SEAMS | start_seam_list (TBLOB *blobs) |
| inT16 | total_containment (TBLOB *blob1, TBLOB *blob2) |
Variables | |
| int | repair_unchopped_blobs = 1 |
| double | tessedit_certainty_threshold = -2.25 |
| bool | fragments_guide_chopper = FALSE |
| #define bounds_inside | ( | inner_tl, | |||
| inner_br, | |||||
| outer_tl, | |||||
| outer_br | ) |
((inner_tl.x >= outer_tl.x) && \ (inner_tl.y <= outer_tl.y) && \ (inner_br.x <= outer_br.x) && \ (inner_br.y >= outer_br.y)) \
| int check_blob | ( | TBLOB * | blob | ) |
| void preserve_outline | ( | EDGEPT * | start | ) |
| void preserve_outline_tree | ( | TESSLINE * | srcline | ) |
| void restore_outline_tree | ( | TESSLINE * | srcline | ) |
| bool fragments_guide_chopper = FALSE |
"Use information from fragments to guide chopping process"
| int repair_unchopped_blobs = 1 |
"Fix blobs that aren't chopped"
| double tessedit_certainty_threshold = -2.25 |
"Good blob limit"
1.6.3