|
| | ColPartitionGrid ()=default |
| |
| | ColPartitionGrid (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
| |
| virtual | ~ColPartitionGrid ()=default |
| |
| 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) |
| |
| int | ComputeTotalOverlap (ColPartitionGrid **overlap_grid) |
| |
| 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 | ReflectInYAxis () |
| |
| void | Deskew (const FCOORD &deskew) |
| |
| void | ExtractPartitionsAsBlocks (BLOCK_LIST *blocks, TO_BLOCK_LIST *to_blocks) |
| |
| 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 | DeleteNonLeaderParts () |
| |
| void | FindFigureCaptions () |
| |
| void | FindPartitionPartners () |
| |
| void | FindPartitionPartners (bool upper, ColPartition *part) |
| |
| void | FindVPartitionPartners (bool to_the_left, ColPartition *part) |
| |
| void | RefinePartitionPartners (bool get_desperate) |
| |
| | BBGrid () |
| |
| | BBGrid (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
| |
| virtual | ~BBGrid () |
| |
| void | Init (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
| |
| void | Clear () |
| |
| void | ClearGridData (void(*free_method)(ColPartition *)) |
| |
| void | InsertBBox (bool h_spread, bool v_spread, ColPartition *bbox) |
| |
| void | InsertPixPtBBox (int left, int bottom, Pix *pix, ColPartition *bbox) |
| |
| void | RemoveBBox (ColPartition *bbox) |
| |
| bool | RectangleEmpty (const TBOX &rect) |
| |
| IntGrid * | CountCellElements () |
| |
| ScrollView * | MakeWindow (int x, int y, const char *window_name) |
| |
| void | DisplayBoxes (ScrollView *window) |
| |
| void | AssertNoDuplicates () |
| |
| | GridBase ()=default |
| |
| | GridBase (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
| |
| virtual | ~GridBase () |
| |
| void | Init (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
| |
| int | gridsize () const |
| |
| int | gridwidth () const |
| |
| int | gridheight () const |
| |
| const ICOORD & | bleft () const |
| |
| const ICOORD & | tright () const |
| |
| void | GridCoords (int x, int y, int *grid_x, int *grid_y) const |
| |
| void | ClipGridCoords (int *x, int *y) const |
| |
|
| void | FindMergeCandidates (const ColPartition *part, const TBOX &search_box, bool debug, ColPartition_CLIST *candidates) |
| |
| bool | SmoothRegionType (Pix *nontext_map, const TBOX &im_box, const FCOORD &rerotation, bool debug, ColPartition *part) |
| |
| BlobRegionType | SmoothInOneDirection (BlobNeighbourDir direction, Pix *nontext_map, const TBOX &im_box, const FCOORD &rerotation, bool debug, const ColPartition &part, int *best_distance) |
| |
| void | AccumulatePartDistances (const ColPartition &base_part, const ICOORD &dist_scaling, const TBOX &search_box, Pix *nontext_map, const TBOX &im_box, const FCOORD &rerotation, bool debug, GenericVector< int > *dists) |
| |
| void | FindPartitionMargins (ColPartitionSet *columns, ColPartition *part) |
| |
| int | FindMargin (int x, bool right_to_left, int x_limit, int y_bottom, int y_top, const ColPartition *not_this) |
| |