tesseract
5.0.0-alpha-619-ge9db
|
#include <cinttypes>
#include <cmath>
#include <cstdint>
#include "elst.h"
#include "elst2.h"
#include "errcode.h"
#include "ocrblock.h"
#include "params.h"
#include "pdblock.h"
#include "points.h"
#include "quspline.h"
#include "rect.h"
#include "scrollview.h"
#include "statistc.h"
#include "stepblob.h"
#include "tprintf.h"
#include "werd.h"
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 |
enum BlobRegionType |
enum BlobSpecialTextType |
enum BlobTextFlowType |
enum PITCH_TYPE |
enum TabType |
TBOX box_next | ( | BLOBNBOX_IT * | it | ) |
Definition at line 629 of file blobbox.cpp.
TBOX box_next_pre_chopped | ( | BLOBNBOX_IT * | it | ) |
Definition at line 657 of file blobbox.cpp.
Definition at line 605 of file blobbox.cpp.
|
inline |
|
inline |
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 496 of file blobbox.cpp.
void find_cblob_vlimits | ( | C_BLOB * | blob, |
float | leftx, | ||
float | rightx, | ||
float & | ymin, | ||
float & | ymax | ||
) |
Definition at line 535 of file blobbox.cpp.
void plot_blob_list | ( | ScrollView * | win, |
BLOBNBOX_LIST * | list, | ||
ScrollView::Color | body_colour, | ||
ScrollView::Color | child_colour | ||
) |
Definition at line 1068 of file blobbox.cpp.
Definition at line 854 of file blobbox.cpp.
Definition at line 873 of file blobbox.cpp.
double textord_error_weight = 3 |
"Weighting for error in believability"