Searched refs:ydiff (Results 1 – 2 of 2) sorted by relevance
/external/tesseract/textord/ |
D | tordmain.cpp | 884 float ydiff; //baseline error in tweak_row_baseline() local 917 ydiff = blob_box.bottom () - row->base_line (x_centre); in tweak_row_baseline() 918 if (ydiff < 0) in tweak_row_baseline() 919 ydiff = -ydiff / row->x_height (); in tweak_row_baseline() 921 ydiff = ydiff / row->x_height (); in tweak_row_baseline() 922 if (ydiff < textord_blshift_maxshift in tweak_row_baseline()
|
/external/tesseract/liblept/ |
D | jbclass.c | 1516 l_int32 n, nt, i, j, d, minw, maxw, minh, maxh, xdiff, ydiff; in jbAccumulateComposites() local 1574 ydiff = (l_int32)(y - yave); in jbAccumulateComposites() 1576 pixRasterop(pixt1, xdiff, ydiff, maxw, maxh, PIX_SRC, in jbAccumulateComposites()
|