|
Tesseract 3.01
|
#include <math.h>#include "chopper.h"#include "assert.h"#include "associate.h"#include "callcpp.h"#include "const.h"#include "findseam.h"#include "freelist.h"#include "globals.h"#include "makechop.h"#include "render.h"#include "pageres.h"#include "permute.h"#include "pieces.h"#include "seam.h"#include "stopper.h"#include "structures.h"#include "unicharset.h"#include "wordclass.h"#include "wordrec.h"Namespaces | |
| namespace | tesseract |
Defines | |
bounds_inside | |
Check to see if the bounding box of one thing is inside the bounding box of another. | |
| #define | bounds_inside(inner_tl, inner_br, outer_tl, outer_br) |
Functions | |
preserve_outline_tree | |
Copy the list of outlines. | |
| void | preserve_outline (EDGEPT *start) |
| void | preserve_outline_tree (TESSLINE *srcline) |
restore_outline_tree | |
Copy the list of outlines. | |
| EDGEPT * | restore_outline (EDGEPT *start) |
| void | restore_outline_tree (TESSLINE *srcline) |
any_shared_split_points | |
Return true if any of the splits share a point with this one. | |
| int | any_shared_split_points (SEAMS seam_list, SEAM *seam) |
check_blob | |
| |
| int | check_blob (TBLOB *blob) |
check_seam_order | |
Make sure that each of the splits in this seam match to outlines in this blob. If any of the splits could not correspond to this blob then there is a problem (and FALSE should be returned to the caller). | |
| inT16 | check_seam_order (TBLOB *blob, SEAM *seam) |
| inT16 | total_containment (TBLOB *blob1, TBLOB *blob2) |
| #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 | ) |