Public Member Functions |
| | TableFinder () |
| | ~TableFinder () |
| void | set_resolution (int resolution) |
| void | set_left_to_right_language (bool order) |
| void | Init (int grid_size, const ICOORD &bottom_left, const ICOORD &top_right) |
| void | InsertCleanPartitions (ColPartitionGrid *grid, TO_BLOCK *block) |
| void | LocateTables (ColPartitionGrid *grid, ColPartitionSet **columns, WidthCallback *width_cb, const FCOORD &reskew) |
Protected Member Functions |
| int | gridsize () const |
| int | gridwidth () const |
| int | gridheight () const |
| const ICOORD & | bleft () const |
| const ICOORD & | tright () const |
| ScrollView * | MakeWindow (int x, int y, const char *window_name) |
| void | InsertTextPartition (ColPartition *part) |
| void | InsertFragmentedTextPartition (ColPartition *part) |
| void | InsertLeaderPartition (ColPartition *part) |
| void | InsertRulingPartition (ColPartition *part) |
| void | InsertImagePartition (ColPartition *part) |
| void | SplitAndInsertFragmentedTextPartition (ColPartition *part) |
| bool | AllowTextPartition (const ColPartition &part) const |
| bool | AllowBlob (const BLOBNBOX &blob) const |
| void | MoveColSegmentsToGrid (ColSegment_LIST *segments, ColSegmentGrid *col_seg_grid) |
| void | InitializePartitions (ColPartitionSet **all_columns) |
| void | SetVerticalSpacing (ColPartition *part) |
| void | SetGlobalSpacings (ColPartitionGrid *grid) |
| void | set_global_median_xheight (int xheight) |
| void | set_global_median_blob_width (int width) |
| void | set_global_median_ledding (int ledding) |
| void | FindNeighbors () |
| void | MarkTablePartitions () |
| void | MarkPartitionsUsingLocalInformation () |
| bool | HasWideOrNoInterWordGap (ColPartition *part) const |
| bool | HasLeaderAdjacent (const ColPartition &part) |
| void | FilterFalseAlarms () |
| void | FilterParagraphEndings () |
| void | FilterHeaderAndFooter () |
| void | SmoothTablePartitionRuns () |
| void | GetColumnBlocks (ColPartitionSet **columns, ColSegment_LIST *col_segments) |
| void | GroupColumnBlocks (ColSegment_LIST *current_segments, ColSegment_LIST *col_segments) |
| bool | ConsecutiveBoxes (const TBOX &b1, const TBOX &b2) |
| void | SetColumnsType (ColSegment_LIST *col_segments) |
| void | GridMergeColumnBlocks () |
| void | GetTableColumns (ColSegment_LIST *table_columns) |
| void | GetTableRegions (ColSegment_LIST *table_columns, ColSegment_LIST *table_regions) |
| void | GridMergeTableRegions () |
| bool | BelongToOneTable (const TBOX &box1, const TBOX &box2) |
| void | AdjustTableBoundaries () |
| void | GrowTableBox (const TBOX &table_box, TBOX *result_box) |
| void | GrowTableToIncludePartials (const TBOX &table_box, const TBOX &search_range, TBOX *result_box) |
| void | GrowTableToIncludeLines (const TBOX &table_box, const TBOX &search_range, TBOX *result_box) |
| bool | HLineBelongsToTable (const ColPartition &part, const TBOX &table_box) |
| void | IncludeLeftOutColumnHeaders (TBOX *table_box) |
| void | DeleteSingleColumnTables () |
| bool | GapInXProjection (int *xprojection, int length) |
| void | RecognizeTables () |
| void | DisplayColSegments (ScrollView *win, ColSegment_LIST *cols, ScrollView::Color color) |
| void | DisplayColPartitions (ScrollView *win, ColPartitionGrid *grid, ScrollView::Color text_color, ScrollView::Color table_color) |
| void | DisplayColPartitions (ScrollView *win, ColPartitionGrid *grid, ScrollView::Color default_color) |
| void | DisplayColPartitionConnections (ScrollView *win, ColPartitionGrid *grid, ScrollView::Color default_color) |
| void | DisplayColSegmentGrid (ScrollView *win, ColSegmentGrid *grid, ScrollView::Color color) |
| void | WriteToPix (const FCOORD &reskew) |
| void | MakeTableBlocks (ColPartitionGrid *grid, ColPartitionSet **columns, WidthCallback *width_cb) |
Static Protected Member Functions |
| static void | SetPartitionSpacings (ColPartitionGrid *grid, ColPartitionSet **all_columns) |
Protected Attributes |
| int | resolution_ |
| int | global_median_xheight_ |
| int | global_median_blob_width_ |
| int | global_median_ledding_ |
| ColPartitionGrid | clean_part_grid_ |
| ColPartitionGrid | leader_and_ruling_grid_ |
| ColPartitionGrid | fragmented_text_grid_ |
| ColSegmentGrid | col_seg_grid_ |
| ColSegmentGrid | table_grid_ |
| bool | left_to_right_language_ |