|
| | ColumnFinder (int gridsize, const ICOORD &bleft, const ICOORD &tright, int resolution, bool cjk_script, double aligned_gap_fraction, TabVector_LIST *vlines, TabVector_LIST *hlines, int vertical_x, int vertical_y) |
| |
| virtual | ~ColumnFinder () |
| |
| const DENORM * | denorm () const |
| |
| const TextlineProjection * | projection () const |
| |
| void | set_cjk_script (bool is_cjk) |
| |
| void | SetupAndFilterNoise (PageSegMode pageseg_mode, Pix *photo_mask_pix, TO_BLOCK *input_block) |
| |
| bool | IsVerticallyAlignedText (double find_vertical_text_ratio, TO_BLOCK *block, BLOBNBOX_CLIST *osd_blobs) |
| |
| void | CorrectOrientation (TO_BLOCK *block, bool vertical_text_lines, int recognition_rotation) |
| |
| int | FindBlocks (PageSegMode pageseg_mode, Pix *scaled_color, int scaled_factor, TO_BLOCK *block, Pix *photo_mask_pix, Pix *thresholds_pix, Pix *grey_pix, DebugPixa *pixa_debug, BLOCK_LIST *blocks, BLOBNBOX_LIST *diacritic_blobs, TO_BLOCK_LIST *to_blocks) |
| |
| void | GetDeskewVectors (FCOORD *deskew, FCOORD *reskew) |
| |
| void | SetEquationDetect (EquationDetectBase *detect) |
| |
| | 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 |
| |
| | 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) |
| |
| | 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 |
| |
|
| void | DisplayBlocks (BLOCK_LIST *blocks) |
| |
| void | DisplayColumnBounds (PartSetVector *sets) |
| |
| bool | MakeColumns (bool single_column) |
| |
| void | ImproveColumnCandidates (PartSetVector *src_sets, PartSetVector *column_sets) |
| |
| void | PrintColumnCandidates (const char *title) |
| |
| bool | AssignColumns (const PartSetVector &part_sets) |
| |
| bool | BiggestUnassignedRange (int set_count, const bool *any_columns_possible, int *start, int *end) |
| |
| int | RangeModalColumnSet (int **column_set_costs, const int *assigned_costs, int start, int end) |
| |
| void | ShrinkRangeToLongestRun (int **column_set_costs, const int *assigned_costs, const bool *any_columns_possible, int column_set_id, int *best_start, int *best_end) |
| |
| void | ExtendRangePastSmallGaps (int **column_set_costs, const int *assigned_costs, const bool *any_columns_possible, int column_set_id, int step, int end, int *start) |
| |
| void | AssignColumnToRange (int column_set_id, int start, int end, int **column_set_costs, int *assigned_costs) |
| |
| void | ComputeMeanColumnGap (bool any_multi_column) |
| |
| void | ReleaseBlobsAndCleanupUnused (TO_BLOCK *block) |
| |
| void | GridSplitPartitions () |
| |
| void | GridMergePartitions () |
| |
| void | InsertRemainingNoise (TO_BLOCK *block) |
| |
| void | GridRemoveUnderlinePartitions () |
| |
| void | GridInsertHLinePartitions () |
| |
| void | GridInsertVLinePartitions () |
| |
| void | SetPartitionTypes () |
| |
| void | SmoothPartnerRuns () |
| |
| void | AddToTempPartList (ColPartition *part, ColPartition_CLIST *temp_list) |
| |
| void | EmptyTempPartList (ColPartition_CLIST *temp_list, WorkingPartSet_LIST *work_set) |
| |
| void | TransformToBlocks (BLOCK_LIST *blocks, TO_BLOCK_LIST *to_blocks) |
| |
| void | ReflectForRtl (TO_BLOCK *input_block, BLOBNBOX_LIST *bblobs) |
| |
| void | RotateAndReskewBlocks (bool input_is_rtl, TO_BLOCK_LIST *to_blocks) |
| |
| FCOORD | ComputeBlockAndClassifyRotation (BLOCK *block) |
| |
|
| static bool | DifferentSizes (int size1, int size2) |
| |
| static bool | VeryDifferentSizes (int size1, int size2) |
| |
| static bool | WithinTestRegion (int detail_level, int x, int y) |
| |
| TabVector_LIST * | vectors () |
| |
| TabVector_LIST * | dead_vectors () |
| |
| bool | FindTabVectors (TabVector_LIST *hlines, BLOBNBOX_LIST *image_blobs, TO_BLOCK *block, int min_gutter_width, double tabfind_aligned_gap_fraction, 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, double tabfind_aligned_gap_fraction, TO_BLOCK *block) |
| |
| void | ResetForVerticalText (const FCOORD &rotate, const FCOORD &rerotate, TabVector_LIST *horizontal_lines, int *min_gutter_width) |
| |
| void | Reset () |
| |
| void | ReflectInYAxis () |
| |
| static void | RotateBlobList (const FCOORD &rotation, BLOBNBOX_LIST *blobs) |
| |
| ICOORD | vertical_skew_ |
| |
| int | resolution_ |
| |
| BLOBNBOX_CLIST * | grid_ |
| |
| int | gridsize_ |
| |
| int | gridwidth_ |
| |
| int | gridheight_ |
| |
| int | gridbuckets_ |
| |
| ICOORD | bleft_ |
| |
| ICOORD | tright_ |
| |