tesseract v5.3.3.20231005
|
Public Member Functions | |
void | InjectCellY (int y) |
void | InjectCellX (int x) |
void | ExpectCellX (int x_min, int second, int add, int almost_done, int x_max) |
void | ExpectSortedX () |
int | CountHorizontalIntersections (int y) |
int | CountVerticalIntersections (int x) |
bool | FindLinedStructure () |
void | FindWhitespacedColumns () |
bool | FindWhitespacedStructure () |
bool | VerifyLinedTableCells () |
![]() | |
StructuredTable () | |
~StructuredTable ()=default | |
void | Init () |
void | set_text_grid (ColPartitionGrid *text) |
void | set_line_grid (ColPartitionGrid *lines) |
void | set_max_text_height (int height) |
bool | is_lined () const |
unsigned | row_count () const |
unsigned | column_count () const |
unsigned | cell_count () const |
void | set_bounding_box (const TBOX &box) |
const TBOX & | bounding_box () const |
int | median_cell_height () |
int | median_cell_width () |
int | row_height (unsigned row) const |
int | column_width (unsigned column) const |
int | space_above () const |
int | space_below () const |
bool | FindLinedStructure () |
bool | FindWhitespacedStructure () |
bool | DoesPartitionFit (const ColPartition &part) const |
int | CountFilledCells () |
int | CountFilledCellsInRow (int row) |
int | CountFilledCellsInColumn (int column) |
int | CountFilledCells (unsigned row_start, unsigned row_end, unsigned column_start, unsigned column_end) |
bool | VerifyRowFilled (int row) |
double | CalculateCellFilledPercentage (unsigned row, unsigned column) |
void | Display (ScrollView *window, ScrollView::Color color) |
Definition at line 31 of file tablerecog_test.cc.
int tesseract::StructuredTable::CountHorizontalIntersections | ( | int | y | ) |
Definition at line 221 of file tablerecog.cpp.
int tesseract::StructuredTable::CountVerticalIntersections | ( | int | x | ) |
Definition at line 220 of file tablerecog.cpp.
|
inline |
Definition at line 49 of file tablerecog_test.cc.
|
inline |
Definition at line 59 of file tablerecog_test.cc.
bool tesseract::StructuredTable::FindLinedStructure | ( | ) |
Definition at line 105 of file tablerecog.cpp.
void tesseract::StructuredTable::FindWhitespacedColumns | ( | ) |
Definition at line 160 of file tablerecog.cpp.
bool tesseract::StructuredTable::FindWhitespacedStructure | ( | ) |
Definition at line 110 of file tablerecog.cpp.
|
inline |
|
inline |
bool tesseract::StructuredTable::VerifyLinedTableCells | ( | ) |
Definition at line 148 of file tablerecog.cpp.