tesseract
3.05.02
|
Go to the source code of this file.
Classes | |
class | BLOBNBOX |
class | TO_ROW |
class | TO_BLOCK |
Namespaces | |
tesseract | |
Enumerations | |
enum | PITCH_TYPE { PITCH_DUNNO, PITCH_DEF_FIXED, PITCH_MAYBE_FIXED, PITCH_DEF_PROP, PITCH_MAYBE_PROP, PITCH_CORR_FIXED, PITCH_CORR_PROP } |
enum | TabType { TT_NONE, TT_DELETED, TT_MAYBE_RAGGED, TT_MAYBE_ALIGNED, TT_CONFIRMED, TT_VLINE } |
enum | BlobRegionType { BRT_NOISE, BRT_HLINE, BRT_VLINE, BRT_RECTIMAGE, BRT_POLYIMAGE, BRT_UNKNOWN, BRT_VERT_TEXT, BRT_TEXT, BRT_COUNT } |
enum | BlobNeighbourDir { BND_LEFT, BND_BELOW, BND_RIGHT, BND_ABOVE, BND_COUNT } |
enum | BlobSpecialTextType { BSTT_NONE, BSTT_ITALIC, BSTT_DIGIT, BSTT_MATH, BSTT_UNCLEAR, BSTT_SKIP, BSTT_COUNT } |
enum | BlobTextFlowType { BTFT_NONE, BTFT_NONTEXT, BTFT_NEIGHBOURS, BTFT_CHAIN, BTFT_STRONG_CHAIN, BTFT_TEXT_ON_IMAGE, BTFT_LEADER, BTFT_COUNT } |
Functions | |
BlobNeighbourDir | DirOtherWay (BlobNeighbourDir dir) |
bool | DominatesInMerge (BlobTextFlowType type1, BlobTextFlowType type2) |
void | find_cblob_limits (C_BLOB *blob, float leftx, float rightx, FCOORD rotation, float &ymin, float &ymax) |
void | find_cblob_vlimits (C_BLOB *blob, float leftx, float rightx, float &ymin, float &ymax) |
void | find_cblob_hlimits (C_BLOB *blob, float bottomy, float topy, float &xmin, float &xymax) |
C_BLOB * | crotate_cblob (C_BLOB *blob, FCOORD rotation) |
TBOX | box_next (BLOBNBOX_IT *it) |
TBOX | box_next_pre_chopped (BLOBNBOX_IT *it) |
void | vertical_cblob_projection (C_BLOB *blob, STATS *stats) |
void | vertical_coutline_projection (C_OUTLINE *outline, STATS *stats) |
void | plot_blob_list (ScrollView *win, BLOBNBOX_LIST *list, ScrollView::Color body_colour, ScrollView::Color child_colour) |
Variables | |
double | textord_error_weight = 3 |
enum BlobNeighbourDir |
Enumerator | |
---|---|
BND_LEFT | |
BND_BELOW | |
BND_RIGHT | |
BND_ABOVE | |
BND_COUNT |
Definition at line 72 of file blobbox.h.
enum BlobRegionType |
Enumerator | |
---|---|
BRT_NOISE | |
BRT_HLINE | |
BRT_VLINE | |
BRT_RECTIMAGE | |
BRT_POLYIMAGE | |
BRT_UNKNOWN | |
BRT_VERT_TEXT | |
BRT_TEXT | |
BRT_COUNT |
Definition at line 57 of file blobbox.h.
enum BlobSpecialTextType |
Enumerator | |
---|---|
BSTT_NONE | |
BSTT_ITALIC | |
BSTT_DIGIT | |
BSTT_MATH | |
BSTT_UNCLEAR | |
BSTT_SKIP | |
BSTT_COUNT |
Definition at line 81 of file blobbox.h.
enum BlobTextFlowType |
Enumerator | |
---|---|
BTFT_NONE | |
BTFT_NONTEXT | |
BTFT_NEIGHBOURS | |
BTFT_CHAIN | |
BTFT_STRONG_CHAIN | |
BTFT_TEXT_ON_IMAGE | |
BTFT_LEADER | |
BTFT_COUNT |
Definition at line 99 of file blobbox.h.
enum PITCH_TYPE |
Enumerator | |
---|---|
PITCH_DUNNO | |
PITCH_DEF_FIXED | |
PITCH_MAYBE_FIXED | |
PITCH_DEF_PROP | |
PITCH_MAYBE_PROP | |
PITCH_CORR_FIXED | |
PITCH_CORR_PROP |
Definition at line 29 of file blobbox.h.
enum TabType |
Enumerator | |
---|---|
TT_NONE | |
TT_DELETED | |
TT_MAYBE_RAGGED | |
TT_MAYBE_ALIGNED | |
TT_CONFIRMED | |
TT_VLINE |
Definition at line 44 of file blobbox.h.
TBOX box_next | ( | BLOBNBOX_IT * | it | ) |
Definition at line 631 of file blobbox.cpp.
TBOX box_next_pre_chopped | ( | BLOBNBOX_IT * | it | ) |
Definition at line 660 of file blobbox.cpp.
Definition at line 606 of file blobbox.cpp.
|
inline |
|
inline |
Definition at line 114 of file blobbox.h.
void find_cblob_hlimits | ( | C_BLOB * | blob, |
float | bottomy, | ||
float | topy, | ||
float & | xmin, | ||
float & | xymax | ||
) |
Definition at line 571 of file blobbox.cpp.
void find_cblob_limits | ( | C_BLOB * | blob, |
float | leftx, | ||
float | rightx, | ||
FCOORD | rotation, | ||
float & | ymin, | ||
float & | ymax | ||
) |
Definition at line 494 of file blobbox.cpp.
void find_cblob_vlimits | ( | C_BLOB * | blob, |
float | leftx, | ||
float | rightx, | ||
float & | ymin, | ||
float & | ymax | ||
) |
Definition at line 534 of file blobbox.cpp.
void plot_blob_list | ( | ScrollView * | win, |
BLOBNBOX_LIST * | list, | ||
ScrollView::Color | body_colour, | ||
ScrollView::Color | child_colour | ||
) |
Definition at line 1082 of file blobbox.cpp.
Definition at line 863 of file blobbox.cpp.
Definition at line 883 of file blobbox.cpp.
double textord_error_weight = 3 |
"Weighting for error in believability"