Home
last modified time | relevance | path

Searched refs:max_gutter (Results 1 – 3 of 3) sorted by relevance

/dports/graphics/tesseract/tesseract-5.0.0/src/textord/
H A Dtabvector.cpp604 int max_gutter = kGutterMultiple * mean_height; in Evaluate() local
608 max_gutter = kGutterToNeighbourRatio * mean_height; in Evaluate()
611 STATS gutters(0, max_gutter + 1); in Evaluate()
637 finder->GutterWidthAndNeighbourGap(tab_x, mean_height, max_gutter, left, bbox, &gutter_width, in Evaluate()
699 int max_gutter = kGutterMultiple * mean_height; in Evaluate() local
703 max_gutter = kGutterToNeighbourRatio * mean_height; in Evaluate()
707 finder->GutterWidthAndNeighbourGap(tab_x, mean_height, max_gutter, left, bbox, &gutter_width, in Evaluate()
H A Dtabfind.cpp206 void TabFind::GutterWidthAndNeighbourGap(int tab_x, int mean_height, int max_gutter, bool left, in GutterWidthAndNeighbourGap() argument
214 *gutter_width = max_gutter; in GutterWidthAndNeighbourGap()
231 if (*gutter_width >= max_gutter) { in GutterWidthAndNeighbourGap()
235 gutter_box.set_left(tab_x - max_gutter - 1); in GutterWidthAndNeighbourGap()
236 gutter_box.set_right(tab_x - max_gutter); in GutterWidthAndNeighbourGap()
242 gutter_box.set_left(tab_x + max_gutter); in GutterWidthAndNeighbourGap()
243 gutter_box.set_right(tab_x + max_gutter + 1); in GutterWidthAndNeighbourGap()
250 if (*gutter_width > max_gutter) { in GutterWidthAndNeighbourGap()
251 *gutter_width = max_gutter; in GutterWidthAndNeighbourGap()
H A Dtabfind.h96 void GutterWidthAndNeighbourGap(int tab_x, int mean_height, int max_gutter, bool left,