|
Tesseract
3.02
|
#include <textlineprojection.h>
Public Member Functions | |
| TextlineProjection (int resolution) | |
| ~TextlineProjection () | |
| void | ConstructProjection (TO_BLOCK *input_block, const FCOORD &rotation, Pix *nontext_map) |
| void | PlotGradedBlobs (BLOBNBOX_LIST *blobs, ScrollView *win) |
| void | MoveNonTextlineBlobs (BLOBNBOX_LIST *blobs, BLOBNBOX_LIST *small_blobs) const |
| void | DisplayProjection () const |
| int | DistanceOfBoxFromPartition (const TBOX &box, const ColPartition &part, const DENORM *denorm, bool debug) const |
| int | DistanceOfBoxFromBox (const TBOX &from_box, const TBOX &to_box, bool horizontal_textline, const DENORM *denorm, bool debug) const |
| int | VerticalDistance (bool debug, int x, int y1, int y2) const |
| int | HorizontalDistance (bool debug, int x1, int x2, int y) const |
| bool | BoxOutOfHTextline (const TBOX &box, const DENORM *denorm, bool debug) const |
| int | EvaluateColPartition (const ColPartition &part, const DENORM *denorm, bool debug) const |
| int | EvaluateBox (const TBOX &box, const DENORM *denorm, bool debug) const |
Definition at line 33 of file textlineprojection.h.
|
explicit |
Definition at line 41 of file textlineprojection.cpp.
| tesseract::TextlineProjection::~TextlineProjection | ( | ) |
Definition at line 47 of file textlineprojection.cpp.
| bool tesseract::TextlineProjection::BoxOutOfHTextline | ( | const TBOX & | box, |
| const DENORM * | denorm, | ||
| bool | debug | ||
| ) | const |
Definition at line 338 of file textlineprojection.cpp.
| void tesseract::TextlineProjection::ConstructProjection | ( | TO_BLOCK * | input_block, |
| const FCOORD & | rotation, | ||
| Pix * | nontext_map | ||
| ) |
Definition at line 58 of file textlineprojection.cpp.
| void tesseract::TextlineProjection::DisplayProjection | ( | ) | const |
Definition at line 117 of file textlineprojection.cpp.
| int tesseract::TextlineProjection::DistanceOfBoxFromBox | ( | const TBOX & | from_box, |
| const TBOX & | to_box, | ||
| bool | horizontal_textline, | ||
| const DENORM * | denorm, | ||
| bool | debug | ||
| ) | const |
Definition at line 194 of file textlineprojection.cpp.
| int tesseract::TextlineProjection::DistanceOfBoxFromPartition | ( | const TBOX & | box, |
| const ColPartition & | part, | ||
| const DENORM * | denorm, | ||
| bool | debug | ||
| ) | const |
Definition at line 154 of file textlineprojection.cpp.
| int tesseract::TextlineProjection::EvaluateColPartition | ( | const ColPartition & | part, |
| const DENORM * | denorm, | ||
| bool | debug | ||
| ) | const |
Definition at line 359 of file textlineprojection.cpp.
| int tesseract::TextlineProjection::HorizontalDistance | ( | bool | debug, |
| int | x1, | ||
| int | x2, | ||
| int | y | ||
| ) | const |
Definition at line 306 of file textlineprojection.cpp.
| void tesseract::TextlineProjection::MoveNonTextlineBlobs | ( | BLOBNBOX_LIST * | blobs, |
| BLOBNBOX_LIST * | small_blobs | ||
| ) | const |
Definition at line 100 of file textlineprojection.cpp.
| void tesseract::TextlineProjection::PlotGradedBlobs | ( | BLOBNBOX_LIST * | blobs, |
| ScrollView * | win | ||
| ) |
Definition at line 78 of file textlineprojection.cpp.
| int tesseract::TextlineProjection::VerticalDistance | ( | bool | debug, |
| int | x, | ||
| int | y1, | ||
| int | y2 | ||
| ) | const |
Definition at line 273 of file textlineprojection.cpp.