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