/external/tesseract/ccmain/ |
D | matmatch.cpp | 68 if (image1->get_xsize () >= image2->get_xsize ()) in matrix_match() 80 inT32 x_size = image_w->get_xsize (); in match1() 82 inT32 x_size2 = image_n->get_xsize (); in match1() 92 x_offset = (image_w->get_xsize () - image_n->get_xsize ()) / 2; in match1() 295 10 * image_w->get_xsize (), 10 * image_w->get_ysize (), in display_images() 296 image_w->get_xsize (), image_w->get_ysize ()); in display_images() 300 image_w->get_xsize (), image_w->get_ysize (), in display_images() 304 for (i = 1; i < image_w->get_xsize (); i++) { in display_images() 308 w_im_window->Line(0, i, image_w->get_xsize (), i); in display_images() 312 10 * image_n->get_xsize (), 10 * image_n->get_ysize (), in display_images() [all …]
|
D | charcut.cpp | 374 clip_image_xsize = clip_image.get_xsize (); in char_clip_image() 482 ICOORD (bin_image.get_xsize (), in char_clip_word() 498 bad_box (bin_image.get_xsize (), bin_image.get_ysize ())); in char_clip_word() 512 bad_box (bin_image.get_xsize (), bin_image.get_ysize ())); in char_clip_word() 516 bad_box (bin_image.get_xsize (), bin_image.get_ysize ())); in char_clip_word() 537 bad_box (bin_image.get_xsize (), in char_clip_word() 593 ICOORD (bin_image.get_xsize (), in display_clip_image() 638 editor_word_ypos - 100, 5 * clip_image.get_xsize (), in display_images() 639 5 * clip_image.get_ysize (), clip_image.get_xsize (), in display_images() 644 clip_image.get_xsize (), clip_image.get_ysize (), in display_images() [all …]
|
D | scaleimg.cpp | 52 xsize = image.get_xsize (); in scale_image() 54 new_xsize = target_image.get_xsize (); in scale_image() 349 xsize = image.get_xsize (); in scale_image_cop_out() 351 new_xsize = target_image.get_xsize (); in scale_image_cop_out()
|
D | charsample.cpp | 205 inT32 sample_xsize = sample->image ()->get_xsize (); in add_sample_to_prototype() 237 if (sample->image ()->get_xsize () > proto_xsize) in build_prototype() 238 proto_xsize = sample->image ()->get_xsize (); in build_prototype() 400 xsize = sample->image ()->get_xsize (); in CHAR_PROTO() 644 inT32 sample_xsize = sample->image ()->get_xsize (); in add_sample()
|
D | thresholder.cpp | 155 COMPUTE_IMAGE_XDIM(temp_image.get_xsize(), in ThresholdToIMAGE() 218 COMPUTE_IMAGE_XDIM(temp_image.get_xsize(), in ThresholdToPix()
|
D | osdetect.cpp | 80 if (!read_unlv_file(name, page_image.get_xsize(), page_image.get_ysize(), in orientation_and_script_detection() 82 FullPageBlock(page_image.get_xsize(), page_image.get_ysize(), &blocks); in orientation_and_script_detection()
|
D | pgedit.cpp | 514 page_image.get_xsize(), page_image.get_ysize(), in do_re_display() 757 if (!read_unlv_file(name, page_image.get_xsize(), page_image.get_ysize(), in pgeditor_read_file() 759 FullPageBlock(page_image.get_xsize(), page_image.get_ysize(), blocks); in pgeditor_read_file()
|
D | reject.cpp | 608 page_image.get_xsize () - 1) || in reject_edge_blobs() 619 page_image.get_xsize () - 1) || in reject_edge_blobs() 1086 bad_box (page_image.get_xsize (), page_image.get_ysize ())) in nn_match_word()
|
D | adaptions.cpp | 990 ASSERT_HOST (b_box.width () < page_image.get_xsize () && in clip_sample()
|
/external/tesseract/api/ |
D | baseapi.cpp | 548 line.init(page_image.get_xsize()); in DumpPGM() 551 page_image.get_xsize(), page_image.get_ysize()); in DumpPGM() 553 page_image.get_line(0, j, page_image.get_xsize(), &line, 0); in DumpPGM() 554 for (int i = 0; i < page_image.get_xsize(); ++i) { in DumpPGM() 738 blob_box.right() > page_image.get_xsize() || in ConvertWordToBoxText() 1098 ASSERT_HOST(page_image.get_xsize() == rect_width_ || in FindLines() 1099 page_image.get_xsize() == rect_width_ - 1); in FindLines() 1227 page_image.get_xsize(), in make_tesseract_blob() 1236 ICOORD(page_image.get_xsize(), page_image.get_ysize()), in make_tesseract_blob() 1504 page_image.get_xsize(), // Right. in GetFeatures() [all …]
|
D | tesseractmain.cpp | 111 int bytes_per_line = check_legal_image_size(image->get_xsize(), in TesseractImage() 114 api->SetImage(image->get_buffer(), image->get_xsize(), image->get_ysize(), in TesseractImage() 136 if (!read_unlv_file(filename, image->get_xsize(), image->get_ysize(), in TesseractImage()
|
/external/tesseract/image/ |
D | imgs.cpp | 809 xsize = image->get_xsize (); /*find sizes */ in invert_image() 850 xext = source->get_xsize (); //default to all in bias_sub_image() 851 if (xext > source->get_xsize () - xstart) in bias_sub_image() 853 xext = source->get_xsize () - xstart; in bias_sub_image() 908 xext = source->get_xsize (); //default to all in starbase_to_normal() 909 if (xext > source->get_xsize () - xstart) in starbase_to_normal() 911 xext = source->get_xsize () - xstart; in starbase_to_normal() 912 if (xext > dest->get_xsize () - xdest) in starbase_to_normal() 913 xext = dest->get_xsize () - xdest; in starbase_to_normal() 1508 int width = this->get_xsize(); in ToPix()
|
D | svshowim.cpp | 29 xext != source->get_xsize() || yext != source->get_ysize()) { in sv_show_sub_image()
|
D | img.h | 81 inT32 get_xsize() { in get_xsize() function
|
/external/tesseract/dlltest/ |
D | dlltest.cpp | 93 api.BeginPageUpright(image.get_xsize(), image.get_ysize(), image.get_buffer(),
|
/external/tesseract/textord/ |
D | scanedg.cpp | 60 CRACKEDGE **ptrline = new CRACKEDGE*[t_image->get_xsize()+1]; in block_edges() 67 bwline.init (t_image->get_xsize()); in block_edges()
|
D | pagesegmain.cpp | 63 int width = image->get_xsize(); in SegmentPage()
|
D | tordmain.cpp | 128 int width = page_image.get_xsize(); in find_components()
|