|
tesseract
4.0.0-1-g2a2b
|
Go to the source code of this file.
Macros | |
| #define | EXTERN |
Functions | |
extract_edges | |
Run the edge detector over the block and return a list of blobs. | |
| void | extract_edges (Pix *pix, BLOCK *block) |
outlines_to_blobs | |
Gather together outlines into blobs using the usual bucket sort. | |
| void | outlines_to_blobs (BLOCK *block, ICOORD bleft, ICOORD tright, C_OUTLINE_LIST *outlines) |
fill_buckets | |
Run the edge detector over the block and return a list of blobs. | |
| void | fill_buckets (C_OUTLINE_LIST *outlines, OL_BUCKETS *buckets) |
empty_buckets | |
Run the edge detector over the block and return a list of blobs. | |
| void | empty_buckets (BLOCK *block, OL_BUCKETS *buckets) |
capture_children | |
Find all neighbouring outlines that are children of this outline and either move them to the output list or declare this outline illegal and return FALSE. | |
| bool | 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 |
Definition at line 30 of file edgblob.cpp.
| bool capture_children | ( | OL_BUCKETS * | buckets, |
| C_BLOB_IT * | reject_it, | ||
| C_OUTLINE_IT * | blob_it | ||
| ) |
Definition at line 440 of file edgblob.cpp.
| void empty_buckets | ( | BLOCK * | block, |
| OL_BUCKETS * | buckets | ||
| ) |
Definition at line 398 of file edgblob.cpp.
| void extract_edges | ( | Pix * | pix, |
| BLOCK * | block | ||
| ) |
Definition at line 334 of file edgblob.cpp.
| void fill_buckets | ( | C_OUTLINE_LIST * | outlines, |
| OL_BUCKETS * | buckets | ||
| ) |
Definition at line 373 of file edgblob.cpp.
Definition at line 354 of file edgblob.cpp.
| EXTERN double edges_boxarea = 0.875 |
"Min area fraction of grandchild for box"
Definition at line 60 of file edgblob.cpp.
| EXTERN double edges_childarea = 0.5 |
"Min area fraction of child outline"
Definition at line 58 of file edgblob.cpp.
| EXTERN int edges_children_count_limit = 45 |
"Max holes allowed in blob"
Definition at line 50 of file edgblob.cpp.
"Remove boxy parents of char-like children"
Definition at line 52 of file edgblob.cpp.
| EXTERN int edges_children_per_grandchild = 10 |
"Importance ratio for chucking outlines"
Definition at line 48 of file edgblob.cpp.
"turn on debugging for this module"
Definition at line 44 of file edgblob.cpp.
| EXTERN int edges_max_children_layers = 5 |
"Max layers of nested children inside a character outline"
Definition at line 42 of file edgblob.cpp.
| EXTERN int edges_max_children_per_outline = 10 |
"Max number of children inside a character outline"
Definition at line 40 of file edgblob.cpp.
| EXTERN int edges_min_nonhole = 12 |
"Min pixels for potential char in box"
Definition at line 54 of file edgblob.cpp.
| EXTERN int edges_patharea_ratio = 40 |
"Max lensq/area for acceptable child outline"
Definition at line 56 of file edgblob.cpp.
"Use the new outline complexity module"
Definition at line 38 of file edgblob.cpp.