Go to the documentation of this file.
126 int column_start,
int column_end);
178 bool decrease)
const;
180 bool decrease)
const;
StructuredTable * RecognizeTable(const TBOX &guess_box)
bool FindLinesBoundingBox(TBOX *bounding_box)
void set_min_width(int width)
bool VerifyWhitespacedTable()
int column_width(int column) const
int FindVerticalMargin(ColPartitionGrid *grid, int start_x, bool decrease) const
bool RecognizeWhitespacedTable(const TBOX &guess_box, StructuredTable *table)
bool DoesPartitionFit(const ColPartition &part) const
ColPartitionGrid * line_grid_
int CountVerticalIntersections(int x)
bool VerifyLinedTableCells()
int CountFilledCellsInRow(int row)
void set_text_grid(ColPartitionGrid *text)
const TBOX & bounding_box() const
void UpdateMargins(ColPartitionGrid *grid)
GenericVectorEqEq< int > cell_y_
double CalculateCellFilledPercentage(int row, int column)
ColPartitionGrid * text_grid_
GenericVectorEqEq< int > cell_x_
void set_max_text_height(int height)
bool FindWhitespacedStructure()
void set_min_height(int height)
int FindHorizontalMargin(ColPartitionGrid *grid, int start_y, bool decrease) const
int CountHorizontalIntersections(int y)
bool FindLinesBoundingBoxIteration(TBOX *bounding_box)
void FindWhitespacedRows()
bool HasSignificantLines(const TBOX &guess)
void set_max_text_height(int height)
void Display(ScrollView *window, ScrollView::Color color)
void set_line_grid(ColPartitionGrid *lines)
bool FindLinedStructure()
void set_line_grid(ColPartitionGrid *lines)
void set_text_grid(ColPartitionGrid *text)
bool VerifyRowFilled(int row)
int CountFilledCellsInColumn(int column)
void FindWhitespacedColumns()
void set_bounding_box(const TBOX &box)
int NextHorizontalSplit(int left, int right, int y, bool top_to_bottom)
ColPartitionGrid * line_grid_
static void FindCellSplitLocations(const GenericVector< int > &min_list, const GenericVector< int > &max_list, int max_merged, GenericVector< int > *locations)
int row_height(int row) const
~StructuredTable()=default
ColPartitionGrid * text_grid_
static bool IsWeakTableRow(StructuredTable *table, int row)
bool RecognizeLinedTable(const TBOX &guess_box, StructuredTable *table)
int CountPartitions(const TBOX &box)