|
tesseract
4.1.1
|
#include <bbgrid.h>
Public Member Functions | |
| IntGrid () | |
| IntGrid (int gridsize, const ICOORD &bleft, const ICOORD &tright) | |
| ~IntGrid () override | |
| void | Init (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
| void | Clear () |
| void | Rotate (const FCOORD &rotation) |
| IntGrid * | NeighbourhoodSum () const |
| int | GridCellValue (int grid_x, int grid_y) const |
| void | SetGridCell (int grid_x, int grid_y, int value) |
| bool | RectMostlyOverThreshold (const TBOX &rect, int threshold) const |
| bool | AnyZeroInRect (const TBOX &rect) const |
| Pix * | ThresholdToPix (int threshold) const |
Public Member Functions inherited from tesseract::GridBase | |
| GridBase ()=default | |
| GridBase (int gridsize, const ICOORD &bleft, const ICOORD &tright) | |
| virtual | ~GridBase () |
| void | Init (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
| int | gridsize () const |
| int | gridwidth () const |
| int | gridheight () const |
| const ICOORD & | bleft () const |
| const ICOORD & | tright () const |
| void | GridCoords (int x, int y, int *grid_x, int *grid_y) const |
| void | ClipGridCoords (int *x, int *y) const |
Additional Inherited Members | |
Protected Attributes inherited from tesseract::GridBase | |
| int | gridsize_ |
| int | gridwidth_ |
| int | gridheight_ |
| int | gridbuckets_ |
| ICOORD | bleft_ |
| ICOORD | tright_ |
| tesseract::IntGrid::IntGrid | ( | ) |
Definition at line 64 of file bbgrid.cpp.
Definition at line 68 of file bbgrid.cpp.
|
override |
Definition at line 73 of file bbgrid.cpp.
| bool tesseract::IntGrid::AnyZeroInRect | ( | const TBOX & | rect | ) | const |
Definition at line 174 of file bbgrid.cpp.
| void tesseract::IntGrid::Clear | ( | ) |
Definition at line 87 of file bbgrid.cpp.
|
inline |
Definition at line 120 of file bbgrid.h.
Definition at line 79 of file bbgrid.cpp.
| IntGrid * tesseract::IntGrid::NeighbourhoodSum | ( | ) | const |
Definition at line 132 of file bbgrid.cpp.
| bool tesseract::IntGrid::RectMostlyOverThreshold | ( | const TBOX & | rect, |
| int | threshold | ||
| ) | const |
Definition at line 154 of file bbgrid.cpp.
| void tesseract::IntGrid::Rotate | ( | const FCOORD & | rotation | ) |
Definition at line 99 of file bbgrid.cpp.
|
inline |
| Pix * tesseract::IntGrid::ThresholdToPix | ( | int | threshold | ) | const |
Definition at line 190 of file bbgrid.cpp.