/external/tesseract/ccstruct/ |
D | pageres.cpp | 66 x_height = -1.0; in BLOCK_RES() 107 word_res->x_height = the_row->x_height(); in ROW_RES() 120 combo->x_height = the_row->x_height(); in ROW_RES() 180 x_height = source.x_height; in operator =()
|
D | werd.cpp | 443 baseline_normalise_x (row, row->x_height (), denorm); in baseline_normalise() 460 float x_height, //non standard value in baseline_normalise_x() argument 484 bln_x_height / x_height, row); in baseline_normalise_x() 564 mean_x = x_height; in baseline_normalise_x() 572 if (blob_box.height () > bln_blshift_xfraction * x_height) { in baseline_normalise_x() 577 top_offset = blob_offset + blob_box.height () - x_height - 1; in baseline_normalise_x() 578 blob_x_height = top_offset + x_height; in baseline_normalise_x() 583 if (blob_offset < bln_blshift_maxshift * x_height) { in baseline_normalise_x() 586 if (top_offset < bln_blshift_maxshift * x_height) { in baseline_normalise_x() 597 if (top_offset < bln_blshift_maxshift * x_height) { in baseline_normalise_x()
|
D | pageres.h | 77 float x_height; variable 166 float x_height; //Post match estimate variable 211 x_height = 0.0; in WERD_RES()
|
D | ocrrow.h | 39 float x_height, 58 float x_height() const { //return x height in x_height() function
|
D | ocrrow.cpp | 35 float x_height, //line height in ELISTIZE_S() 44 xheight = x_height; in ELISTIZE_S()
|
D | ocrblock.h | 88 inT32 x_height() const { //return xheight in ELISTIZEH_S()
|
D | werd.h | 189 ROW * row, float x_height, //Weird value to use
|
D | polyblob.cpp | 251 *denorm = DENORM (x_centre, bln_x_height / row->x_height (), row); in baseline_normalise()
|
/external/tesseract/textord/ |
D | tordmain.cpp | 632 && textord_test_y < row->base_line (textord_test_x) + row->x_height ()) in clean_noise_from_row() 657 if (blob_size < textord_noise_sizelimit * row->x_height ()) in clean_noise_from_row() 661 (1 + textord_noise_syfract) * row->x_height () in clean_noise_from_row() 663 (1 - textord_noise_syfract) * row->x_height () in clean_noise_from_row() 665 (1 + textord_noise_sxfract) * row->x_height () in clean_noise_from_row() 667 (1 - textord_noise_sxfract) * row->x_height ()) in clean_noise_from_row() 677 if (blob_size >= textord_noise_sizelimit * row->x_height () in clean_noise_from_row() 678 && blob_size < row->x_height () * 2) { in clean_noise_from_row() 684 else if (blob_box.height () > row->x_height () * 2 in clean_noise_from_row() 768 if (blob_size < textord_noise_sizelimit * row->x_height ()) in clean_noise_from_words() [all …]
|
/external/tesseract/ccmain/ |
D | applybox.cpp | 633 baseline + (1 + applybox_error_band) * row->x_height ())) { in resegment_box() 642 baseline + (1 - applybox_error_band) * row->x_height ())) { in resegment_box() 651 baseline + (1 + applybox_error_band) * row->x_height ()) || in resegment_box() 653 baseline + (1 - applybox_error_band) * row->x_height ()))) { in resegment_box() 663 baseline - applybox_error_band * row->x_height ()) || in resegment_box() 665 baseline + applybox_error_band * row->x_height ()))) { in resegment_box() 674 baseline + applybox_error_band * row->x_height ())) { in resegment_box() 683 baseline - applybox_error_band * row->x_height ())) { in resegment_box() 940 bln_word = make_bln_copy(word, row, NULL, row->x_height (), &denorm); in apply_box_training() 1011 bln_word = make_bln_copy(word, row, NULL, row->x_height (), &denorm); in apply_box_testing()
|
D | control.h | 145 float x_height); 163 float x_height, DENORM *denorm);
|
D | werdit.cpp | 109 result = word->poly_copy (row->x_height ()); in forward() 165 poly_word = word->poly_copy (row->x_height ()); in make_pseudo_word()
|
D | control.cpp | 636 bln_word = make_bln_copy(word->word, row, block, word->x_height, in classify_word_pass1() 776 if (word->x_height == 0.0f) in classify_word_pass2() 777 word->x_height = row->x_height(); in classify_word_pass2() 783 match_word_pass2 (word, row, block, word->x_height); in classify_word_pass2() 807 new_x_ht_word.x_height = new_x_ht; in classify_word_pass2() 809 match_word_pass2(&new_x_ht_word, row, block, new_x_ht_word.x_height); in classify_word_pass2() 952 float x_height) { in match_word_pass2() argument 969 bln_word = make_bln_copy (word->word, row, block, x_height, &word->denorm); in match_word_pass2() 1321 float x_height, DENORM *denorm) { in make_bln_copy() argument 1322 WERD *result = src_word->poly_copy(row->x_height()); in make_bln_copy() [all …]
|
D | tfacepp.cpp | 75 outword = word->poly_copy (denorm->row ()->x_height ()); in recog_word() 168 outword = word->poly_copy (denorm->row ()->x_height ()); in recog_word_recursive() 265 first_word = word->poly_copy (denorm->row ()->x_height ()); in split_and_recog_word()
|
D | fixxht.cpp | 438 word_res->x_height = bln_x_height / word_res->denorm.scale (); in re_estimate_x_ht() 469 word_res->x_height = est_x_ht / word_res->denorm.scale (); in re_estimate_x_ht() 519 if (word_res->x_height > 0) in check_block_occ() 520 x_ht = word_res->x_height * word_res->denorm.scale (); in check_block_occ()
|
D | fixspace.cpp | 443 combo->x_height = prev_word->x_height; in transform_to_next_perm() 588 normalised_max_nonspace = max_non_space * bln_x_height / row->x_height (); in uniformly_spaced()
|
D | output.cpp | 574 min_chars = (inT16) ceil (0.27 * width / denorm->row ()->x_height ()); in make_reject() 575 max_chars = (inT16) floor (1.8 * width / denorm->row ()->x_height ()); in make_reject() 671 …ptsize = pixels_to_pts ((inT32) (row->row->x_height () + row->row->ascenders () - row->row->descen… in write_shm_text()
|
D | pgedit.cpp | 1513 bln_word = word->poly_copy(row->x_height()); in word_bln_display() 1669 word_ptr = word->poly_copy(row->x_height()); in word_display() 1697 word_ptr = word->poly_copy(row->x_height()); in word_display()
|
D | tesseractclass.h | 143 float x_height);
|
D | reject.cpp | 1065 net_image_size * word->x_height / in nn_match_word()
|
/external/tesseract/wordrec/ |
D | associate.h | 72 int x_height; member
|
D | heuristic.cpp | 297 (tess_denorm->row()->x_height() + tess_denorm->row()->ascenders()); in width_priority() 300 tess_denorm->row()->x_height(), tess_denorm->row()->ascenders(), in width_priority()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 879 SkScalar x_height; in generateFontMetrics() local 881 x_height = SkFixedToScalar(SkMulDiv(fScaleX, os2->sxHeight, upem)); in generateFontMetrics() 888 x_height = SkIntToScalar(bbox.yMax) / 64; in generateFontMetrics() 890 x_height = 0; in generateFontMetrics() 911 mx->fXHeight = x_height; in generateFontMetrics() 922 my->fXHeight = x_height; in generateFontMetrics()
|
/external/tesseract/api/ |
D | baseapi.cpp | 642 word_res->x_height, &word_res->denorm); in RecognizeForChopTest()
|