tesseract::ColPartitionGrid Class Reference
#include <colpartitiongrid.h>
List of all members.
Public Member Functions |
| ColPartitionGrid () |
| ColPartitionGrid (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
virtual | ~ColPartitionGrid () |
void | HandleClick (int x, int y) |
void | Merges (TessResultCallback2< bool, ColPartition *, TBOX * > *box_cb, TessResultCallback2< bool, const ColPartition *, const ColPartition * > *confirm_cb) |
bool | MergePart (TessResultCallback2< bool, ColPartition *, TBOX * > *box_cb, TessResultCallback2< bool, const ColPartition *, const ColPartition * > *confirm_cb, ColPartition *part) |
void | FindOverlappingPartitions (const TBOX &box, const ColPartition *not_this, ColPartition_CLIST *parts) |
ColPartition * | BestMergeCandidate (const ColPartition *part, ColPartition_CLIST *candidates, bool debug, TessResultCallback2< bool, const ColPartition *, const ColPartition * > *confirm_cb, int *overlap_increase) |
void | SplitOverlappingPartitions (ColPartition_LIST *big_parts) |
bool | GridSmoothNeighbours (BlobTextFlowType source_type, Pix *nontext_map, const TBOX &im_box, const FCOORD &rerotation) |
void | ComputePartitionColors (Pix *scaled_color, int scaled_factor, const FCOORD &rerotation) |
void | ReflectInYAxis () |
void | Deskew (const FCOORD &deskew) |
void | SetTabStops (TabFind *tabgrid) |
bool | MakeColPartSets (PartSetVector *part_sets) |
ColPartitionSet * | MakeSingleColumnSet (WidthCallback *cb) |
void | ClaimBoxes () |
void | ReTypeBlobs (BLOBNBOX_LIST *im_blobs) |
void | RecomputeBounds (int gridsize, const ICOORD &bleft, const ICOORD &tright, const ICOORD &vertical) |
void | GridFindMargins (ColPartitionSet **best_columns) |
void | ListFindMargins (ColPartitionSet **best_columns, ColPartition_LIST *parts) |
void | DeleteParts () |
void | DeleteUnknownParts (TO_BLOCK *block) |
void | FindFigureCaptions () |
void | FindPartitionPartners () |
void | FindPartitionPartners (bool upper, ColPartition *part) |
void | FindVPartitionPartners (bool to_the_left, ColPartition *part) |
void | RefinePartitionPartners (bool get_desperate) |
Constructor & Destructor Documentation
tesseract::ColPartitionGrid::ColPartitionGrid |
( |
|
) |
|
tesseract::ColPartitionGrid::ColPartitionGrid |
( |
int |
gridsize, |
|
|
const ICOORD & |
bleft, |
|
|
const ICOORD & |
tright | |
|
) |
| | |
tesseract::ColPartitionGrid::~ColPartitionGrid |
( |
|
) |
[virtual] |
Member Function Documentation
void tesseract::ColPartitionGrid::ClaimBoxes |
( |
|
) |
|
void tesseract::ColPartitionGrid::ComputePartitionColors |
( |
Pix * |
scaled_color, |
|
|
int |
scaled_factor, |
|
|
const FCOORD & |
rerotation | |
|
) |
| | |
void tesseract::ColPartitionGrid::DeleteParts |
( |
|
) |
|
void tesseract::ColPartitionGrid::DeleteUnknownParts |
( |
TO_BLOCK * |
block |
) |
|
void tesseract::ColPartitionGrid::Deskew |
( |
const FCOORD & |
deskew |
) |
|
void tesseract::ColPartitionGrid::FindFigureCaptions |
( |
|
) |
|
void tesseract::ColPartitionGrid::FindOverlappingPartitions |
( |
const TBOX & |
box, |
|
|
const ColPartition * |
not_this, |
|
|
ColPartition_CLIST * |
parts | |
|
) |
| | |
void tesseract::ColPartitionGrid::FindPartitionPartners |
( |
bool |
upper, |
|
|
ColPartition * |
part | |
|
) |
| | |
void tesseract::ColPartitionGrid::FindPartitionPartners |
( |
|
) |
|
void tesseract::ColPartitionGrid::FindVPartitionPartners |
( |
bool |
to_the_left, |
|
|
ColPartition * |
part | |
|
) |
| | |
void tesseract::ColPartitionGrid::GridFindMargins |
( |
ColPartitionSet ** |
best_columns |
) |
|
bool tesseract::ColPartitionGrid::GridSmoothNeighbours |
( |
BlobTextFlowType |
source_type, |
|
|
Pix * |
nontext_map, |
|
|
const TBOX & |
im_box, |
|
|
const FCOORD & |
rerotation | |
|
) |
| | |
void tesseract::ColPartitionGrid::HandleClick |
( |
int |
x, |
|
|
int |
y | |
|
) |
| | [virtual] |
void tesseract::ColPartitionGrid::ListFindMargins |
( |
ColPartitionSet ** |
best_columns, |
|
|
ColPartition_LIST * |
parts | |
|
) |
| | |
bool tesseract::ColPartitionGrid::MakeColPartSets |
( |
PartSetVector * |
part_sets |
) |
|
void tesseract::ColPartitionGrid::RecomputeBounds |
( |
int |
gridsize, |
|
|
const ICOORD & |
bleft, |
|
|
const ICOORD & |
tright, |
|
|
const ICOORD & |
vertical | |
|
) |
| | |
void tesseract::ColPartitionGrid::RefinePartitionPartners |
( |
bool |
get_desperate |
) |
|
void tesseract::ColPartitionGrid::ReflectInYAxis |
( |
|
) |
|
void tesseract::ColPartitionGrid::ReTypeBlobs |
( |
BLOBNBOX_LIST * |
im_blobs |
) |
|
void tesseract::ColPartitionGrid::SetTabStops |
( |
TabFind * |
tabgrid |
) |
|
void tesseract::ColPartitionGrid::SplitOverlappingPartitions |
( |
ColPartition_LIST * |
big_parts |
) |
|
The documentation for this class was generated from the following files: