#include "mfcpch.h"#include "scanedg.h"#include "params.h"#include "scrollview.h"#include "img.h"#include "pdblock.h"#include "crakedge.h"#include "drawedg.h"#include "coutln.h"#include "ocrblock.h"#include "notdll.h"Defines | |
| #define | EXTERN |
Functions | |
extract_edges | |
| void | extract_edges (Pix *pix, BLOCK *block) |
outlines_to_blobs | |
| void | outlines_to_blobs (BLOCK *block, ICOORD bleft, ICOORD tright, C_OUTLINE_LIST *outlines) |
fill_buckets | |
| void | fill_buckets (C_OUTLINE_LIST *outlines, OL_BUCKETS *buckets) |
empty_buckets | |
| void | empty_buckets (BLOCK *block, OL_BUCKETS *buckets) |
capture_children | |
| BOOL8 | capture_children (OL_BUCKETS *buckets, C_BLOB_IT *reject_it, C_OUTLINE_IT *blob_it) |
Variables | |
| EXTERN bool | edges_use_new_outline_complexity = FALSE |
| EXTERN int | edges_max_children_per_outline = 10 |
| EXTERN int | edges_max_children_layers = 5 |
| EXTERN bool | edges_debug = FALSE |
| EXTERN int | edges_children_per_grandchild = 10 |
| EXTERN int | edges_children_count_limit = 45 |
| EXTERN bool | edges_children_fix = FALSE |
| EXTERN int | edges_min_nonhole = 12 |
| EXTERN int | edges_patharea_ratio = 40 |
| EXTERN double | edges_childarea = 0.5 |
| EXTERN double | edges_boxarea = 0.875 |
| #define EXTERN |
| BOOL8 capture_children | ( | OL_BUCKETS * | buckets, | |
| C_BLOB_IT * | reject_it, | |||
| C_OUTLINE_IT * | blob_it | |||
| ) |
| void empty_buckets | ( | BLOCK * | block, | |
| OL_BUCKETS * | buckets | |||
| ) |
| void extract_edges | ( | Pix * | pix, | |
| BLOCK * | block | |||
| ) |
| void fill_buckets | ( | C_OUTLINE_LIST * | outlines, | |
| OL_BUCKETS * | buckets | |||
| ) |
| EXTERN double edges_boxarea = 0.875 |
"Min area fraction of grandchild for box"
| EXTERN double edges_childarea = 0.5 |
"Min area fraction of child outline"
| EXTERN int edges_children_count_limit = 45 |
"Max holes allowed in blob"
| EXTERN bool edges_children_fix = FALSE |
"Remove boxy parents of char-like children"
| EXTERN int edges_children_per_grandchild = 10 |
"Importance ratio for chucking outlines"
| EXTERN bool edges_debug = FALSE |
"turn on debugging for this module"
| EXTERN int edges_max_children_layers = 5 |
"Max layers of nested children inside a character outline"
| EXTERN int edges_max_children_per_outline = 10 |
"Max number of children inside a character outline"
| EXTERN int edges_min_nonhole = 12 |
"Min pixels for potential char in box"
| EXTERN int edges_patharea_ratio = 40 |
"Max lensq/area for acceptable child outline"
| EXTERN bool edges_use_new_outline_complexity = FALSE |
"Use the new outline complexity module"
1.6.3