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