#include <ccnontextdetect.h>
|
| CCNonTextDetect (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
|
virtual | ~CCNonTextDetect () |
|
Pix * | ComputeNonTextMask (bool debug, Pix *photo_map, TO_BLOCK *blob_block) |
|
| BlobGrid (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
|
virtual | ~BlobGrid () |
|
void | InsertBlobList (BLOBNBOX_LIST *blobs) |
|
| BBGrid () |
|
| BBGrid (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
|
virtual | ~BBGrid () |
|
void | Init (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
|
void | Clear () |
|
void | ClearGridData (void(*free_method)(BLOBNBOX *)) |
|
void | InsertBBox (bool h_spread, bool v_spread, BLOBNBOX *bbox) |
|
void | InsertPixPtBBox (int left, int bottom, Pix *pix, BLOBNBOX *bbox) |
|
void | RemoveBBox (BLOBNBOX *bbox) |
|
bool | RectangleEmpty (const TBOX &rect) |
|
IntGrid * | CountCellElements () |
|
ScrollView * | MakeWindow (int x, int y, const char *window_name) |
|
void | DisplayBoxes (ScrollView *window) |
|
void | AssertNoDuplicates () |
|
virtual void | HandleClick (int x, int y) |
|
| 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 |
|
◆ CCNonTextDetect()
tesseract::CCNonTextDetect::CCNonTextDetect |
( |
int |
gridsize, |
|
|
const ICOORD & |
bleft, |
|
|
const ICOORD & |
tright |
|
) |
| |
◆ ~CCNonTextDetect()
tesseract::CCNonTextDetect::~CCNonTextDetect |
( |
| ) |
|
|
virtual |
◆ BlobOverlapsTooMuch()
bool tesseract::CCNonTextDetect::BlobOverlapsTooMuch |
( |
BLOBNBOX * |
blob, |
|
|
int |
max_overlaps |
|
) |
| |
|
private |
◆ ComputeNoiseDensity()
IntGrid * tesseract::CCNonTextDetect::ComputeNoiseDensity |
( |
bool |
debug, |
|
|
Pix * |
photo_map, |
|
|
BlobGrid * |
good_grid |
|
) |
| |
|
private |
◆ ComputeNonTextMask()
Pix * tesseract::CCNonTextDetect::ComputeNonTextMask |
( |
bool |
debug, |
|
|
Pix * |
photo_map, |
|
|
TO_BLOCK * |
blob_block |
|
) |
| |
◆ MarkAndDeleteNonTextBlobs()
void tesseract::CCNonTextDetect::MarkAndDeleteNonTextBlobs |
( |
BLOBNBOX_LIST * |
blobs, |
|
|
int |
max_blob_overlaps, |
|
|
ScrollView * |
win, |
|
|
ScrollView::Color |
ok_color, |
|
|
Pix * |
nontext_mask |
|
) |
| |
|
private |
◆ max_noise_count_
int tesseract::CCNonTextDetect::max_noise_count_ |
|
private |
◆ noise_density_
IntGrid* tesseract::CCNonTextDetect::noise_density_ |
|
private |
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/textord/ccnontextdetect.h
- /home/stephane/src/tesseract/src/textord/ccnontextdetect.cpp