#include <bbgrid.h>
|
| 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 |
|
| 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 |
|
◆ IntGrid() [1/2]
tesseract::IntGrid::IntGrid |
( |
| ) |
|
◆ IntGrid() [2/2]
tesseract::IntGrid::IntGrid |
( |
int |
gridsize, |
|
|
const ICOORD & |
bleft, |
|
|
const ICOORD & |
tright |
|
) |
| |
◆ ~IntGrid()
tesseract::IntGrid::~IntGrid |
( |
| ) |
|
|
virtual |
◆ AnyZeroInRect()
bool tesseract::IntGrid::AnyZeroInRect |
( |
const TBOX & |
rect | ) |
const |
◆ Clear()
void tesseract::IntGrid::Clear |
( |
| ) |
|
◆ GridCellValue()
int tesseract::IntGrid::GridCellValue |
( |
int |
grid_x, |
|
|
int |
grid_y |
|
) |
| const |
|
inline |
◆ Init()
void tesseract::IntGrid::Init |
( |
int |
gridsize, |
|
|
const ICOORD & |
bleft, |
|
|
const ICOORD & |
tright |
|
) |
| |
◆ NeighbourhoodSum()
IntGrid * tesseract::IntGrid::NeighbourhoodSum |
( |
| ) |
const |
◆ RectMostlyOverThreshold()
bool tesseract::IntGrid::RectMostlyOverThreshold |
( |
const TBOX & |
rect, |
|
|
int |
threshold |
|
) |
| const |
◆ Rotate()
void tesseract::IntGrid::Rotate |
( |
const FCOORD & |
rotation | ) |
|
◆ SetGridCell()
void tesseract::IntGrid::SetGridCell |
( |
int |
grid_x, |
|
|
int |
grid_y, |
|
|
int |
value |
|
) |
| |
|
inline |
◆ ThresholdToPix()
Pix * tesseract::IntGrid::ThresholdToPix |
( |
int |
threshold | ) |
const |
◆ grid_
int* tesseract::IntGrid::grid_ |
|
private |
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/textord/bbgrid.h
- /home/stephane/src/tesseract/src/textord/bbgrid.cpp