tesseract::TextlineProjection Class Reference
#include <textlineprojection.h>
List of all members.
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 |
Constructor & Destructor Documentation
tesseract::TextlineProjection::TextlineProjection |
( |
int |
resolution |
) |
[explicit] |
tesseract::TextlineProjection::~TextlineProjection |
( |
|
) |
|
Member Function Documentation
bool tesseract::TextlineProjection::BoxOutOfHTextline |
( |
const TBOX & |
box, |
|
|
const DENORM * |
denorm, |
|
|
bool |
debug | |
|
) |
| | const |
void tesseract::TextlineProjection::ConstructProjection |
( |
TO_BLOCK * |
input_block, |
|
|
const FCOORD & |
rotation, |
|
|
Pix * |
nontext_map | |
|
) |
| | |
void tesseract::TextlineProjection::DisplayProjection |
( |
|
) |
const |
int tesseract::TextlineProjection::DistanceOfBoxFromBox |
( |
const TBOX & |
from_box, |
|
|
const TBOX & |
to_box, |
|
|
bool |
horizontal_textline, |
|
|
const DENORM * |
denorm, |
|
|
bool |
debug | |
|
) |
| | const |
int tesseract::TextlineProjection::DistanceOfBoxFromPartition |
( |
const TBOX & |
box, |
|
|
const ColPartition & |
part, |
|
|
const DENORM * |
denorm, |
|
|
bool |
debug | |
|
) |
| | const |
int tesseract::TextlineProjection::EvaluateBox |
( |
const TBOX & |
box, |
|
|
const DENORM * |
denorm, |
|
|
bool |
debug | |
|
) |
| | const |
int tesseract::TextlineProjection::EvaluateColPartition |
( |
const ColPartition & |
part, |
|
|
const DENORM * |
denorm, |
|
|
bool |
debug | |
|
) |
| | const |
int tesseract::TextlineProjection::HorizontalDistance |
( |
bool |
debug, |
|
|
int |
x1, |
|
|
int |
x2, |
|
|
int |
y | |
|
) |
| | const |
void tesseract::TextlineProjection::MoveNonTextlineBlobs |
( |
BLOBNBOX_LIST * |
blobs, |
|
|
BLOBNBOX_LIST * |
small_blobs | |
|
) |
| | const |
void tesseract::TextlineProjection::PlotGradedBlobs |
( |
BLOBNBOX_LIST * |
blobs, |
|
|
ScrollView * |
win | |
|
) |
| | |
int tesseract::TextlineProjection::VerticalDistance |
( |
bool |
debug, |
|
|
int |
x, |
|
|
int |
y1, |
|
|
int |
y2 | |
|
) |
| | const |
The documentation for this class was generated from the following files: