tesseract::StrokeWidth Class Reference
#include <strokewidth.h>
List of all members.
Public Member Functions |
| StrokeWidth (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
virtual | ~StrokeWidth () |
void | SetNeighboursOnMediumBlobs (TO_BLOCK *block) |
void | FindTextlineDirectionAndFixBrokenCJK (bool cjk_merge, TO_BLOCK *input_block) |
bool | TestVerticalTextDirection (TO_BLOCK *block, BLOBNBOX_CLIST *osd_blobs) |
void | CorrectForRotation (const FCOORD &rerotation, ColPartitionGrid *part_grid) |
void | FindLeaderPartitions (TO_BLOCK *block, ColPartitionGrid *part_grid) |
void | RemoveLineResidue (ColPartition_LIST *big_part_list) |
void | GradeBlobsIntoPartitions (const FCOORD &rerotation, TO_BLOCK *block, Pix *nontext_pix, const DENORM *denorm, TextlineProjection *projection, ColPartitionGrid *part_grid, ColPartition_LIST *big_parts) |
virtual void | HandleClick (int x, int y) |
Detailed Description
The StrokeWidth class holds all the normal and large blobs. It is used to find good large blobs and move them to the normal blobs by virtue of having a reasonable strokewidth compatible neighbour.
Constructor & Destructor Documentation
tesseract::StrokeWidth::StrokeWidth |
( |
int |
gridsize, |
|
|
const ICOORD & |
bleft, |
|
|
const ICOORD & |
tright | |
|
) |
| | |
tesseract::StrokeWidth::~StrokeWidth |
( |
|
) |
[virtual] |
Member Function Documentation
void tesseract::StrokeWidth::FindTextlineDirectionAndFixBrokenCJK |
( |
bool |
cjk_merge, |
|
|
TO_BLOCK * |
input_block | |
|
) |
| | |
void tesseract::StrokeWidth::HandleClick |
( |
int |
x, |
|
|
int |
y | |
|
) |
| | [virtual] |
void tesseract::StrokeWidth::RemoveLineResidue |
( |
ColPartition_LIST * |
big_part_list |
) |
|
void tesseract::StrokeWidth::SetNeighboursOnMediumBlobs |
( |
TO_BLOCK * |
block |
) |
|
bool tesseract::StrokeWidth::TestVerticalTextDirection |
( |
TO_BLOCK * |
block, |
|
|
BLOBNBOX_CLIST * |
osd_blobs | |
|
) |
| | |
The documentation for this class was generated from the following files: