|
Tesseract
3.02
|
#include <colfind.h>
Public Member Functions | |
| ColumnFinder (int gridsize, const ICOORD &bleft, const ICOORD &tright, int resolution, TabVector_LIST *vlines, TabVector_LIST *hlines, int vertical_x, int vertical_y) | |
| virtual | ~ColumnFinder () |
| const DENORM * | denorm () const |
| const TextlineProjection * | projection () const |
| void | SetupAndFilterNoise (Pix *photo_mask_pix, TO_BLOCK *input_block) |
| bool | IsVerticallyAlignedText (TO_BLOCK *block, BLOBNBOX_CLIST *osd_blobs) |
| void | CorrectOrientation (TO_BLOCK *block, bool vertical_text_lines, int recognition_rotation) |
| int | FindBlocks (bool single_column, Pix *scaled_color, int scaled_factor, TO_BLOCK *block, Pix *photo_mask_pix, BLOCK_LIST *blocks, TO_BLOCK_LIST *to_blocks) |
| void | GetDeskewVectors (FCOORD *deskew, FCOORD *reskew) |
| void | SetEquationDetect (EquationDetectBase *detect) |
Public Member Functions inherited from tesseract::TabFind | |
| TabFind (int gridsize, const ICOORD &bleft, const ICOORD &tright, TabVector_LIST *vlines, int vertical_x, int vertical_y, int resolution) | |
| virtual | ~TabFind () |
| void | InsertBlobsToGrid (bool h_spread, bool v_spread, BLOBNBOX_LIST *blobs, BBGrid< BLOBNBOX, BLOBNBOX_CLIST, BLOBNBOX_C_IT > *grid) |
| bool | InsertBlob (bool h_spread, bool v_spread, BLOBNBOX *blob, BBGrid< BLOBNBOX, BLOBNBOX_CLIST, BLOBNBOX_C_IT > *grid) |
| void | SetBlockRuleEdges (TO_BLOCK *block) |
| void | SetBlobRuleEdges (BLOBNBOX_LIST *blobs) |
| int | GutterWidth (int bottom_y, int top_y, const TabVector &v, bool ignore_unmergeables, int max_gutter_width, int *required_shift) |
| void | GutterWidthAndNeighbourGap (int tab_x, int mean_height, int max_gutter, bool left, BLOBNBOX *bbox, int *gutter_width, int *neighbour_gap) |
| int | RightEdgeForBox (const TBOX &box, bool crossing, bool extended) |
| int | LeftEdgeForBox (const TBOX &box, bool crossing, bool extended) |
| TabVector * | RightTabForBox (const TBOX &box, bool crossing, bool extended) |
| TabVector * | LeftTabForBox (const TBOX &box, bool crossing, bool extended) |
| bool | CommonWidth (int width) |
| WidthCallback * | WidthCB () |
| const ICOORD & | image_origin () const |
Public Member Functions inherited from tesseract::AlignedBlob | |
| AlignedBlob (int gridsize, const ICOORD &bleft, const ICOORD &tright) | |
| virtual | ~AlignedBlob () |
| ScrollView * | DisplayTabs (const char *window_name, ScrollView *tab_win) |
| TabVector * | FindVerticalAlignment (AlignedBlobParams align_params, BLOBNBOX *bbox, int *vertical_x, int *vertical_y) |
Public Member Functions inherited from tesseract::BlobGrid | |
| BlobGrid (int gridsize, const ICOORD &bleft, const ICOORD &tright) | |
| virtual | ~BlobGrid () |
| void | InsertBlobList (BLOBNBOX_LIST *blobs) |
Public Member Functions inherited from tesseract::BBGrid< BLOBNBOX, BLOBNBOX_CLIST, BLOBNBOX_C_IT > | |
| 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) |
Public Member Functions inherited from tesseract::GridBase | |
| GridBase () | |
| GridBase (int gridsize, const ICOORD &bleft, const ICOORD &tright) | |
| virtual | ~GridBase () |
| 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 | |
Static Public Member Functions inherited from tesseract::TabFind | |
| static bool | DifferentSizes (int size1, int size2) |
| static bool | VeryDifferentSizes (int size1, int size2) |
Static Public Member Functions inherited from tesseract::AlignedBlob | |
| static bool | WithinTestRegion (int detail_level, int x, int y) |
| static void | IncrementDebugPix () |
| static const STRING & | textord_debug_pix () |
Protected Member Functions inherited from tesseract::TabFind | |
| TabVector_LIST * | vectors () |
| TabVector_LIST * | dead_vectors () |
| bool | FindTabVectors (TabVector_LIST *hlines, BLOBNBOX_LIST *image_blobs, TO_BLOCK *block, int min_gutter_width, ColPartitionGrid *part_grid, FCOORD *deskew, FCOORD *reskew) |
| void | DontFindTabVectors (BLOBNBOX_LIST *image_blobs, TO_BLOCK *block, FCOORD *deskew, FCOORD *reskew) |
| void | TidyBlobs (TO_BLOCK *block) |
| void | SetupTabSearch (int x, int y, int *min_key, int *max_key) |
| ScrollView * | DisplayTabVectors (ScrollView *tab_win) |
| ScrollView * | FindInitialTabVectors (BLOBNBOX_LIST *image_blobs, int min_gutter_width, TO_BLOCK *block) |
| void | ResetForVerticalText (const FCOORD &rotate, const FCOORD &rerotate, TabVector_LIST *horizontal_lines, int *min_gutter_width) |
| void | Reset () |
| void | ReflectInYAxis () |
Static Protected Member Functions inherited from tesseract::TabFind | |
| static void | RotateBlobList (const FCOORD &rotation, BLOBNBOX_LIST *blobs) |
Protected Attributes inherited from tesseract::TabFind | |
| ICOORD | vertical_skew_ |
| int | resolution_ |
| tesseract::ColumnFinder::ColumnFinder | ( | int | gridsize, |
| const ICOORD & | bleft, | ||
| const ICOORD & | tright, | ||
| int | resolution, | ||
| TabVector_LIST * | vlines, | ||
| TabVector_LIST * | hlines, | ||
| int | vertical_x, | ||
| int | vertical_y | ||
| ) |
Definition at line 84 of file colfind.cpp.
|
virtual |
Definition at line 102 of file colfind.cpp.
| void tesseract::ColumnFinder::CorrectOrientation | ( | TO_BLOCK * | block, |
| bool | vertical_text_lines, | ||
| int | recognition_rotation | ||
| ) |
Definition at line 205 of file colfind.cpp.
|
inline |
| int tesseract::ColumnFinder::FindBlocks | ( | bool | single_column, |
| Pix * | scaled_color, | ||
| int | scaled_factor, | ||
| TO_BLOCK * | block, | ||
| Pix * | photo_mask_pix, | ||
| BLOCK_LIST * | blocks, | ||
| TO_BLOCK_LIST * | to_blocks | ||
| ) |
Definition at line 284 of file colfind.cpp.
Definition at line 475 of file colfind.cpp.
| bool tesseract::ColumnFinder::IsVerticallyAlignedText | ( | TO_BLOCK * | block, |
| BLOBNBOX_CLIST * | osd_blobs | ||
| ) |
Definition at line 189 of file colfind.cpp.
|
inline |
| void tesseract::ColumnFinder::SetEquationDetect | ( | EquationDetectBase * | detect | ) |
Definition at line 481 of file colfind.cpp.
| void tesseract::ColumnFinder::SetupAndFilterNoise | ( | Pix * | photo_mask_pix, |
| TO_BLOCK * | input_block | ||
| ) |
Definition at line 150 of file colfind.cpp.