|
tesseract
4.00.00dev
|
#include <bbgrid.h>
Public Member Functions | |
| IntGrid () | |
| IntGrid (int gridsize, const ICOORD &bleft, const ICOORD &tright) | |
| virtual | ~IntGrid () |
| 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 () | |
| 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 66 of file bbgrid.cpp.
Definition at line 70 of file bbgrid.cpp.
|
virtual |
Definition at line 75 of file bbgrid.cpp.
| bool tesseract::IntGrid::AnyZeroInRect | ( | const TBOX & | rect | ) | const |
Definition at line 178 of file bbgrid.cpp.
| void tesseract::IntGrid::Clear | ( | ) |
Definition at line 91 of file bbgrid.cpp.
Definition at line 121 of file bbgrid.h.
Definition at line 82 of file bbgrid.cpp.
| IntGrid * tesseract::IntGrid::NeighbourhoodSum | ( | ) | const |
Definition at line 136 of file bbgrid.cpp.
Definition at line 158 of file bbgrid.cpp.
| void tesseract::IntGrid::Rotate | ( | const FCOORD & | rotation | ) |
Definition at line 103 of file bbgrid.cpp.
| Pix * tesseract::IntGrid::ThresholdToPix | ( | int | threshold | ) | const |
Definition at line 194 of file bbgrid.cpp.